Deploy Homelander

Telegram bot, website and resident cabinet for your building community

Deploy Homelander

Just deployed

/data

Deploy and Host Homelander on Railway

Homelander is a Telegram bot and a website for one residential community: the people of one or several houses who share common chats. It knows who the residents are, keeps the house chats in order and gives the house its own site and resident cabinet. Open source (Apache 2.0), in Ukrainian and English.

The admin panel

About Hosting Homelander

Homelander is one Go binary with a SQLite database: this template runs the signed release image from GitHub Container Registry with a volume at /data and a public HTTPS domain. You need two things before you press Deploy:

  1. A Telegram bot. In @BotFather: /newbot, then /setprivacy -> your bot -> Disable (otherwise the bot does not see group messages). Paste its token into TELEGRAM_BOT_TOKEN.
  2. Your phone in international format (+380...) in BOOTSTRAP_ADMIN_PHONE: it becomes the first admin.

The secrets are generated for you, and the site's address follows the Railway domain. After the deploy, open the bot, press Start and share your phone: the bot answers with a link to the admin panel. Then follow First steps.

Patch releases of the 0.1 line install themselves at night (02:00-06:00 UTC). To move to a new minor version, read its upgrade notes and change the image tag in the service settings: see Upgrading.

Cost: the first 30 days are free on Railway's trial. After that the Hobby plan ($5 a month) covers it with room to spare. The Free plan puts idle services to sleep, which stops scheduled backups, so it is not enough for a live community. Prices are Railway's: check railway.com/pricing for current ones.

Common Use Cases

  • Verified residents: people apply with phone, house and apartment, an admin approves them, and they sign in with a one-time code in Telegram, no passwords.
  • Keeping house chats civil: /warn, /mute, /ban as a reply that cites the house rules by item number, with private notices and appeals.
  • A home page, news feed, rules pages and an installable resident cabinet (PWA), all managed from the admin panel or by an AI agent (Claude, ChatGPT) through MCP.
  • Encrypted daily backups to the volume, an S3 bucket or a private Telegram group.

Dependencies for Homelander Hosting

  • A Telegram bot token from @BotFather with privacy mode disabled.
  • A phone with Telegram for the first admin.

Deployment Dependencies

Implementation Details

The template sets TELEGRAM_UPDATES=webhook, TRUST_PROXY=true (rate limits rely on the real client address) and RAILWAY_RUN_UID=0 (Railway volumes belong to root). Keep exactly one replica: SQLite has one writer. Every other setting lives in the admin panel. All variables: Configuration.

Why Deploy Homelander 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 Homelander 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

More templates in this category

View Template
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY

Agampreet Singh
294
View Template
Cobalt Tools [Updated Nov ’26]
Cobalt Tools [Nov ’26] (Media Downloader, Converter & Automation) Self Host

shinyduo
311
View Template
Telegram Gateway
Multi-bot Telegram webhook gateway with WebSocket event streaming

INAPP
8