Liwan
A lightweight, privacy-first web analytics platform written in Rust. No cookies, no database, under 1KB tracking script.
Open source alternative to:



Liwan is a self-hosted web analytics tool designed for privacy-conscious website owners. Written in Rust, it runs as a single binary with no database or complex setup required. The entire tracking script is a single line of code under 1KB that works with any website.
Liwan collects no cookies, performs no cross-site tracking, and uses no persistent identifiers. All data stays on your server. Despite its privacy-first approach, it provides accurate real-time analytics including visitor counts, page views, referrers, and automatic bot detection and filtering.
Liwan is extremely resource-efficient — it can run on a cheap VPS, an old Mac Mini, or even a Raspberry Pi. It uses tokio for async I/O, making it fast and lightweight. The dashboard updates in real-time as new visitors arrive.
Frequently Asked Questions
Does Liwan use cookies or require a cookie banner?
No. Liwan does not use cookies, does not perform cross-site tracking, and does not create persistent identifiers. Because of this, you do not need a cookie banner or consent dialog for Liwan tracking under GDPR or ePrivacy directives.
What are the system requirements to self-host Liwan?
Liwan ships as a single self-contained binary with no database required. It can run on a cheap VPS, a Raspberry Pi, or any low-resource machine. A Docker image is also available via GitHub Container Registry.
How do I add Liwan tracking to my website?
Add a single line of JavaScript to your site pointing to your Liwan instance. The tracking script is under 1KB in size and works with any website framework or static site generator.
Does Liwan filter bots and crawlers?
Yes. Liwan automatically detects and filters out bots and crawlers so your analytics data reflects real human visitors only.
Can I see real-time traffic in Liwan?
Yes. The Liwan dashboard updates in real-time as new visitors arrive, showing live page views, referrers, and visitor data without needing to refresh.
OpenAltFinder Score
Project Details
Repository details
Updated 10/11/2026, 5:00:15 PM
View RepositoryRepository activity
Compare Liwan with
Similar open source alternatives

Plausible
Simple, open source, lightweight and privacy-friendly web analytics alternative to Google Analytics.
Mixpanel
Prisme Analytics
High-perfomance, self-hosted and privacy-focused web analytics service.
Google Analytics
GoatCounter
Easy web analytics. No tracking of personal data.
Google Analytics
Matomo
Open-source web analytics platform with SEO keyword and search performance reporting.
Google Search Console
Databuddy
Databuddy is a privacy-first analytics platform with a focus on user experience, with it's foundation built on privacy, it ensures complete compliance with most major data privacy laws out of the box
Mixpanel
Rybbit
Privacy-friendly, open-source web analytics platform that is a simpler alternative to Google Analytics.
Google Analytics

