{"slug": "show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works", "title": "Show HN: Newsline – one-line news in your status line while your AI agent works", "summary": "Newsline, a new open-source tool by developer itdar, lets users display rotating one-line news headlines in their terminal status line, designed to be used while waiting for AI agents like Claude Code to finish tasks. The tool installs via curl, Homebrew, npm, or as a Claude Code plugin, and operates with a local cache and optional edge service that only sends language, coarse country, time, topic, and plugin version for feed curation, never accessing code, prompts, files, or conversations. Fully local mode is available by setting \"api\": \"off\" and \"endpoint\": \"off\" in the config file.", "body_md": "**Waiting for Claude Code to finish? Read the latest one-line news right in your status line.**\nA rotating regional headline sits at the bottom of your session — so a long wait turns into a\nquick news check. It shows *below* your existing status line (your HUD stays).\n\n```\n# curl (macOS / Linux / WSL) — installs and sets up right away\ncurl -fsSL https://raw.githubusercontent.com/itdar/newsline/master/install.sh | sh\n\n# Homebrew\nbrew install itdar/tap/newsline && newsline init\n\n# npm\nnpm i -g newsline-cli && newsline init\n\n# Claude Code plugin — run inside Claude Code, then /newsline:setup\n/plugin marketplace add itdar/newsline\n/plugin install newsline@itdar\n```\n\n**Pick whichever you already have — you only need one.** (No `brew`\n\n/`npm`\n\n? Use the `curl`\n\nline.)\n\nThe news line appears on your **next message** — no restart. Setup asks for a language, topic & headline color\nand keeps your existing status line.\n\n**Your machine fetches and shows the news**— it never touches your code, prompts, files, or Claude conversations.- A small\n**edge service** picks the best regional sources and routes headline clicks, so sources stay fresh without reinstalling. If it's unreachable, newsline**falls back to built-in feeds**. - The status line is instant (served from a cache); refreshes run in the background.\n\nEverything that runs on your machine is in this repo — and this is the complete list of what ever leaves it:\n\n**Feed curation**(at most once per hour):`lang`\n\n, coarse country, local time, day of week, timezone offset,`topic`\n\n, and the plugin version go to the edge service so it can pick fresh regional sources. No tracking ID, no personal data.**Headline clicks**: links open through a small redirect (it sees the article URL plus`lang`\n\n/`topic`\n\n/version), so dead sources can be swapped server-side and clicks counted in aggregate. There is no per-user identifier.**Never sent, never read**: your code, prompts, files, or Claude conversations. The status line renders from a local cache and never blocks on the network.\n\n**Fully local mode**: set `\"api\": \"off\"`\n\nand `\"endpoint\": \"off\"`\n\nin\n`~/.config/newsline/config.json`\n\n— feeds come from the bundled `feeds.json`\n\nand headlines\nlink straight to the articles. Nothing is contacted except the news feeds themselves.\n\nRe-run `newsline init`\n\n, or edit `~/.config/newsline/config.json`\n\n:\n\n| Key | Default | Meaning |\n|---|---|---|\n`lang` |\n`auto` |\n`ko` `ja` `en` `es` `fr` `de` `pt` `zh` , or `auto` |\n`topic` |\n`general` |\n`general` `tech` `business` `world` `sports` `science` `health` `entertainment` |\n`rotate` |\n`6` |\nseconds per headline |\n`count` |\n`15` |\nheadlines in rotation |\n`maxlen` |\n`120` |\nmax characters (`max` = no cut) |\n`icon` |\n`📰` |\nleading glyph (`none` to hide) |\n`color` |\n`magenta` |\nheadline color: `default` `gray` `white` `cyan` `yellow` `green` `blue` `magenta` `red` |\n`clickhint` |\n`auto` |\nclick-modifier hint before the headline (`auto` per terminal, `off` to hide, or custom text) |\n\nSet one directly with `newsline color <name>`\n\n(e.g. `newsline color gray`\n\n), or run\n`newsline color`\n\nwith no name to step to the next color (default → gray → white → cyan →\nyellow → green → blue → magenta → red). `newsline colorlist`\n\nlists them all with a live\npreview. Changes show on the next status-line tick.\n\nUpdate the same way you installed — your language/topic/color settings are kept:\n\n```\n# curl — re-run the installer (skips setup, just refreshes the CLI)\ncurl -fsSL https://raw.githubusercontent.com/itdar/newsline/master/install.sh | NEWSLINE_NO_INIT=1 sh\n\n# Homebrew\nbrew update && brew upgrade newsline\n\n# npm\nnpm i -g newsline-cli@latest\n```\n\nClaude Code plugin: run `/plugin marketplace update itdar`\n\n, then `/reload-plugins`\n\n(or restart). You can also enable background auto-update under `/plugin`\n\n→ **Marketplaces**.\n\n```\nnewsline uninstall           # restores your previous status line\nnewsline uninstall --purge   # also removes the CLI binary + the PATH line install.sh added\n```\n\nNeeds `bash`\n\n+ `python3`\n\n(macOS / Linux; Windows via WSL).\n\nBug reports and PRs welcome — see [CONTRIBUTING.md](/itdar/newsline/blob/master/CONTRIBUTING.md) for local setup,\ntesting, and the release process.", "url": "https://wpnews.pro/news/show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works", "canonical_source": "https://github.com/itdar/newsline", "published_at": "2026-07-20 15:44:58+00:00", "updated_at": "2026-07-20 15:55:56.105203+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Newsline", "Claude Code", "GitHub", "Homebrew", "npm"], "alternates": {"html": "https://wpnews.pro/news/show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works", "markdown": "https://wpnews.pro/news/show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works.md", "text": "https://wpnews.pro/news/show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works.txt", "jsonld": "https://wpnews.pro/news/show-hn-newsline-one-line-news-in-your-status-line-while-your-ai-agent-works.jsonld"}}