Passeriform / snooRand

snooRand fetches a random post from a subreddit. That's it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snooRand

snooRand fetches a random post from a subreddit. That's it.

The project is a flask based application using PRAW for reddit parsing.


To start using:

  • Create new virtualenv python -m virtualenv venv

  • Activate the virtualenv

    • Windows \> . venv/Scripts/activate
    • Linux/OSX $ . venv/bin/activate
  • Install dependencies python -m pip install -r requirements.txt

  • Create a script application key-secret pair on reddit developer API

  • Modify .env file accordingly

  • Run the application python main.py

About

snooRand fetches a random post from a subreddit. That's it.

License:MIT License


Languages

Language:HTML 47.7%Language:Python 36.6%Language:CSS 11.9%Language:Shell 3.8%