# Liwan

Liwan is a self-hosted, privacy-first web analytics tool.

Canonical page: https://ourlocalhost.com/app/8131/liwan

## Description

Liwan is a self-hosted, privacy-first web analytics tool. It shows real-time data on your most-visited pages, traffic sources, and changes over time, with built-in bot filtering to keep automated traffic out of reports. It runs as a single binary or Docker container with no additional services or databases required, uses no tracking cookies or cross-site tracking, and keeps all analytics data — including raw IP addresses — off third parties. It suits anyone who wants Google Analytics-style insights without sending visitor data elsewhere.

## Platform availability

Available on 3 of 10 platforms: Mac, Linux, Any server.

## Desktop and other devices

Mac, Linux.

## Health score

76/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 2 days ago)
- Popular: 47 (235 GitHub stars)
- Easy to install: 45 (3 install platforms, install notes)
- Security check: 94 (no serious findings, 1 minor, CI, tests)

## Links

- desktop: https://github.com/explodingcamera/liwan/releases/latest
- Documentation: https://liwan.dev/install/binary/
- Official website: https://liwan.dev
- GitHub: https://github.com/explodingcamera/liwan

## Common questions

### Does Liwan require a separate database like PostgreSQL or MySQL?

No. Liwan ships as a single binary or Docker container with no additional services or databases required; the database is built in and runs inside the same program.

### Can I run Liwan behind a reverse proxy?

Yes. The official docs include a dedicated guide for setting up a reverse proxy.

### How do I authenticate and manage users in Liwan?

Liwan supports Single Sign-On with Google Workspace, Microsoft Entra ID, or any OpenID Connect provider such as Keycloak or Dex, with no extra cost for SSO features.

### Can I import my data from Matomo?

Yes. Users have migrated from Matomo by importing all their old data into Liwan, using it as a drop-in replacement.

### Where does Liwan store its data in Docker, and is there a data limit or paid edition?

Data is stored in the /data volume (e.g. docker run -v liwan-data:/data). Liwan is free and open source under Apache 2.0 with every feature included and no paid edition.

## Alternatives

- GoatCounter: GoatCounter is an open-source, privacy-friendly web analytics platform that tracks visits and page views without personal identifiers, givi…
- Google Analytics: Gain insights into website traffic with Advanced Segmentation, Custom Reporting, and data visualization.
- Matomo: Matomo is a free and open source web analytics platform that runs on your own PHP/MySQL web server, tracking your websites' traffic and del…
- Plausible Analytics: Plausible is a simple tool for tracking how many people visit your website.
- Rybbit: Open source, cookieless web & product analytics with an 11 KB script and one readable dashboard.
- umami: Umami is a simple, fast, privacy-focused, open-source web and product analytics platform.

---
Source: Our Local Host (https://ourlocalhost.com/app/8131/liwan), the self-hosted and open-source app directory.
