Railway

Deploy T3 Code

T3 code hosted on railway with the web app open to the public

Deploy T3 Code

Just deployed

/data

Deploy and Host T3 Code on Railway

This template is a simple docker file allowing you to host a t3 code instance publicly on railway. It will allow you to run your agents remotely and connect using the connection string

https://github.com/tpkowastaken/railway-t3-code

About Hosting - Setup

  1. Add this template
  2. Once the application is deployed you will need to get the connection token. You will find that in deploy logs of the latest deployment. On migrations to a different location, you will need to redeploy and get the connection string again
  3. Open The public link from railway. You need to click on the instance, settings and there it should be
  4. Once you open the public url set by Railway, you will need to put this token there to access
  5. After that press ctrl + j or cmd + j do codex login --device-auth to login to the codex cli.

You are free to setup other developer tools, mcps and connectors as you wish.

Common Use Cases

  • Going to work and then closing your laptop
  • Using your phone to code

Dependencies for T3 Code Hosting

  • You will need to have a chatgpt/claude subscription

Why Deploy T3 Code 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 T3 Code 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.

Disclaimer

This is not affiliated with Theo and is very hobby-ish. You are welcomed to fork, expand and contribute.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
116
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
3
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
62