simonlin1212/investment-news
About
A global industry-news dashboard for China A-share investors. It maps 12 sectors to corresponding A-share market segments, including semiconductors, AI, robotics, and new energy vehicles; covers more than 100 authoritative sources; and uses your own large language model to produce a daily Chinese-language summary of key points and translations. Runs locally with no API key. Local AI news dashboard tracking the global industry signals behind China A-share sectors
Science & EngineeringWhat you can do
- 今日要点 - 每个赛道置顶 3–5 条中文要点,跨源聚合去重、提炼核心公司与数据,由你选的大模型生成
- 双语呈现 - 英文标题自动译为中文,中文为主、原文备查,无需英文阅读能力即可掌握
- 覆盖赛道 - AI/大模型 · 半导体/芯片 · 机器人/自动化 · 汽车/新能源车 · 能源/新能源 · 生物医药/健康 · 航天/太空 · 网络安全 · 科技/互联网 · 消费电子/数码 · 财经/宏观 · 科学/前沿
- 要点溯源 - 每条要点附原文链接,可一键回溯至主要信息来源
Measured star growth
- in 24h
- 0
- in 7 days
- +4
- in 15 days
- +10
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_en.md
Original简体中文 | English
Investment News
中文 · English
Tracking the global industry signals behind China A-share sectors — 12 sectors mapped to A-share themes, 100+ authoritative sources, distilled into daily Chinese key points by your own AI, runs locally, zero API keys (uses your Claude Code by default).
What Is This
Investment News is a global industry-news dashboard built for China A-share investors. Semiconductors, AI, robotics, EVs, space — these 12 sectors map directly onto A-share themes, and the leading signals that drive them usually surface first in global English-language sources. The tool covers 100+ authoritative sources worldwide, calls your own LLM to distill each sector's latest developments into a daily set of key points (in Chinese) with translations, presented in a single local browser dashboard.
Unlike a typical news aggregator that buries you in feeds, its core is having the AI do the reading and distillation: 3–5 "today's key points" pinned at the top of each sector, aggregated and deduplicated across sources, so you can grasp each sector at a glance and drill down to the original when needed. Fetching runs locally (pure Python stdlib); the AI uses your own Claude subscription ($0) or any API key; everything is stored on your machine — no account, no hosting.
When it helps:
- You invest in China A-shares and want to track the global leading signals behind sectors like semiconductors, AI, EVs, and robotics — but the overseas coverage is mostly English and scattered across hundreds of sources.
- You need to track several investment sectors at once, but the news is overwhelming, hard to read in full, and mostly in English.
- Portals and aggregators give you a stream of disconnected items; what you actually want is "the core developments in this sector today" — exactly what the AI key-points layer delivers.
📊 It presents industry trends and leading signals — not market data, and not financial advice.
Features
| Feature | Description |
|---|---|
| Key points | 3–5 Chinese key points pinned per sector, aggregated & deduped across sources, highlighting core companies and figures — generated by your chosen LLM |
| Bilingual | English titles auto-translated to Chinese; Chinese-first with the original kept for reference |
| Sectors | AI · Semiconductors · Robotics · EV/Auto · Energy · Biotech/Health · Space · Cybersecurity · Tech · Consumer Electronics · Finance/Macro · Science |
| Sourced | Every key point links to the original article it's primarily based on |
| Refresh | One click in the dashboard triggers fetch + AI; it auto-refreshes on completion — no command line |
| Provider | Local Claude subscription (claude-cli, $0) or any OpenAI-compatible API, switched by a single config field |
| Local | Fetching and rendering both run locally — no database, no hosting, no RSSHub. To generate key points, the app sends news headlines (with source and sector names) to the model you choose — Claude Code by default, or your API provider |
| Filter | Built-in keyword filtering removes gambling / prediction markets / crypto / adult content; politics and finance are kept |
Screenshot

