Deploy Kauntah
Deploy and Host Kauntah with Railway
Kauntah
Just deployed
/data
Deploy and Host Kauntah on Railway
Kauntah is a lightweight hit counter inspired by shimobayashi/kauntah, rewritten in TypeScript/Node.js. Embed a single <img> tag on any page to start counting visits. Counters are automatically separated per domain using the HTTP Referer header.
About Hosting Kauntah
Hosting Kauntah on Railway involves deploying a Node.js/Express server backed by a SQLite database persisted on a Railway Volume. The server processes incoming image requests, increments per-domain counters, and returns a PNG image composed of nekomimi digit assets. Rate limiting is applied per IP and per owner domain to prevent abuse. After deployment, you will need to manually add a Volume and set the DATABASE_URL environment variable to persist counter data across redeploys.
Common Use Cases
- Embedding a retro-style hit counter on a personal website or blog
- Tracking page visits across multiple domains from a single hosted instance
- Running a shared hit counter service for friends or small communities
Dependencies for Kauntah Hosting
- Node.js 18+
- SQLite (via Prisma ORM)
Deployment Dependencies
Implementation Details
After deploying, add a Volume with mount path /data and set:
DATABASE_URL=file:/data/kauntah.db
Then embed the counter on any page:
<img src="https://your-domain/counter">
Why Deploy Kauntah 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 Kauntah 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
Kauntah
fjt-dev/Kauntah