24 lines
821 B
Markdown
24 lines
821 B
Markdown
# hmhm 🦞
|
|
|
|
List latest news items from Hacker News and Lobste.rs in the terminal.
|
|
|
|
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 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.
|
|
* 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.
|