With super RE-toot you can easily automate re-toots/re-blogs from your Mastodon account. It only retoots, toots from accounts which are in a List and are using a certain hashtag. Both values can be configured.
The software is written in node.js.
Name | Version |
---|---|
dotenv | ^16.0.3 |
masto | ^4.10.0 |
Stores all config information.
Key | Description | Example |
---|---|---|
instanceUrl | URL of your instance account | https://mastodon.social |
ownAccountName | Your account name without | example_bot |
listName | Your list Name | reoot |
tag | The tag for filtering | retoot |
statusesLimit | Limit on the amount of statuses | 2 |
Stores the TOKEN
information. You can generate a TOKEN
by going to: Settings -> development. Create a new app, you can choose your own name. The app needs to read
and write
. After that you will be able to create the Token. Keep this token a secret.
- Git clone thie Repo.
- Copy the .env.example to .env and change fill in your TOKEN.
- Copy the config.example.json to config.json and fill in your matching values.
- Create a cronjob like the following one runs the script every 5 minutes.
*/5 * * * * cd /your/path/to/the/repe && docker run -v "$(pwd)"/config.json:/app/config.json:ro -v "$(pwd)"/.env:/app/.env:ro ghcr.io/chaostreff-flensburg/superretoot:latest >/dev/null 2>&1
To get a new version of the project just pull the new image.
docker pull ghcr.io/chaostreff-flensburg/superretoot:latest
Be aware of the Mastodon Rate limit!
Does not boost boosted toots. If the account in the list has boosted a toot containing the configured hastag it won't be boosted.
Be aware of edited toots. A boosted toot can be edited including the hashtag. The toot is still boosted even if the hashtag is not configured.
@chaos_fl (an awesome hackspace from nothern germany) re-toots every toot from users on the list retoot with the hashtag #ctfl. For Example this toot. The goal is to make our community members more visible and engage on more content.