INSTALL:
- install a python environment (e.g. python -m venv venv && source venv/bin/activate)
- Copy the 'example.env' to '.env' and add all your own environment variables (found in reddit prefs page mostly)
- pip install -r requirements.txt (to install required python packages
- run api with 'uvicorn app:app --reload'
- run streamlit with 'streamlit run app.py'
HOW TO USE:
Create a '.txt' file with the subreddits you want to post to use. If it needs flairs you'll be able to select the one you want. Select if you want a text or link category post. Add your data you want to post to the fields provided and submit it.
TXT FILE TIPS:
- text file format should include the 'r/' so 'r/examplesub' is correct but 'examplesub' is not.
- One per line.
- Try not to have any blank empty space before, inbetween or after your text.
PLEASE NOTE:
- This is a work in progress.
- Subreddits have their own moderation rules so you WILL run into problems, learn the issue and send it to me and I'll do my best to find a workaround.
- Swagger UI can be found at http://localhost:8000/docs for api testing (don't forget to auth by using your BEARER_TOKEN from .env first).
COMING SOON:
- Ability to select delay time between posts (helps prevent hitting any posting limits since reddit can delay for 12 minutes if you post too fast too often.
- A 'current user' profile that can be switched so you can post quickly as different accounts.