Stuendlich Bot

I wanted to have a message in my activitypub timeline every full hour.
So I wrote a bot sending this message with a bit of config options.
This bot is modeled after

Some design decisions for my version:
  • use the activitypub api compatible with Mastodon, GotoSocial and others

  • use only core Python 3.7+. No requests, httpx or httpie - only urllib.request - so this can run anywhere

  • No real templating - a format string has to be enough

  • use of dataclasses to access config values in a nicer way

  • allow setting of timezone

The bot: (German, Europe/Berlin, sends private messages)