Date, weather, and RSS headlines from 40+ sources - in your terminal, zero dependencies.
new.sh is a single bash script that shows you
the current date and time, live weather from
wttr.in, and headlines from whichever news and
tech feeds you want. Defaults to BBC, France 24, NPR, and
Slashdot. Run new.sh --config to toggle any of
40+ feeds on or off and set how many headlines each one
shows. No daemons, no dependencies beyond curl.
What you see when you run new.sh:
new.sh above, then move it onto
your $PATH and make it executable:
mv new.sh ~/bin/new && chmod +x ~/bin/new
If ~/bin isn't on your path, add it or use
/usr/local/bin instead. On macOS with Homebrew,
/usr/local/bin is already there.
new
That's it. No config file is required - it works out of the box with the four default feeds.
bash 4+ and curl. Both are present
by default on macOS, most Linux distros, and NetBSD. On
macOS, bash 3 ships with the OS - install a current bash via
Homebrew (brew install bash) if you hit any
issues.
new [--config]
| Command | What it does |
|---|---|
new |
Show date, weather, and all active feed headlines |
new --config |
Open the interactive feed configurator |
new -c |
Shorthand for --config |
| Key | What it does |
|---|---|
t |
Toggle a feed on or off - enter its short key
(e.g. bbc, hn,
krebs)
|
h |
Set a per-feed headline count (1–20) - overrides the default for that source only |
d |
Set the default headline count for all feeds at once |
r |
Reset everything to defaults (BBC, France 24, NPR, Slashdot / 6 headlines) |
q |
Save and quit |
Config is saved to ~/.news/config as plain
key=value pairs.
All feeds available to toggle in new --config.
Use the short key to toggle a feed on or off. Default active
feeds are marked
●.
bbc
●
france24
●
npr
●
npr_politicsreutersguardianaljazeeradwcbcabc_aupropublicaatlanticpoliticohnslashdot
●
phoronixvergearslobstersmit_techwiredtechcrunchinfoqosnews9to5macdevtoso_bloggh_blogfowlerlwnkrebsschneiersansnasaquantasciencedailyspaceeffomgubuntuitsfossnew every time you open a terminal, add
it to your ~/.bashrc or ~/.zshrc:
new
h in the configurator. They persist across runs
in ~/.news/config.
[feed unreachable], it may have moved or
restricted its feed - toggle it off and try an alternative.
The full script - copy it directly if you'd rather not download the file.
Loading new.sh…