Hosting
Railway in five steps
This dashboard is not the bot. The bot is the Node project in the zip — Docker, yt-dlp, ffmpeg, Telegraf, webhook or polling.
01
Create the bot
Open @BotFather in Telegram. Send /newbot, pick a name and username, copy the token.
02
Download this project
Grab the zip — it is a self-contained Node app with a Dockerfile. Unzip and push to a GitHub repo, or drop the folder onto Railway.
03
New Railway service
New project → deploy from GitHub (this folder as the root). Railway reads railway.toml and builds with Docker so yt-dlp and ffmpeg are on the image.
04
Set BOT_TOKEN
Variables tab. Paste the BotFather token. Optionally WEBHOOK_URL after you generate a domain. Leave polling if you skip the webhook.
05
Talk to it
Open t.me/your_bot, tap Start, paste a video link. Give the service at least 1 GB RAM for 1080p merges.
Environment
Required: BOT_TOKEN. Everything else has a default.
BOT_TOKEN=123456:your-token-here MAX_FILE_MB=49 MAX_DURATION_SEC=1800 CONCURRENCY=2 # WEBHOOK_URL=https://your-service.up.railway.app # ALLOWED_USER_IDS=123456789 # COOKIES_B64=