The browser dashboard is the deliverable. Once running, everything ends at
http://localhost:8793— the key points, translations, per-sector view, and source links all live on that page.
Quick Start
Requirements: Python 3.7+ (stdlib only — no third-party packages) + one LLM (pick one below).
git clone https://github.com/simonlin1212/investment-news.git
cd investment-news
# 1) Configure the LLM (see "Configure" below); defaults to your local Claude subscription, $0
# 2) Start the dashboard server
python3 server.py # default port 8793, keep it running
# 3) Open the dashboard in a browser
open http://localhost:8793 # Windows: start, Linux: xdg-open
# 4) Click ⟳ (top-left) to trigger fetch + AI summary; it auto-refreshes on completion
How It Works
sources.json (106 sources / 12 sectors)
│
▼ scripts/fetch.py fetch + compliance filter + recent-N-days + Beijing time
data.js (raw items)
│
▼ scripts/digest.py your LLM → per-sector "key points" + Chinese translation + source links
data.js (with AI key points)
│
▼ index.html browser dashboard (single file, no build, no deps)
server.py: local server + /api/refresh for the refresh button
The entire pipeline is pure Python stdlib + one LLM — no database, no RSSHub, no hosting. In claude-cli mode, digest invokes the local claude -p (subscription auth, all tools disabled, text-only) — local-only, $0.
Configure your LLM (subscription / API)
Edit llm.config.json:
| provider | Description | Cost |
|---|---|---|
claude-cli (default) | Uses your logged-in Claude Code subscription (claude login once), local-only | $0 |
api | Any OpenAI-compatible API (DeepSeek / OpenAI / SiliconFlow / OpenRouter…), runs anywhere | usage-based |
{ "provider": "claude-cli" } // subscription — nothing else to fill
// or
{ "provider": "api",
"api": { "base_url": "https://api.deepseek.com", "api_key": "sk-...", "model": "deepseek-chat" } }
Sectors & Sources
12 sectors, 106 curated sources — authoritative English media and Chinese vertical media in balance, e.g.:
- AI: OpenAI · Google Research · Hugging Face · QbitAI · Synced · MIT Tech Review
- Semiconductors: DIGITIMES · SemiAnalysis · IEEE Spectrum · EE Times · Semiconductor Engineering
- Robotics / EV / Energy: The Robot Report · Electrek · InsideEVs · CleanTechnica
- Biotech / Space / Security: STAT · Endpoints · SpaceNews · NASA · Krebs on Security · BleepingComputer
- Tech / Finance: TechCrunch · The Verge · Ars Technica · Huxiu · 36Kr · TMTPost · FT · CNBC
Full list in
sources.json. To add, remove, or fix sources, edit that one file.
Add a source = one line
Add a line to the sources array in sources.json — no code changes:
{ "name": "Some Media", "hint": "ai", "type": "rss", "url": "https://example.com/feed" }
hint is the sector key (ai / semi / robot / auto / energy / bio / space / security / tech / consumer / macro / science).
fetch.recent_days sets the time window (default 7); redline_keywords is the compliance filter.
Project Structure
investment-news/
├── index.html browser dashboard (sidebar 12 sectors + key points + bilingual list + refresh)
├── server.py local server + /api/refresh
├── sources.json 106 sources / 12 sectors / compliance words
├── llm.config.json LLM provider (subscription / API)
├── data.js generated data (fetch + digest output)
├── scripts/
│ ├── fetch.py fetch + compliance filter + time window (stdlib)
│ ├── digest.py call your LLM for key points + translation
│ ├── llm.py unified LLM entry (claude-cli / api)
│ └── build_sources.py rebuild & validate sources.json (liveness-tested)
└── docs/screenshot.png
Stack & Dependencies
- Python 3.7+, stdlib only (urllib / json / xml.etree / http.server / subprocess) — fetching and dashboard have zero third-party deps.
- One LLM: local Claude Code subscription (
claude-cli, $0) or any OpenAI-compatible API key. - Internet access to reach sources (some international ones may need a proxy).
Responsible Use / Disclaimer
- Local only: no hosting or remote server; the built-in dashboard server listens on localhost only, and your news library, reports and config are all stored on your machine.
- Reads public RSS / endpoints only, at low frequency, respecting each source's Terms of Service.
- For reference only: this is a news aggregation tool presenting industry trends and leading signals — it is not financial advice; you act at your own responsibility.
Provided "as is" under the MIT License, without warranty of any kind.
License
A local dashboard that distills global industry news into key points. PRs welcome for more sectors and sources.
Author: Simon Lin · X @linsizhen · Email: [email protected]
Explore related projects
Loading…