Skip to content

feat(service): add Mastodon service#1016

Open
tmchow wants to merge 1 commit into
nikoksr:mainfrom
tmchow:feat/mastodon-service
Open

feat(service): add Mastodon service#1016
tmchow wants to merge 1 commit into
nikoksr:mainfrom
tmchow:feat/mastodon-service

Conversation

@tmchow
Copy link
Copy Markdown

@tmchow tmchow commented Apr 5, 2026

Adds a new Mastodon notification service using mattn/go-mastodon.

Sends direct messages to recipients via the Mastodon API. Each recipient is mentioned in a separate toot with visibility: "direct".

Follows the same pattern as existing services (pushover, discord): client interface, compile-time check, New() constructor, AddReceivers(), and Send().

Files added:

  • service/mastodon/mastodon.go - implementation
  • service/mastodon/doc.go - package documentation with usage example
  • service/mastodon/usage.md - standalone usage guide

Closes #6

This contribution was developed with AI assistance (Codex).

Compound Engineering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(service): Add Mastodon service

1 participant