1212
100LinesOfPythonCode/#1039_Reddit_Top_Posts_Viewer at patch-4 · hack9me/100LinesOfPythonCode · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Reddit Top Posts Viewer #1039

A compact Python script (<100 lines) that lets you view top Reddit posts right from your terminal.


Features

  • Fetches top posts from any subreddit (default: r/all)
  • Supports different timeframes — hour, day, week, month, year, all
  • Opens selected posts directly in your browser
  • No Reddit API key or login required

Installation

  1. Clone this repository
    git clone https://github.com/<your-username>/reddit-top-viewer.git
    cd reddit-top-viewer
    

Install Dependencies

pip install -r requirements.txt

Run the python file

python ./reddit_top_viewer.py