Mastodon Followers
On your display
Displays your Mastodon follower count next to a Mastodon icon.
- Topic
- Social
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
Tested on Ulanzi TC001 only.
Setup
-
Install the "mastodon" icon on your Awtrix clock from the icon library or create your own 8x8 icon named "mastodon".
-
Create a Mastodon application:
- Go to Preferences > Development > New application.
- Create an application with the "read" permission (or at least "read:accounts").
- Copy the generated access token.
-
Edit the script:
- Replace YOUR_ACCES_TOKEN_MASTODON with your Mastodon access token.
- Replace YOUR_INSTANCE with your Mastodon instance domain, for example: mastodon.social.
-
Save the script and show it on your clock.
The follower count is updated every 5 minutes. Press the center button to force an immediate update.
Note: Your Mastodon access token is stored in the script, so only share the script privately if you do not want others to see it.
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.