hotnews
v0.1.6
Published
命令行热门新闻聚合工具,支持百度、微博、抖音、虎扑热搜
Downloads
848
Maintainers
Readme
hotnews
English | 中文
A command-line trending news aggregator built with React Ink + TypeScript + Bun.
Installation
npm install -g hotnewsAfter installation, run hotnews from anywhere — only Node.js is required.
Usage
Show help
hotnews --helpList all available sources
hotnews listFetch trending news
hotnews baidu # Baidu Hot Search
hotnews weibo # Weibo Hot Search
hotnews douyin # Douyin Hot Search
hotnews hupu # Hupu Hot Topics
hotnews zhihu # Zhihu Hot Questions
hotnews juejin # Juejin Trending
hotnews kr36 # 36Kr Hot
hotnews github # GitHub TrendingLimit the number of results
hotnews baidu --limit 5 # Show top 5
hotnews weibo -l 15 # Short flag
hotnews douyin --limit 100 # Capped at 50 (max)JSON output
hotnews baidu --json
hotnews weibo --json --limit 5News Sources
| Source | ID | Description |
|---|---|---|
| Baidu Hot Search | baidu | Baidu real-time trending topics |
| Weibo Hot Search | weibo | Weibo real-time trending topics |
| Douyin Hot Search | douyin | Douyin real-time trending topics |
| Hupu Hot Topics | hupu | Hupu popular forum posts |
| Zhihu Hot Questions | zhihu | Zhihu trending questions |
| Juejin Trending | juejin | Juejin developer trending posts |
| 36Kr Hot | kr36 | 36Kr tech news trending |
| GitHub Trending | github | GitHub trending repositories |
Tech Stack
- Bun — Build tooling
- React Ink — Terminal UI rendering
- TypeScript — Type safety
- meow — CLI argument parsing
License
MIT
