İçeriğe geç
TakoAPI
Becerilere dön

newsnow

sorrycc tarafından

DevOps & Cloud
774İndirme sayıları clawskills.sh tarafından bildirilir
10Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

CLI tool to fetch trending news and hot topics from 66 sources across 44 platforms.

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

User asks: get the top 5 Hacker News stories as structured data

AJAN
  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}'

ÇIKIŞ

A JSON array of 5 objects each containing title and url fields

Gereksinimler

  • PRODUCTHUNT_API_TOKEN environment variable (only required for the producthunt source)

Kurulum

clawhub install sorrycc/newsnow

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar