Depreciated Project
Reddit no longer uses cloudsearch.
Reddit Firstposts
The webapp uses reddit's cloudsearch syntax to find the first posts on a specific subreddit. The script automates the process outlined here.
Installation
Clone Repository
git clone git@github.com:gusberinger/firstposts.git && cd firstposts
Create a Virtual Environment (Recommended)
virtualenv --python=/usr/local/bin/python3.6 env
source env/bin/activate
Install required packages
pip install -r requirements.txt
Fill out credentials
I don't want to give away my own reddit credentials so I gitignore it.
cp config.yml.example config.yml
Setup an app in reddit's preferences page. Then fill out config.yml
completely. A better guide for Reddit's OAuth is available here if you are confused.
Run Flask
python app.py