Skip to content

Felix-Suen/Reddit-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Simple Command Line Interface

productive tool for redditors

Windows/MacOS/Linux supported.

Getting Started

Make sure all libraries are installed with pip

import praw
from functools import partial
import platform
from colorama import Fore, Style
from PIL import Image
import urllib

Change login credentials to your own Reddit Developer App

reddit = praw.Reddit(client_id= 'YOUR_CLIENT_ID',
                     client_secret= 'YOUR_CLIENT_SECRET',
                     username= 'YOUR_REDDIT_USERNAME',
                     password= 'YOUR_REDDIT_PASSWORD',
                     user_agent= 'anystring')

Run the program

python readit.py

Happy Browsing!

alt text

Commands

-h h help.........Get a list of commands

lm................Display the all comments in the current post

up................Upvote the current post

down..............Downvote the current post

asc...............View image as ASCII art

v.................View the image without downloading

b.................Back to the subreddit

r.................Reset the program

q quit............Quit the program

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages