newsnow
bởi sorrycc
DevOps & CloudTóm tắt
CLI tool to fetch trending news and hot topics from 66 sources across 44 platforms.
Mô tả
Kỹ năng này làm gì
CLI tool for fetching trending news and hot topics from 66 source endpoints across 44 platforms. Returns structured items with titles, URLs, and optional metadata like view counts and publication dates. Covers Chinese and international tech, finance, news, and social media sources.
A single CLI covers 44 platforms with a consistent JSON schema, eliminating the need to write and maintain separate scrapers for each source.
Khi nào nên dùng
- Checking what topics are trending on Weibo or Douyin right now
- Pulling Hacker News front page into a script for further processing
- Monitoring GitHub trending repos alongside Chinese dev community topics
- Aggregating finance news from multiple sources like Xueqiu and Wall Street CN
- Building a daily news digest by fetching JSON output from several sources
Quy trình ví dụ
User asks: get the top 5 Hacker News stories as structured data
- 1
Run
newsnow hackernews --jsonto fetch current front page items - 2
Pipe output through
jq '.[:5]'to slice the first 5 results - 3
Extract titles and URLs with
jq '.[] | {title, url}'
A JSON array of 5 objects each containing title and url fields
Yêu cầu
- PRODUCTHUNT_API_TOKEN environment variable (only required for the producthunt source)
Cài đặt
clawhub install sorrycc/newsnowChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.