TrendDigest
开发者趋势日报:GitHub Trending + Hacker News → LLM 摘要 → Markdown 日报。
每天早上一条命令,十分钟掌握今天开源世界发生了什么。给自己用,也给团队用。
安装
pip install trenddigest
使用
trenddigest fetch # 抓取原始趋势(GitHub + HN),无 LLM 也能用
trenddigest report --digest # 抓取 + LLM 中文摘要,输出 reports/YYYY-MM-DD.md
配置(trenddigest.yaml)
base_url: https://api.deepseek.com/v1 # 任意 OpenAI 兼容地址
api_key_env: DEEPSEEK_API_KEY
model: deepseek-chat
github_days: 7
top: 20
reports_dir: reports
不配 LLM 也能用:trenddigest fetch 直接输出结构化清单。
数据源
- GitHub Trending:GitHub Search API(近 7 天新建、按 star 排序)
- Hacker News:Algolia API(front page,按 points)
数据源全部为公开 JSON API,无第三方依赖、无 SaaS、隐私友好。
路线图
- GitHub + HN 抓取、Markdown 日报、LLM 摘要
- 更多中文源(掘金 / 知乎热榜 / V2EX)
- 定时任务(GitHub Actions daily cron)
- 关键词过滤与去重
演示
真实运行回放(含截图说明):docs/demo.md;当日样例日报见 examples/report-2026-10-22.md。
许可
MIT
Metadata
Release files for trenddigest 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trenddigest-0.1.0.tar.gz | 221.3 kB | Without provenance | Details for trenddigest-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trenddigest-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for trenddigest-0.1.0-py3-none-any.whl |
Total release size: 229.3 kB
Release files / trenddigest-0.1.0.tar.gz
| Download URL | trenddigest-0.1.0.tar.gz |
|---|---|
| Size | 221.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87dda1d4b2d4e5e69130524733981cbf36f8b2b7f1eceb6cb8b0c408a497ebf8
|
|
BLAKE2b-256 checksum How to use checksums |
7f47a0e2342a96ea6b0cc1a36b6304ec28c3f837f4d7c9b53dddc8960108d1dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / trenddigest-0.1.0-py3-none-any.whl
| Download URL | trenddigest-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00b593997c3d1b5ff1950d9942bdbeb195067d6f4252d28240ff1c3b47d91e06
|
|
BLAKE2b-256 checksum How to use checksums |
1eef2c1dc93b70af0364236b540ebc616c450ed6c0d32bc902d501d640ec29d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for trenddigest 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.