Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richardarpanet/red-to-ruq
Re-post 'hot' posts from a target Reddit.com subreddit and post that content to a destination Ruqqus.com Guild.
https://github.com/richardarpanet/red-to-ruq
python-library python3 reddit ruqqus
Last synced: 13 days ago
JSON representation
Re-post 'hot' posts from a target Reddit.com subreddit and post that content to a destination Ruqqus.com Guild.
- Host: GitHub
- URL: https://github.com/richardarpanet/red-to-ruq
- Owner: richardARPANET
- License: apache-2.0
- Created: 2021-01-01T12:38:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T23:23:50.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T02:45:01.759Z (about 1 month ago)
- Topics: python-library, python3, reddit, ruqqus
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# red-to-ruq
When executed this script will re-post 'hot' posts from a target Reddit.com subreddit and post that content to a destination Ruqqus.com Guild.
If ran multiple times, it will NOT repost duplicate content.
## Why use this?
If you're starting a brand new Guild and would like to pre-seed it with some content to start the community.
## Installation
```bash
pip install -r requirements.txt
```## Usage
Set the following enviroment variables:
```
REDDIT_CLIENT_SECRET
REDDIT_CLIENT_ID
REDDIT_SOURCE_SUBREDDITRUQQUS_APP_ID
RUQQUS_APP_SECRET
RUQQUS_APP_REFRESH_TOKEN
RUQQUS_DESTINATION_GUILD
```See below links for information on sourcing values for these:
- https://github.com/reddit-archive/reddit/wiki/OAuth2-Quick-Start-Example#first-steps
- https://ruqqus.com/help/oauthRun the program:
```bash
python red_to_ruq.py
```Example output:
```
Skipping existing: https://youtu.be/xxxxx
Skipping existing: https://youtu.be/yyyyy
Submitting to Ruqqus: ""
Skipping existing: https://streamable.com/xxxx
Submitting to Ruqqus: ""
Skipping existing: https://www.youtube.com/watch?v=zzzz
Submitting to Ruqqus: ""
```