HN-TUI - Browse Hacker News from the terminal.
- Browse Hacker News stories (Top, New, Best, Ask HN, Show HN, Jobs)
- Read comments with threaded display
- Keyboard-first navigation
- No authentication required (HN API is public)
- Terminal-native interface using Ratatui
- Smart caching
git clone https://github.com/danielmerja/hn-tui
cd hn-tui
cargo build --release
./target/release/hn-tuicargo install --git https://github.com/danielmerja/hn-tuiSimply run:
hn-tuiNo configuration or authentication needed - the Hacker News API is completely public.
j/k- Navigate up/down in listsh/l- Switch between panes (categories/stories/content)Enter- View story or open commentsp- Refresh current viewq- Quit
Configuration file is optional and located at ~/.config/hn-tui/config.yaml.
You can customize:
- UI theme
- Cache settings
- Media preview settings
HN_TUI_DISABLE_NERD_FONTS=1- Use ASCII fallback icons instead of Nerd Font icons (helpful if icons appear as boxes or question marks)
HN-TUI is a fork of Reddix, refactored to work with Hacker News instead of Reddit.
Key changes:
- Replaced Reddit OAuth with Hacker News Firebase API
- Removed authentication (HN is public)
- Adapted UI for HN story categories
- Simplified configuration
MIT License - see LICENSE for details
This project is based on Reddix by ck-zhang. Original concept and UI design credit goes to the Reddix project.