A command-line interface Reddit client written in Bash that lets you browse Reddit from your terminal with a clean, colorful interface.
- 🎨 Colorful and clean terminal interface
- 👀 Browse subreddits and view posts
- 🖼️ View images as ASCII art in terminal
- 💬 View nested comments with proper threading
- 🔄 Refresh posts and comments
- 🎯 Load more comments on demand
- 🔒 Secure credential management
- 🚀 Fast and lightweight
- Bash 4.0+
curljq(JSON processor)figlet(for splash screen)chafa(for ASCII art images)- Reddit API credentials
- Clone the repository:
git clone https://github.com/WeWeBunnyX/Le-Termuddit.git
cd Le-Termuddit- Make scripts executable:
chmod +x *.sh- Install dependencies:
sudo apt install jq curl figlet chafasudo dnf install jq curl figlet chafasudo pacman -S jq curl figlet chafabrew install jq curl figlet chafa| Distribution | Package Manager | Command |
|---|---|---|
| OpenSUSE | zypper | sudo zypper install jq curl figlet chafa |
| Alpine | apk | sudo apk add jq curl figlet chafa |
| Gentoo | emerge | sudo emerge jq curl figlet chafa |
| Void Linux | xbps | sudo xbps-install -S jq curl figlet chafa |
-
Create a Reddit App:
-
Run Termuddit:
./termuddit.sh1. Start the application:
./termuddit.sh --noimgOr just use ./termuddit.sh to render images along with the post (without --noimg flag). The images are converted to ASCII art and may not be in full quality/resolution due to terminal limitations
2. Enter a subreddit name when prompted (e.g., "linux", "programming")
3. Choose number of posts to fetch
- Enter post number to view its comments
r- Refresh postsq- Return to main menu
m- Load more commentsr- Refresh current commentsq- Return to posts view
Images in posts are automatically converted to ASCII art using chafa. The quality depends on:
- Terminal color support (256 colors recommended)
- Terminal font (Unicode support required)
- Terminal window size
termuddit/
├── termuddit.sh # Main script
├── authenticate.sh # Reddit API authentication
├── get_posts.sh # Post fetching and display
├── get_comments.sh # Comment fetching and display
└── splash.sh # Splash screen
- Credentials are stored locally in
credentials.txt - Access token is stored in
access_token.txt - Both files are git-ignored
Contributions are welcome, you may open a pull request or submit an issue.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- Reddit API Documentation
- Reddit OAuth2 Guide
- JQ Manual
- Bash Documentation
- Chafa Documentation
- Figlet Documentation
- WeWeBunnyX (@WeWeBunnyX)
If you found this project helpful, please give it a ⭐️!








