Omahub
← All plugins
S

Omanews

by SVIGHNESH

Hacker News triage in the bar: unread-count badge, Top/New/Best dropdown, open stories or comments in the browser.

Install
$ omarchy plugin add https://github.com/SVIGHNESH/omanews --enable
Widgets #bar #media

Omanews

Hacker News in the Omarchy bar. Omanews is a triage surface, not a reader: glance at the bar to see how many new top stories arrived, skim headlines in a compact dropdown, and eject to the browser for anything worth reading.

Features

  • Bar glyph with unread badge: count of top-30 stories you haven't seen yet; the badge disappears at zero.
  • Anchored dropdown in the native Omarchy panel style:
    • Top / New / Best tabs.
    • Stories grouped under TODAY and EARLIER.
    • Each row: title, points, and a muted domain · 42 comments · 3h ago sub-line.
    • Unread stories highlighted; read ones plain.
  • No auth, no accounts - only the free official HN Firebase API.
  • Refreshes every 15 minutes; offline it keeps the last data and shows a muted hint.
  • Read-state persists in ~/.local/state/omanews/seen.json (capped at 500 ids). Opening the dropdown does not mark stories read - only opening them does.

Install

omarchy plugin add https://github.com/SVIGHNESH/omanews
omarchy plugin enable vighnesh.omanews
omarchy bar move vighnesh.omanews   # place the widget if needed

Requires curl and jq - standard on Omarchy.

Keys

Key Action
j / k, / Move selection
h / l, / , Tab Switch tab (Top / New / Best)
Enter Open story in browser
c Open HN comments
r Refresh
Shift+R Mark all read
Esc Close

Mouse: click a row to open the story, click the sub-line to open comments.

Uninstall

omarchy plugin remove vighnesh.omanews

State lives in ~/.local/state/omanews/ and can be deleted freely.

License

MIT