Skip to content

Schwidola0607/Reddit_CLI_basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reddit CLI (v1.0)

Introduction

Why Reddit CLI?

Coworker who sees me looking at something in a browser: "Glad you're not busy; I need you to do this, this, this... " Coworker who sees me staring intently at a command prompt: Backs away, slowly...

Built on top of PRAW and Click

Setup

Create a requirement.txt and fill it with this

praw
click
textwrap
colorama
python-dotenv

Once you have done that, run the following to install those files

$ pip install -r requirements.txt

Get your reddit client_id and client_secret by creating an app here https://www.reddit.com/prefs/apps

Next, create a .env file like the following

CLIENT_ID=<your client id>
CLIENT_SECRET=<your client secret>
REDDIT_USERNAME=<your reddit username>

Usage

Type your password like the gif above and you are set! Happy surfing For more information please use my help menu

--help

Contribution

Pull requests are accepted! Please open an issue if you find any bugs, or have any idea for a feature. Feedbacks are welcomed, especially about UI-design!

Licensed

Apache License 2.0

About

Reddit cli to slack at work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages