26 lines
901 B
Markdown
26 lines
901 B
Markdown
# 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](https://github.com/gizak/termui).
|
|
|
|
## Simple usage
|
|
* Up, down, k or j- 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.](assets/img/hmhm-loading.png)
|
|
### Tab 1 - Hacker News
|
|
![Tab #1 - Hacker News](assets/img/hmhm-hn.png)
|
|
### Tab 2 - Lobste.rs
|
|
![Tab #2 - Lobste.rs](assets/img/hmhm-l.png)
|
|
|
|
### Why the name hmhm?
|
|
hmhm (pronounced "humhum") is what I called lobsters when I was a little kid.
|