A terminal-based Reddit thread viewer built with Textual. Watch live comments from Reddit threads in your terminal with a beautiful TUI interface.
- Live comment streaming from Reddit threads
- Support for multiple thread types:
- Soccer match threads
- Soccer post-match threads
- Fantasy Premier League rant threads
- NFL game threads
- NFL post-game threads
- Beautiful terminal UI with:
- Easy navigation with keyboard or mouse
- Comment threading and indentation
- Color-coded usernames, scores, and timestamps
- Auto-scrolling with new comments
- Configurable refresh rate
- Clone the repository:
git clone https://github.com/yourusername/reddit-stream-console.git
cd reddit-stream-console
- Create a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt
- Set up your Reddit API credentials:
- Create a Reddit app at https://www.reddit.com/prefs/apps/
- Create a
.env
file with your credentials:
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USER_AGENT=your_user_agent
Run the app:
# Make sure your virtual environment is activated
python main.py
Navigation:
- Use arrow keys or mouse to navigate menus
- Enter to select
- Escape to go back
- Q to quit
- R to manually refresh comments
- End to scroll to bottom
Thread types and search criteria can be configured in config/menu_config.json
. Each thread type can specify:
- Subreddit to search in
- Required title keywords
- Required flair
- Maximum thread age
- Number of threads to fetch
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.