amoorion-mastodon¶
Mastodon plugin of amoorion: post, read, reply and delete through the REST API of a Mastodon (or compatible) server.
Secrets in amoorion’s vault: mastodon/uri (the server, e.g.
https://mastodon.social) and mastodon/token (access token of an
application from Preferences → Development, scopes read:accounts read:statuses write:statuses; deleting is part of write:statuses).
The server’s character limit is asked once (/api/v2/instance, 500 when it
doesn’t say) and checked before sending; links count as 23 characters.
Links¶
Its vault entry¶
task vault:new makes this entry in a KeePassXC file; scopes are the keys it
needs, optional the keys it can use.
{
"vault": {
"mastodon": {
"description": "A Mastodon (or compatible) account through the REST API",
"scopes": {
"uri": "The server, e.g. https://mastodon.social",
"token": "Access token (Preferences, Development), scopes read:accounts read:statuses write:statuses"
},
"optional": {}
}
}
}