CN Trends Aggregator

Other

中文+全球热榜聚合器。一键获取百度热榜、今日头条、V2EX、Hacker News、GitHub 热门新项目。Use when: user asks about trending topics, hot searches, what's popular, today's hot news, tech trends, or wants a daily briefing. Triggers on: 热榜、热搜、趋势、trending、hot、what's popular、daily briefing.

Install

openclaw skills install cn-trends-aggregator

CN Hot Trends — 中文+全球热榜聚合

Quick Start

python3 scripts/fetch_trends.py --proxy http://127.0.0.1:7897 --format markdown

Data Sources

SourceIDContentAuth
百度热榜baidu实时热搜,7M+ 热度值No
今日头条toutiao头条热榜No
V2EXv2ex技术社区热帖 + 回复数No
Hacker Newshn全球科技热帖 + 分数No
GitHubgithub近 7 天热门新项目No

Usage

# All sources, markdown output
python3 scripts/fetch_trends.py --format markdown

# Specific sources, JSON output
python3 scripts/fetch_trends.py --sources baidu,v2ex --format json --limit 5

# With proxy (needed for V2EX, HN, GitHub)
python3 scripts/fetch_trends.py --proxy http://127.0.0.1:7897

# Plain text
python3 scripts/fetch_trends.py --format text --limit 10

Options

FlagDefaultDescription
--sourcesbaidu,toutiao,v2ex,hn,githubComma-separated source IDs
--limit10Items per source
--formatjsonOutput: json, text, markdown
--proxynoneHTTP proxy URL

Output Formats

  • json: Structured data, good for further processing
  • text: Human-readable plain text
  • markdown: Formatted tables, good for chat/email output

Tips

  • Baidu and Toutiao work without proxy; V2EX/HN/GitHub need proxy in some regions
  • Combine with AI analysis: fetch trends → summarize → identify patterns
  • Use --sources github to discover trending open-source projects
  • Pair with cron for daily automated briefings