Deploy Railway Template Kickback | Open Source Earnings Dashboard
Publish your Railway template earnings as a public page
Just deployed
Deploy and Host Railway Template Kickback on Railway
Railway pays template authors a share of what their deployments consume, but those earnings are visible only inside your own dashboard. This publishes them: a small web app that reads your template metrics through the Railway API and serves them as a public page.
About Hosting Railway Template Kickback
A single service built from a Git repository, with no database — every figure is fetched from the Railway API on request. It needs one thing from you: a Railway API token with access to the workspace whose templates you want to show.
Common Use Cases
- Publishing your numbers: A public page showing what your templates actually earn, for a blog post or a portfolio.
- Keeping an eye on the portfolio: Deployments and earnings across all your templates on one page, without clicking through the dashboard.
- Evidence for a write-up: A permanent, linkable page instead of screenshots that go stale.
Dependencies for Railway Template Kickback Hosting
Deployment Dependencies
- The railway-template-kickback source, built from Git
- A Railway API token for the workspace you want to report on
Implementation Details
RAILWAY_TOKEN is empty by default and the app does nothing until you set it. Create the token in your Railway account settings and add it as a service variable.
That token can read your account, not just template metrics. Anyone who obtains it gets API access to your workspace, so it belongs only in the service variable, never in the repository, and it is worth using a token scoped as narrowly as the API allows.
The page it serves is public by design — that is the point of the template — so publish the deployment URL deliberately, and remember that the earnings shown are real financial data about you.
RAILWAY_DOCKERFILE_PATH points the build at apps/web/Dockerfile, because the deployable app is not at the repository root.
There is no database and no volume: every request queries the Railway API, so the page is always current and the deployment is entirely disposable.
Why Deploy Railway Template Kickback 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 Railway Template Kickback 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.
Resources: a small stateless web service — under 100 MB at idle, a few dollars a month.
Template Content
RAILWAY_TOKEN
Railway Token to fetch template info
