Credential Fixture Review
python scripts/_env_constants.py is review material for the No-News — 国际科技新闻 skill. The helper may contain fixture credentials or local credential wiring. Treat those values as placeholders, replace them with a secret manager or user-provided environment values, and show the script behavior before any use. Do not contact external services with embedded sample credentials.
No-News — 国际科技新闻
Fetch tech news from 8 curated RSS sources and display as a markdown table.
Quick Start
Run the bundled script:
python scripts/tech_news.py --summary
This fetches all sources (with 30-min cache) and outputs a markdown table with title, source link, publish time, and summary.
Options (resolve from user request when specified)
| Flag | Purpose |
|---|---|
--summary |
Include 摘要 column (recommended default) |
-s <source> |
Single source (techcrunch, theverge, wired, arstechnica, engadget, hackernews, mittech, gizmodo) |
-l <N> |
Items per source (default 10) |
--no-cache |
Skip cache, force fresh fetch |
--sources |
List available sources |
Workflow
- Run
scripts/tech_news.py --summary(add-sor-lif user specified). - Present the markdown output directly to the user.
- If user wants details on a specific article, provide the link from the table.
Dependencies
Requires feedparser, requests, rich — install if missing:
pip install feedparser requests rich