/mstdnotify

Command line utility: read new (and dismiss) Mastodon (Pleroma) notifications

Primary LanguagePythonBSD Zero Clause License0BSD

mstdnotify.py

Command line utility: read(and dismiss) new Mastodon (Pleroma) notifications.

Usage mstdnotify.py

Required requests library.

Read mention notifications for Pleroma user:

python3 mstdnotify.py --server_url https://pleroma.example --token <USER_TOKEN> --exclude follow --exclude favourite --exclude reblog --exclude poll --exclude pleroma:emoji_reaction

Obtain USER_TOKEN: https://docs.joinmastodon.org/client/authorized/#flow

Required scope: read:notifications read:statuses write:notifications

pleroma_sendmail_mention.sh

Sending new mention notifications using sendmail.

Usage pleroma_sendmail_mention.sh

pleroma_sendmail_mention.sh https://pleroma.example <USER_TOKEN> user@example.net