mastodon-notifier

Lightweight mastodon desktop notification daemon


Introduction

Mastodon notifier it's a simple rust application that connects to the user notification stream and send desktop notification.

Installation

With cargo

sh cargo install mastodon-notifier

Connecting to Mastodon's API

mastodon-notifier needs to access the the Mastodon API of your instance.

Follow this instruction for configuring a mastodon-notifier:

Usage

The binary is named mastodon-notifier and can run as daemon which listens to user notification stream and sends desktop notifications.

sh ❯ ./target/release/mastodon-notifier --host hachyderm.io --user wolf4ood --mode daemon 2022-11-22T18:49:01.532345Z INFO mastodon_notifier::daemon: Found stored token for user wolf4ood@hachyderm.io 2022-11-22T18:49:02.063228Z INFO mastodon_notifier::daemon: Started mastodon notify daemon on account wolf4ood@hachyderm.io

The daemon look in the keyring for the token associated to the account username@instance configured in the previous step.

If it's not available the daemon will wait until it's ready