تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

newsnow

بواسطة sorrycc

DevOps & Cloud
774التنزيلات وفق ما يذكره clawskills.sh
10النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Run newsnow hackernews --json to fetch current front page items

  2. 2

    Pipe output through jq '.[:5]' to slice the first 5 results

  3. 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 أو أي وكيل برمجة تستخدمه.

الروابط