---
title: "Deploy Liwan"
description: "Lightweight Analytics | Posthog, Mixpanel, Google Analytics alternative"
category: "Analytics"
url: https://railway.com/deploy/liwan
---

# Deploy Liwan

Lightweight Analytics | Posthog, Mixpanel, Google Analytics alternative

**[Deploy Liwan on Railway](https://railway.com/template/liwan)**

- **Creator:** Ju Li's Projects
- **Category:** Analytics
- **Total deploys:** 1

## Template content

### explodingcamera/liwan

- **Image:** ghcr.io/explodingcamera/liwan
- **Public domain:** Yes

## Documentation

# Deploy and Host Liwan on Railway

[Liwan](https://liwan.dev/) is an open source web analytics platform that respects your users' privacy. A single binary you can run on your server, no cookies, no cross-site tracking, no persistent identifiers. 

## About Hosting Liwan

On first setup, check the deployment logs for the unique link to create the admin account

## Common Use Cases

- **Quick setup**\
  Quickly get started with Liwan with a single, self-contained binary . No database or complex setup required. The tracking script is a single line of code that works with any website and less than 1KB in size.
- **Privacy first**\
  Liwan respects your users’ privacy by default. No cookies, no cross-site tracking, no persistent identifiers. All data is stored on your server.
- **Lightweight**\
  You can run Liwan on a cheap VPS, your old mac mini, or even a Raspberry Pi. Written in Rust and using tokio for async I/O, Liwan is fast and efficient.
- **Open source**\
  Fully open source. You can change, extend, and contribute to the codebase.
- **Accurate data**\
  Get accurate data about your website’s visitors, page views, referrers, and more. Liwan detects bots and crawlers and filters them out by default.
- **Real-time analytics**\
  See your website’s traffic in real-time. Liwan updates the dashboard automatically as new visitors come in.

## Dependencies for Liwan Hosting

N/A

### Deployment Dependencies

[Documentation](https://liwan.dev/getting-started/)

[Github](https://github.com/explodingcamera/liwan)

### Implementation Details 

[Include any code snippets or implementation details. This section is optional. Exclude if nothing to add.]

## Why Deploy Liwan on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Liwan on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Betterlytics](https://railway.com/deploy/betterlytics) — Betterlytics is a cookieless analytics platform GDPR-compliant.
- [Finance Tracker](https://railway.com/deploy/finance-tracker-1) — Private multi-user household finance ledger with budgets and CSV import.
- [Matomo Analytics + MariaDB](https://railway.com/deploy/matomo-analytics-mariadb) — Privacy-friendly analytics with MariaDB and persistent volumes.

Open this page in a browser: https://railway.com/deploy/liwan
