Deploy TrendRadar
Self-hosted trend and news monitor: hot lists, RSS, keyword reports, push
trendradar
Just deployed
/data
Deploy and Host TrendRadar on Railway
TrendRadar is an open-source (GPL-3.0) news and trend monitor. It collects trending lists from 11 platforms such as Weibo, Zhihu, Baidu, Douyin, Bilibili and WallStreetCN, plus RSS feeds, filters them by your keywords, builds an HTML report and can push digests to Telegram, Slack, ntfy, email, webhooks and more.
About Hosting TrendRadar
This template runs TrendRadar 6.12.0 (official image, pinned by digest) as one service built from a public GitHub repo. A scheduler crawls once at start and then every 30 minutes, with a lock so runs never overlap. A small report viewer serves the latest report and the archive on your Railway domain behind a login; the password is generated at deploy time and shown in the service's Variables tab. The SQLite databases, HTML reports and your own config files live on a volume at /data, so they survive redeploys. If the scheduler or viewer stops, the service exits with an error and Railway restarts it. It peaked at about 170 MB RAM in our tests.
Common Use Cases
- Follow trending topics across Chinese and international platforms in one daily or half-hourly report
- Watch keywords (a brand, a market, a technology) and get notified when they trend
- Send AI-summarised news digests to a Telegram, Slack or ntfy channel
Dependencies for TrendRadar Hosting
- No database service: TrendRadar stores its data in SQLite files on the attached volume
- Optional: an LLM API key (DeepSeek, OpenAI, Gemini or any LiteLLM provider) for AI analysis and translation
Deployment Dependencies
- TrendRadar on GitHub: https://github.com/sansan0/TrendRadar
- Template repo: https://github.com/aalfath/trendradar-railway-template
- Upstream configuration reference: https://github.com/sansan0/TrendRadar/blob/v6.12.0/docker/.env
Implementation Details
Services and volumes:
trendradar: scheduler plus a password-protected report viewer on port 8080;/healthzanswers without a login for Railway's health check- Volume at
/data: news and RSS databases, HTML reports and optional config overrides in/data/config
After deploy:
- Open the service's Variables tab and copy
WEB_PASSWORD(useradmin), then open the public URL. The first report appears a minute or two after the first start. - Optional: set
AI_API_KEY(andAI_MODEL, for exampleopenai/gpt-4o-mini) to turn on AI analysis and translation. Without a key, crawling, keyword filtering and reports still work. - Optional: add notification variables such as
TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_ID,SLACK_WEBHOOK_URL,NTFY_TOPICorGENERIC_WEBHOOK_URL. - Optional: put your own keyword list in a
FREQUENCY_WORDSvariable, or copy any upstream config file into/data/configand restart; files there replace the defaults of the same name.
Updates: the service builds from the template repo. When a new TrendRadar release is moved there, Railway shows "update available" on your service; read the repo's CHANGELOG.md and apply it when you are ready. Data and config on the volume are kept.
Not included: the optional TrendRadar MCP server (it needs the same files as the app, and a Railway volume can't be shared between services) and remote S3 storage (the volume already keeps the data).
Why Deploy TrendRadar 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 TrendRadar 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
trendradar
aalfath/trendradar-railway-template