Railway

Deploy sb-relay

抓取 sb.sb 论坛的通知,并转发到 Telegram 机器人

Deploy sb-relay

Just deployed

Deploy and Host sb-relay on Railway

sb-relay is a lightweight, self-hosted notification relay for the sb.sb forum. It periodically checks your forum notifications and forwards new alerts directly to Telegram through your own bot. Built with Go, it features notification deduplication, burst handling across multiple pages, configurable polling intervals, and persistent state support.

About Hosting sb-relay

Hosting sb-relay on Railway provides an easy way to keep the relay running 24/7 without maintaining your own server. The application runs as a lightweight container and requires only a few environment variables: your sb.sb user ID and authentication cookie, plus a Telegram bot token and target chat ID. By default, sb-relay checks for new notifications every 60 seconds, although the interval can be customized. For reliable deduplication across deployments and restarts, attaching a Railway persistent volume to /data is recommended. No database, web server, or additional infrastructure is required.

Common Use Cases

  • Forward sb.sb forum notifications directly to Telegram in near real time.
  • Keep track of forum activity without repeatedly checking the sb.sb website.
  • Run a lightweight, always-on personal notification relay without maintaining a VPS.

Dependencies for sb-relay Hosting

  • An authenticated sb.sb account with your numeric user ID and a valid session cookie.
  • A Telegram bot token and the chat, group, or channel ID where notifications should be delivered.

Why Deploy sb-relay 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 sb-relay 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 Aug ’26]
Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host

shinyduo
268
View Template
Telegram Gateway
Multi-bot Telegram webhook gateway with real-time WebSocket event streaming

INAPP
5