Transit TV is a standard Node.js app and can be deployed on any hosting provider that supports it. Below is an example using Railway for its simplicity, but services like Render, Fly.io, Heroku, or any VPS will work just as well.
- A Transit API key (paid plan recommended for 24/7 use)
- A Railway account (free to sign up)
- A GitHub account
-
Fork the repository. Go to the Transit-TV GitHub repo and click Fork to create a copy under your own GitHub account.
-
Log in to Railway and click New Project → Deploy from GitHub repo. If this is your first time, Railway will ask you to install the Railway GitHub app — follow the prompts to grant access to your forked repository.
-
Select your Transit-TV fork. Railway will auto-detect it as a Node.js project.
-
Add your API key. Go to your service's Variables tab and add:
API_KEY=your_transit_api_key_here -
Deploy. Railway will automatically run
pnpm i,pnpm build, andpnpm start. Wait for the build to complete. -
Generate a public URL. Go to Settings → Networking → Generate Domain. Set the port to 8080. This gives you a public
*.up.railway.appURL. -
Open the URL on your TV's browser and set your location. Click the settings icon and enter your coordinates as
latitude, longitude(e.g.45.5017, -73.5673). An easy way to get coordinates is to right-click a location in Google Maps — the latitude and longitude will appear at the top of the context menu.
That's it — your Transit TV is live and will stay running 24/7.