{"id":50416093,"url":"https://github.com/rayyume/raynews","last_synced_at":"2026-05-31T06:00:44.831Z","repository":{"id":359523335,"uuid":"1246250743","full_name":"rayyume/RayNews","owner":"rayyume","description":"新闻聚合阅读器——从 Telegram 频道抓取新闻消息（通过 RSS-to-Telegram-Bot 推送），自动提取 Telegraph 全文，生成暗色模式新闻站。News aggregator reader — fetches news messages from Telegram channels (pushed via RSS-to-Telegram-Bot), automatically extracts full text from Telegraph, generates a dark mode news site.","archived":false,"fork":false,"pushed_at":"2026-05-31T03:38:10.000Z","size":1531,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-31T04:19:04.005Z","etag":null,"topics":["news","reader","rss","telegram","telegraph"],"latest_commit_sha":null,"homepage":"https://news.rayyu.me/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rayyume.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-22T02:42:11.000Z","updated_at":"2026-05-31T03:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rayyume/RayNews","commit_stats":null,"previous_names":["rayyume/raynews"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rayyume/RayNews","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyume%2FRayNews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyume%2FRayNews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyume%2FRayNews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyume%2FRayNews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayyume","download_url":"https://codeload.github.com/rayyume/RayNews/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyume%2FRayNews/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33720897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["news","reader","rss","telegram","telegraph"],"created_at":"2026-05-31T06:00:43.794Z","updated_at":"2026-05-31T06:00:44.824Z","avatar_url":"https://github.com/rayyume.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"README.md\"\u003e🇨🇳 中文\u003c/a\u003e | \u003cb\u003e🇺🇸 English\u003c/b\u003e\n\u003c/p\u003e\n\n# RayNews 📡\n\nA news aggregator that fetches messages from a Telegram channel (powered by [RSS-to-Telegram-Bot](https://github.com/Rongronggg9/RSS-to-Telegram-Bot)), automatically extracts Telegraph full articles, and serves a dark-mode news site.\n\n![screenshot](assets/screenshot.jpg)\n\n## Architecture\n\n```\nNews Sources (RSS/Web/API)\n          ↓\n RSS-to-Telegram-Bot ──push──→ Telegram Channel (t.me/s/your_channel)\n                                      ↓\n                        RayNews Fetcher ──poll──→ news.json\n                                      ↓\n                              Nginx + Vue 3 SPA Frontend\n```\n\n**Data flow:**\n\n1. **[RSS-to-Telegram-Bot](https://github.com/Rongronggg9/RSS-to-Telegram-Bot)** — subscribes to RSS feeds and pushes new articles to your Telegram channel\n2. **Telegram Channel** — acts as intermediate storage; RayNews fetches messages from the channel's public page (`t.me/s/channel_name`)\n3. **RayNews Fetcher** — Python script, incrementally fetches new messages every 15 minutes, auto-detects sources, extracts Telegraph full text\n4. **Frontend** — Pure Vue 3 SPA, dark theme, source filtering, article details, sharing\n\n\u003e **Note:** RayNews only **reads** from Telegram. You'll need another tool (like [RSS-to-Telegram-Bot](https://github.com/Rongronggg9/RSS-to-Telegram-Bot)) or manual posting to push content into the channel.\n\n## Prerequisites\n\n- A public Telegram channel\n- (Optional) [RSS-to-Telegram-Bot](https://github.com/Rongronggg9/RSS-to-Telegram-Bot) or other tools to push news to your channel\n\n## Quick Start\n\n### 1. Clone\n\n```bash\ngit clone https://github.com/rayyume/RayNews.git\ncd RayNews\n```\n\n### 2. Configure\n\n```bash\n# Copy environment template\ncp .env.example .env\n\n# Edit .env with your Telegram channel name and other settings\n```\n\n### 3. Start\n\n```bash\ndocker compose up -d\n```\n\nThe fetcher runs once on startup, then every 15 minutes.\n\n### 4. Access\n\n- Frontend: `http://\u003cyour-ip\u003e:8090`\n- Manual refresh: `http://\u003cyour-ip\u003e:8090/refresh`\n- Data API: `http://\u003cyour-ip\u003e:8090/news.json`\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `TELEGRAM_CHANNEL` | `your_channel` | Telegram channel name (required) |\n| `TZ` | `Asia/Shanghai` | Container timezone, affects log timestamps |\n| `DATA_DIR` | `/app/data` | Data output directory (container path) |\n| `HTTP_PROXY` | (empty) | HTTP proxy |\n| `HTTPS_PROXY` | (empty) | HTTPS proxy |\n| `NO_PROXY` | `localhost,127.0.0.1` | Direct connection whitelist |\n\n## Custom Build\n\n```bash\n# Build locally\ndocker compose build\n\n# Or pull pre-built image from ghcr.io\ndocker compose pull\n```\n\n## Roadmap 🗺️\n\n### Short-term\n\n- [x] **Source Categorization** — Group and filter articles by source/tags\n- [x] **WeChat Official Account Articles** — Identify and extract full-text content from WeChat public accounts\n- [ ] **Collection** — Add News Collection Button on Article Page and Collection Page\n- [ ] **Auto-translate English Content** — Automatically translate English titles and articles (e.g. into Chinese)\n- [ ] **Key-words filter** — Hide articles containing specific words\n\n### Long-term\n\n- [ ] **Integrate [RSStT](https://github.com/Rongronggg9/RSS-to-Telegram-Bot)** — No extra deployment for RSStT, OOTB support\n- [ ] **Custom AI API** — Bring your own AI API for article summaries and daily digests\n- [ ] **TTS News Reading** — Text-to-speech for listening to news\n- [ ] **iOS App** — Native iOS client\n\n## Tech Stack\n\n- Python 3.12 (fetcher + refresh server)\n- Nginx (static file serving)\n- Vue 3 (frontend, pure static SPA)\n- BeautifulSoup (HTML parsing)\n- Supervisor (process management)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyume%2Fraynews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayyume%2Fraynews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyume%2Fraynews/lists"}