Repolode
explodingcamera

explodingcamera/liwan

Self-hosted, privacy-first web analytics written in Rust, shipped as a single binary or Docker container.

Open-source alternative to:Google Analytics

Stars
221
Forks
16
Open issues
8
Last commit
3 days ago

What is it?

Liwan is a web analytics tool that you host yourself. It shows visitor traffic such as top pages, referral sources and changes over time, with a real-time dashboard and bot filtering on by default. The dashboard and database are built in, so there are no extra services to run.

The project focuses on privacy. It sets no tracking cookies, does not track across sites, and does not record raw IP addresses. Administrators choose which data to collect and how long to keep it, and can adjust location detail or turn off campaign attribution and session metrics.

Data can be collected with a small browser script added through one line of HTML, or by sending events from your server. Teams can sign in through Google Workspace, Microsoft Entra, or any OpenID Connect provider such as Keycloak or Dex.

Key features

  • 01Shows top pages, traffic sources and trends with a real-time dashboard.
  • 02Filters bot traffic by default.
  • 03Runs as a single binary or Docker container with no extra services.
  • 04Uses no tracking cookies and does not record raw IP addresses.
  • 05Lets you configure which data is collected and how long it is kept.
  • 06Supports browser script tracking and server-side event submission.
  • 07Supports single sign-on via Google Workspace, Microsoft Entra, and OpenID Connect.

Use cases

  • Adding privacy-friendly analytics to a personal blog or small website without cookie banners.
  • Running an internal analytics dashboard for a team on your own infrastructure.
  • Tracking events from a backend service when browser scripts cannot be used.

Quick start

  1. 1

    Read the getting started guide at liwan.dev

  2. 2

    Install Liwan as a single binary or Docker container, following the install docs

In collections

Topics

FAQ

What is liwan?
Self-hosted, privacy-first web analytics written in Rust, shipped as a single binary or Docker container. Liwan is a web analytics tool that you host yourself. It shows visitor traffic such as top pages, referral sources and changes over time, with a real-time dashboard and bot filtering on by default. The dashboard and database are built in, so there are no extra services to run.
Is liwan free to use? What license does it have?
liwan is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is liwan still maintained?
Actively maintained. The last commit to liwan was on Nov 4, 2026.
What can I use liwan for?
Adding privacy-friendly analytics to a personal blog or small website without cookie banners. Running an internal analytics dashboard for a team on your own infrastructure. Tracking events from a backend service when browser scripts cannot be used.
How do I install liwan?
Read the getting started guide at liwan.dev Install Liwan as a single binary or Docker container, following the install docs
Where can I get liwan?
The source code and installation instructions are on GitHub: https://github.com/explodingcamera/liwan

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects