TrendRadarDocsA PROJECT BYsansansansan's personal projects and softwaresandev.cc
HomeDocumentationCommunityPartnershipsIndividual SupportCredits
  • Start here
    • Choose a deployment
    • No server: GitHub Actions
    • Server / NAS: Docker
    • Try locally: Run with uv
    • Configure content & delivery
  • Data Sources
    • Platform Configuration
    • Self-hosted sources (AI)
    • RSS Feed Configuration
  • Content Filtering
    • Keyword Configuration
    • AI Smart Filtering
  • Push Notifications
    • Push Channels
    • Push Modes
    • Scheduling
  • AI Enhancement
    • AI Analysis & Push
    • AI Translation
    • MCP Chat Analysis
    • MCP Query Guide
  • Data & Operations
    • Storage Configuration
    • Config Editor
    • Publish web reports
    • Architecture
  • More
    • FAQ
  1. Docs
  2. /
  3. Data Sources
  4. /
  5. Platform Configuration
PreviousConfigure content & deliveryNextSelf-hosted sources (AI)
© TrendRadar·GPL-3.0 License·Website·GitHub·by sansan

Platform Configuration

TrendRadar's trending data comes from the NewsNow project, which supports dozens of popular platforms. This page explains how to configure the trending platforms you want to monitor.
Want to run your own news service? Visit Self-hosted sources (AI) for prompts that guide an AI through reviewing and deploying NewsNow or OmniTrends.

Config file location

Platform configuration lives in the platforms section of config/config.yaml.

Config format

Each platform requires an id (the platform identifier) and a name (the display name), with an optional expected_domain (domain security validation). A complete example:
platforms:
  enabled: true
  sources:
    - id: "toutiao"
      name: "今日头条"
      expected_domain: "toutiao.com"
    - id: "baidu"
      name: "百度热搜"
      expected_domain: "baidu.com"
    - id: "wallstreetcn-hot"
      name: "华尔街见闻"
      expected_domain: "wallstreetcn.com"
    - id: "zhihu"
      name: "知乎"
      expected_domain: "zhihu.com"
    - id: "weibo"
      name: "微博"
      expected_domain: "weibo.com"
    - id: "bilibili-hot-search"
      name: "bilibili 热搜"
      expected_domain: "bilibili.com"
About the expected_domain field
Optional domain validation. Enter the primary domain (e.g. baidu.com). The system will verify that the domains in the returned data links match; mismatched data is discarded with a warning logged. Recommended.
About the enabled field
Set enabled to true to enable trending fetching, or set it to false to completely turn off the trending feature.

How to find a platform ID

There are several ways to find the available platform IDs:
Option 1: Online preview
Visit https://newsnow.busiyi.world/ and click the "More" button on the page to see the full list of supported platforms.
Option 2: Read the source code
Visit the source directory of the NewsNow project, server/sources. Each subdirectory / file name is the corresponding platform ID.
For example, the directory contains toutiao, baidu, wallstreetcn-hot, and so on — these are the id values you fill into your config.
Option 3: Community-curated list (recommended)
The community maintains a configuration list of commonly used platforms that you can copy directly:
https://github.com/sansan0/TrendRadar/issues/95
Open the link and copy the platform configuration snippets straight into your config.yaml.

Default platform list

If you haven't changed the configuration, the following 11 platforms are enabled by default:
No.Platform IDPlatform Name
1zhihuZhihu
2douyinDouyin
3bilibili-hot-searchBilibili Hot Search
4wallstreetcn-hotWallstreetcn
5tiebaTieba
6baiduBaidu Hot Search
7cls-hotCLS Hot
8thepaperThe Paper
9ifengIfeng
10toutiaoToutiao
11weiboWeibo

Configuration tips

Keep the number of platforms to 10-15
Configuring too many platforms leads to information overload — each push contains too much content, which actually makes it harder to grab the important information efficiently. We recommend picking 10-15 platforms based on your areas of interest.
Quick configuration trick
Don't want to look up platform IDs one by one? Just visit the community-curated platform list and copy the parts you need to finish the configuration.
General principles for picking platforms:
  • General news: Toutiao, Baidu Hot Search, etc. — covering trending topics
  • Finance: Wallstreetcn, Cailian Press, etc. — good for following financial markets
  • Social media: Weibo Hot Search, Douyin Trending, etc. — tracking social trends
  • Tech communities: Zhihu Hot List, Bilibili Trending, etc. — for in-depth discussion
Combine them freely based on your information needs — there's no need to cover every platform.