← 返回
未分类 中文

hotnews

CLI tool to fetch trending news and hot topics from 8 sources across Chinese platforms and GitHub. Returns structured news items with titles, URLs, and metad...
命令行工具,可从8个来源(包括中国平台和GitHub)获取热门新闻和热点话题,返回带有标题、URL和元数据的结构化新闻条目。
zhengzhuangpro
未分类 clawhub v0.1.6 1 版本 100000 Key: 无需
★ 0
Stars
📥 395
下载
💾 0
安装
1
版本
#latest

概述

hotnews CLI

Fetch trending news and hot topics from 8 sources. Returns news items with title, URL, hot metric, and rank.

Run hotnews --help for usage details.

Workflow

Follow this pattern:

  1. List - Don't know what sources are available? List them first.
  2. Fetch - Know the source? Fetch news directly.
  3. JSON - Need structured data? Add --json for machine-readable output.
NeedCommandWhen
---------
See all sourceshotnews listDon't know source names
Get newshotnews Know the source, want readable output
Get news as JSONhotnews --jsonNeed structured data for processing
Control item counthotnews --limit NWant specific number of results (1-50, default 10)

Commands

list

List all available sources.

hotnews list

Fetch a source

hotnews baidu
hotnews baidu --json
hotnews weibo --limit 5
hotnews douyin -l 15 --json

Options

FlagShortDescription
---------
--jsonOutput as JSON
--limit N-l NNumber of items to return (default: 10, max: 50)

Output fields (JSON mode):

  • title - News headline
  • url - Link to the article
  • hot - Popularity metric, e.g. "871 stars today", "5.3k" (optional)
  • rank - Position in the ranking (1-based)

Sources

8 source endpoints:

PlatformIDDescription
---------
BaidubaiduBaidu real-time search trends
WeiboweiboWeibo real-time trending topics
DouyindouyinDouyin real-time trending
HupuhupuHupu street hot posts
36Krkr3636Kr tech news flashes
ZhihuzhihuZhihu trending questions
JuejinjuejinJuejin developer community hot articles
GitHubgithubGitHub trending open source projects today

Source Selection Guide

CategoryRecommended Sources
------
General Newsbaidu, weibo, toutiao
Social/Trendingweibo, douyin, zhihu
Tech/Developerjuejin, github, kr36
Sports/Lifestylehupu

Working with Results

hotnews baidu --json | jq '.[].title'
hotnews baidu --json --limit 5
hotnews weibo --json | jq '.[] | "\(.rank). \(.title) \(.hot // "")"'
hotnews github --json | jq '.[] | "\(.title) - \(.hot)"'

版本历史

共 1 个版本

  • v0.1.6 当前
    2026-05-07 07:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,073 📥 806,307
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,374 📥 319,869
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,223 📥 267,442