TabNews CLI is a terminal based application (TUI) for the Brazilian news website TabNews.
It is made in Go using the libraries:
- gocui for the TUI. This is one the best TUI libraries I've even seen. Supports even mouse interaction!
- go-term-markdown for Markdown rendering.
I created this TUI app inspired by the lazygit great Git terminal client, that also uses gocui.
- Clone the repo or download and extract the zip file.
- Run:
go build
inside the directory to compile and create the executable. - Run:
./tn-cli
- Download the binary for your platform from the releases.
The project needs help with these items.
- Main interface created
- Accessing contents API
- Load TabNews recents posts via API
- Load TabNews relevant posts via API
- Show articles list on the left side view
- Show article content on the right side reader view
- Load article pages with arrows
- Caching loaded data for faster access
- Fix known bug on the left side list scroll
- Show a bottom line with available commands and app version
- Improve the reader view to show contents better, with
markdown
and links. - Add your feature to the list...
Action | Key |
---|---|
Refresh Content | R |
Quit | Ctrl+C, Q |
Scroll Up | ↑ |
Scroll Down | ↓ |
Toggle Views | tab |
Change to Relevant | 1 |
Change to Recent | 2 |
Next Page | → |
Previous Page | ← |