Reddit CLI (v1.0)

Reddit cli to slack at work with python

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

68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f36714a704371763565777a5158487556704c2f67697068792e676966

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!

GitHub

https://github.com/Schwidola0607/Reddit_CLI_basic