mastodon.plugin.zsh

April 19, 2023 ยท View on GitHub

License Awesomebot Build Status Megalinter

Table of Contents

Tools for interacting with mastodon from the command line.

Configuration

Create a configuration file at ~/.mastodon-tools/preferences.sh and set FEDIVERSE_HOME in it. the tools do no fancy parsing, they just source preferences.sh to find out what fediverse host is home for you.

FEDIVERSE_HOME='https://hachyderm.io'

Included Scripts

ScriptOriginal SourceDescription
mastodon-last-postHereShows when the user last posted. Requires that their home server allows unauthenticated API read access.
mastodon-summaryHerePrints a quick summary of a given mastodon user. Requires that their home server allows unauthenticated API read access.
mastodon-user-profileHereUses macOS open command to open browser pages for the given fediverse users on your server so you can easily follow them.