mastodon audit trail backup
This repository backs up my follower list, following list, blocked accounts list and muted accounts list periodically using GitHub Actions.
Set up
-
Fork this repository.
-
git rm *.txt
and commit. -
Create a Mastodon app.
-
Go to Repository Settings → Secrets and add secrets from your Mastodon app:
- MASTODON_CLIENT_KEY
- MASTODON_CLIENT_SECRET
- MASTODON_ACCESS_TOKEN
-
Go to Repository Settings → Secrets and add the base url of your Mastodon instance:
- MASTODON_INSTANCE
-
See .github/workflows/update.yml and modify the cron schedule (in UTC) as you see fit.
-
Commit and push. Once the time arrives, the cron would work, and commit the lists into
.txt
files and push the changes.