8000 GitHub - SVIGHNESH/omanews · GitHub
[go: up one dir, main page]

Skip to content
SVIGHNESHPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0