- Perform regular or one-time backups of subreddit wikis
To set this up for subreddit(s) of your choice:
- Fork this repo.
- Authorize your Reddit account:
- Follow the instructions here under the OAuth section.
- In GitHub repository settings, go to Settings > Secrets > Actions and add the following repository secrets:
CLIENT_ID
CLIENT_SECRET
USERNAME
PASSWORD
- In
subreddits.ini
, add entries for the subreddits whose wikis you want to back up.- The file contains examples.
- You can only back up wiki pages that are viewable by the authorized account.
- Run the backup:
- Run one-time backup: In GitHub repository, go to Actions > Run Backup > Run Workflow > Run Workflow
- Schedule regular backup: In GitHub repository, go to RunBackup.yml schedule lines. Uncomment these two lines.