Repository navigation
Releases
NeNe Wire v0.4.0 (beta)
NeNe Wire v0.4.0 (beta): it remembers.
curl -fsSL https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.sh | bashirm https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.ps1 | iexSaved stories and translations
- Stories and translations are saved to
~/.local/state/nene-wire/archive.txt(at most every 30 seconds after something changes, and when you quit) - The next start begins with them at once: the boot sequence no longer waits for the network
- Each feed is asked only for what changed (
ETag/Last-Modified), and the same story is never translated twice, across restarts too - Stories that were published since last time join the cycle quietly instead of all cutting in as breaking news
- Stories older than 7 days are dropped.
--demosaves nothing
Narrow terminals
The status line no longer cuts off the key hints. When the window is narrow it drops the less important items first (FEED, NET, fetch failures, TRANS, then the ←→, SPC and t hints) and always keeps the story number, breaking news, the paused mark, s 設定 and q 終了. The settings screen's key bar always keeps w 保存 and Esc 閉じる.
Beta. Verify by hand with sha256sum --check SHA256SUMS; the installers do this for you and install nothing if it fails.
NeNe Wire v0.3.0 (beta)
NeNe Wire v0.3.0 (beta): the settings screen, a translation switch, and installing from PowerShell.
curl -fsSL https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.sh | bash# from PowerShell (installs into WSL and adds a `nene-wire` command for PowerShell and cmd)
irm https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.ps1 | iexSettings screen (s)
The strip turns into the settings screen, in the same 15 rows:
- FEEDS: select with
↑↓,Spaceon/off,aadd (name and URL; Japanese works),eedit,ddelete (asks first),ttest a feed right now (how many stories, what language, how long) - DISPLAY (
Tab): display language, translation on/off, seconds per story, theme (PHOSPHORAMBERCYANMAGENTA), data rain, original headline wsaves,Esccloses (asks if you have unsaved changes). Saved as plain text in~/.config/nene-wire/settings.txt
Translation on/off (t)
While stories are running, t switches translation on or off, saves it, and redraws the current story in the original or in Japanese at once. The status line shows TRANS オフ while it is off.
PowerShell
install.ps1 runs the same installer inside your WSL distribution, then adds %LOCALAPPDATA%\nene-wire\bin\nene-wire.cmd (which starts it through wsl.exe) to your user PATH.
Also
- Four color themes
- The status line shows
t 翻訳ands 設定 - When
install.shis run from a non-login shell (wsl -e,bash.exefrom PowerShell), it explains why~/.local/binmay not be on PATH yet
Beta: saved articles are still to come. Verify by hand with sha256sum --check SHA256SUMS; the installers do this for you and install nothing if it fails.
NeNe Wire v0.2.0 (beta)
NeNe Wire v0.2.0 (beta): the effects and translation.
curl -fsSL https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.sh | bash
nene-wire # live feeds
nene-wire --demo # offline, with made-up feeds and storiesEffects
Every story gets the full treatment, drawn with nothing but characters and colors:
- Decrypt:
復号中 NN%while each character spins through katakana and hex before locking in (one at a time, left to right, or scattered) - Switch: the old story's characters fall away under gravity, or a scan line wipes it
- Ghost in the signal: twice per story the signal glitches (
S1GN4L ▒▒▒▒ L0ST) - Intercept: breaking news sounds an alarm with hazard stripes and a crawling
INTERCEPT ■ 緊急傍受 ■ PRIORITY: ALPHAbanner - Boot sequence: a boot log built from the real fetch results, with a hex dump
- HUD: a sweeping light, a breathing frame, data rain, sync countdown, uptime, and a fuse burning down to the next story
About 2% CPU in a 120×30 terminal.
Translation (English → Japanese)
With Argos Translate installed, English stories are shown in Japanese with the original headline underneath. Offline, no account, no API key:
curl -fsSL https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install-translator.sh | bashNeeds Python 3 and pip, about 470 MB, and no PyTorch. Without it, stories run in their original language and are marked 未翻訳.
Also
- On narrow terminals (80 columns) the header keeps the time instead of cutting it off
- The fetcher's User-Agent no longer carries a version number
Beta: saved articles and a settings screen are still to come. Verify by hand with sha256sum --check SHA256SUMS; install.sh does this for you and installs nothing if it fails.
NeNe Wire v0.1.0 (beta)
The first beta of NeNe Wire: a resident news ticker for your terminal.
It clears the screen and takes the top 15 rows, full width. Headlines and ledes from your feeds cycle through it one at a time, every 12 seconds. Each feed is refetched every 15 minutes in the background, and newly arrived stories cut in marked 速報 (breaking).
curl -fsSL https://raw.githubusercontent.com/hideyukiMORI/nene-wire/main/install.sh | bash
nene-wire # live feeds: NHK, BBC World, NPR News, The Guardian World
nene-wire --demo # offline, with made-up feeds and stories- Keys:
qquit · space pause/resume ·→/←next / previous. However it ends (even a crash), your terminal is restored - Fetches politely: one feed at a time, conditional requests (
ETag/Last-Modified), and backoff from 2 to 60 minutes on failure - Japanese text is laid out by cell width using a table generated from Unicode 16.0's EastAsianWidth.txt, so wide characters never break the frame
- Requirements: Linux x86_64 with glibc 2.35+ (Ubuntu 22.04+) and
curl. Tested on Ubuntu under WSL2 with Windows Terminal. No Swift needed (statically linked standard library)
Beta: effects (decoding headlines, typewriter, scan lines, data rain), translation, saved articles and a settings screen are not in yet. Feeds are fixed for now.
Verify by hand: download both files and run sha256sum --check SHA256SUMS (install.sh does this for you and installs nothing if it fails).