newsnow
بواسطة sorrycc
DevOps & Cloudموجز
CLI tool to fetch trending news and hot topics from 66 sources across 44 platforms.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- PRODUCTHUNT_API_TOKEN environment variable (only required for the producthunt source)
التثبيت
clawhub install sorrycc/newsnowشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.