No description
Find a file
2019-08-29 21:42:41 +02:00
assets/img Add assets files. 2019-08-29 20:39:39 +02:00
main.go Add keys Left and Right to switch tab. Also, add Escape as quit key. 2019-08-29 20:22:11 +02:00
README.md README: Add information about refreshing content. 2019-08-29 21:42:41 +02:00

hmhm 🦞

List latest news items from Hacker News and Lobste.rs in the terminal. It refreshes automatically every 5 minutes.

hmhm is a tool I developed to get a feeling how one could develop a TUI (Terminal User Interface) based app in Go. I tried a few TUI high level libraries but settled on termui.

Simple usage

  • Up, down, k or j keys - to change focus up or down.
  • Left, Right, h or l - to switch tab.
  • Enter - open up web browser with the URL for the focused news item.
  • r - refresh content for the active tab.
  • Escape or q - to quit

Loading news items.

Loading news items.

Tab 1 - Hacker News

Tab #1 - Hacker News

Tab 2 - Lobste.rs

Tab #2 - Lobste.rs

Why the name hmhm?

hmhm (pronounced "humhum") is what I called lobsters when I was a little kid.