Deploy Fathom Lite
An open-source website analytics tool.
fathom-lite
Just deployed
Deploy and Host Fathom Lite on Railway
Fathom Lite is an open-source, privacy-focused website analytics tool built with Go and Preact. It tracks page views, referrers, bounce rates, and average session duration — without collecting any personally identifiable information (PII) or setting tracking cookies.
About Hosting Fathom Lite
Fathom Lite is a single Go binary served via Docker. By default it uses a SQLite database stored in the working directory, making it a zero-dependency deployment — no external database required. This Railway template deploys the official Docker image with SQLite, giving you a lightweight analytics dashboard reachable on a Railway-provided HTTPS domain immediately after deployment. On first launch, add a user account via the Railway shell, then create a site in the dashboard and paste the provided tracking snippet into your website.
Common Use Cases
- Privacy-respecting analytics — track page views, top pages, referrers, and bounce rates for your website without collecting user data or requiring a cookie consent banner
- Google Analytics replacement — self-host a simple, fast analytics dashboard for personal sites, blogs, or small projects without relying on commercial analytics services
- Multi-site tracking — monitor multiple websites from a single Fathom Lite instance by adding additional sites in the dashboard
Dependencies for Fathom Lite Hosting
- Fathom Lite Docker image (
usefathom/fathom:latest) - SQLite — bundled, no external database required for this template
Deployment Dependencies
Implementation Details
Why Deploy Fathom Lite 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 Fathom Lite 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.
Template Content
fathom-lite
usefathom/fathom