
CLS Telegraph
https://github.com/yishentu/cls-telegraph- Category
- Productivity
- Rank
- No. 2145Tools index
Previous survey · No. 2104 ·
- Pricing
- Open Source
- Type
- TOOL
- Builder
- YishenTu
- GitHub
- 4 stars
- Latest release
- 1.0.0
- Date
About
Obsidian plugin to display financial news from 财联社电报 (CLS Telegraph) directly inside your vault.
What it does
CLS Telegraph turns a special note code block or an Obsidian sidebar into a compact, expandable news list. It fetches the latest CLS feed, refreshes every 60 seconds, supports manual refresh, and removes stories containing user-defined keywords. A code block can also set how many items appear.
Why it's ranked here
This is a focused utility with unusually clear interaction choices for its small scope. Note authors can place a configurable feed beside their writing, while frequent readers get a persistent sidebar. Mobile support and saved keyword filters broaden its usefulness, though the single fixed source limits its reach.
What's good
The two presentation modes serve distinct habits without adding much setup. Headlines expand to reveal details, timestamps stay visible, and clicking the update time refreshes immediately. Filtering checks both titles and content, ignores letter case, saves the keyword list, and prevents duplicate keyword entries.
Tradeoffs
Installation is manual and requires copying three release artifacts into the vault plugin directory. The source endpoint is fixed, the sidebar always takes 20 filtered items, and code blocks fall back to 10 when their count is absent or invalid. Fetch failures show only a generic network message.
How to use it well
It best suits Obsidian users who follow CLS throughout research or note-taking. Put a bounded feed inside topic notes, use the sidebar for ongoing scanning, and filter recurring noise with keywords. It does not cover multiple publishers, source comparison, or a configurable sidebar length.
Technical notes+
main.ts contains the complete Obsidian implementation: CLSTelegraphPlugin calls requestUrl against https://www.cls.cn/nodeapi/telegraphList, registers the cls Markdown processor, view, ribbon action, command, and settings tab. Both renderers refresh with 60-second browser intervals; the code-block renderer additionally uses MutationObserver for cleanup. styles.css supplies theme-variable-based layout and expanded-detail states. esbuild.config.mjs bundles main.ts as CommonJS targeting ES2018 while keeping Obsidian, Electron, CodeMirror, Lezer, and Node built-ins external. package.json runs TypeScript checking before production bundling, and .github/workflows/release.yml attaches main.js, manifest.json, and styles.css to tagged releases. manifest.json declares the plugin as not desktop-only.
Observed
- License
- MIT
- Primary language
- TypeScript
- Host interface
- Obsidian plugin with a Markdown code block, sidebar view, ribbon action, command palette entry, and settings tab
- Install surface
- Manual installation copies main.js, manifest.json, and styles.css into the vault plugin directory
- Platform support
- Obsidian desktop and iOS/Android mobile; the manifest marks the plugin as not desktop-only
- Packaging
- esbuild produces a CommonJS bundle, with TypeScript checking included in the production build
- Data source
- A fixed HTTPS request retrieves the CLS telegraph list
Read from README.md, package.json, main.ts, version-bump.mjs, esbuild.config.mjs, LICENSE, styles.css, README_zh.md, manifest.json, tsconfig.json, .github/workflows/release.yml.
What it can do
Display financial news from CLS Telegraph
CLS Telegraph news feed → Financial news content displayed in Obsidian vault
Integrate external news feed into note-taking workspace
财联社电报 news source → Live news feed embedded within Obsidian interface
Fetch real-time financial updates
CLS Telegraph API or data source → Current financial news articles and updates
Embed Chinese financial news content
财联社电报 news articles → Formatted news content within Obsidian notes
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.