Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiliankoe/versammlungen-in-dresden
Mastodon bot for public assemblies in Dresden, Germany
https://github.com/kiliankoe/versammlungen-in-dresden
mastodon-bot open-data
Last synced: 3 months ago
JSON representation
Mastodon bot for public assemblies in Dresden, Germany
- Host: GitHub
- URL: https://github.com/kiliankoe/versammlungen-in-dresden
- Owner: kiliankoe
- License: mit
- Created: 2023-09-16T20:04:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T11:00:21.000Z (8 months ago)
- Last Synced: 2024-05-21T11:09:05.341Z (8 months ago)
- Topics: mastodon-bot, open-data
- Language: TypeScript
- Homepage: https://dresden.network/@VersammlungenInDresden
- Size: 820 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Versammlungen in Dresden
This is a bot to automatically post new public assemblies listed on [dresden.de](https://www.dresden.de/de/rathaus/dienstleistungen/versammlungsuebersicht.php) to [Mastodon](https://dresden.network/@VersammlungenInDresden).
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](https://chaos.social/@kilian).
## Setup
To install dependencies:
```bash
bun install
```To run:
```bash
# Fetches new assemblies and posts them to Mastodon
bun run src/update.ts
# Boosts posts for assemblies happening today
bun run src/remind.ts
```Be sure to set `MASTO_SERVER_URL`, `ACCESS_TOKEN` and `ACCOUNT_ID` in your env.