/versammlungen-in-dresden

Mastodon bot for public assemblies in Dresden, Germany

Primary LanguageTypeScriptMIT LicenseMIT

Versammlungen in Dresden

This is a bot to automatically post new public assemblies listed on dresden.de to Mastodon.

The bot is run via cron-scheduled GitHub Actions every hour for normal updates (during the daytime) and once a day to boost posts for assemblies happening on the same day.

Got any feedback or suggestions? Feel free to open an issue, send a pull request or contact me on Mastodon.

Setup

To install dependencies:

bun install

To run:

bun run src/update.ts
# or
bun run src/remind.ts

Be sure to set MASTO_SERVER_URL, ACCESS_TOKEN and ACCOUNT_ID in your env.

This project was created using bun init in bun v1.0.1. Bun is a fast all-in-one JavaScript runtime.