AIToday

Newsline tool brings one-line news to Claude Code status bar

Hacker News14h ago
Newsline tool brings one-line news to Claude Code status bar

Key takeaway

Newsline is a lightweight tool that displays rotating one-line news headlines in the Claude Code status bar, letting developers stay informed during long AI-assisted coding runs. It installs in seconds via multiple package managers and requires minimal setup; all processing happens locally, with optional fully-offline mode available. The tool prioritizes privacy—it never accesses code, prompts, or conversations, and can operate without contacting any external service.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    A developer released Newsline, a tool that displays rotating regional news headlines in the status line of Claude Code (an AI coding assistant). Users can install it via curl, Homebrew, npm, or as a Claude Code plugin, with setup taking seconds.

  • Why it matters

    The tool solves a practical friction point—waiting for long AI code generation runs. Instead of idle time, developers get a live news feed without leaving their editor. The tool is designed to be lightweight: it caches headlines locally, never touches code or prompts, and can run fully offline if users prefer.

  • What to watch

    Configuration is flexible—users can choose language (ko, ja, en, es, fr, de, pt, zh, or auto), topic (general, tech, business, world, sports, science, health, entertainment), rotation speed (default 6 seconds per headline), and headline color. Updates preserve existing settings. The edge service that curates regional sources can be disabled entirely by setting api and endpoint to "off" in the config file.

In Depth

Newsline is a command-line tool that integrates news headlines into the status line of Claude Code, an AI coding assistant used for long-running code generation tasks. The core idea is simple: while waiting for Claude Code to finish work, a user sees a rotating one-line headline—typically a regional news story refreshed every 6 seconds (configurable)—displayed below the existing status line without disrupting the editor's normal HUD.

Installation is intentionally frictionless. Users can choose from four methods: a single curl command for macOS, Linux, or WSL; Homebrew; npm; or the Claude Code plugin marketplace. The setup process (newsline init) asks for three preferences—language (Korean, Japanese, English, Spanish, French, German, Portuguese, Chinese, or auto-detection), news topic (general, tech, business, world, sports, science, health, entertainment), and headline color—and preserves any existing status line configuration. The headline appears on the next message with no restart required.

The tool's architecture separates local rendering from optional network features. Headlines are cached locally and rendered instantly from that cache; refreshes happen in the background so the status line never blocks on the network. An optional edge service curates regional news sources and routes headline clicks, allowing dead sources to be swapped server-side without reinstalling the tool. However, users can disable all network features by setting api and endpoint to "off" in the configuration file (~/.config/newsline/config.json), after which the tool uses only bundled feeds and connects only to news sources themselves.

Privacy is enforced by design. The only metadata sent to the edge service is: language, coarse country, local time, day of week, timezone offset, topic, and plugin version—sent at most once per hour for feed curation. Headline clicks go through a redirect that logs the article URL, language, topic, and version, enabling dead-link detection and aggregate click counting, but no per-user identifier is included. Code, prompts, files, and Claude conversations never leave the machine. Updates use the same installation method and preserve language, topic, and color settings. Uninstall options include restoring the previous status line (newsline uninstall) or removing all traces including the CLI binary (newsline uninstall --purge). The project is open-source on GitHub and welcomes bug reports and pull requests.

Context & Analysis

Newsline addresses a specific user experience problem in the AI-assisted development workflow: the cognitive gap during long generation waits. Rather than a standalone news app, it embeds headlines directly into an existing tool (Claude Code's status line), eliminating context-switching. The design reflects a privacy-first philosophy—the tool runs entirely locally by default, with optional network features (regional feed curation, dead-link detection) that collect only aggregate, non-identifying metadata.

The installation flexibility (curl, Homebrew, npm, plugin marketplace) lowers friction for different developer preferences and operating systems. The configuration model is similarly practical: users choose language, topic, rotation speed, color, and can toggle the edge service entirely. The fallback to bundled feeds when the edge service is unreachable ensures the tool degrades gracefully rather than breaking.

FAQ

How do I install Newsline?
You can install it four ways: curl (macOS/Linux/WSL), Homebrew, npm, or as a Claude Code plugin. Pick whichever you already have. After installation, run newsline init to configure language, topic, and headline color.
Does Newsline see my code or conversations?
No. Newsline never accesses your code, prompts, files, or Claude conversations. You can run it fully offline by setting api and endpoint to "off" in ~/.config/newsline/config.json, after which it uses only bundled feeds and no external service is contacted except the news feeds themselves.
What data leaves my machine?
Only minimal metadata: once per hour, language, coarse country, local time, day of week, timezone offset, topic, and plugin version go to the edge service for feed curation. Headline clicks are routed through a redirect (showing article URL, language, topic, and version) so dead sources can be replaced server-side, but there is no per-user identifier.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →