Mastodon-compatible bot for posting updates about changes and impediments of Warsaw public transport. https://fedi.wojciech.space/@wtp_waw_bot
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-02-17 20:50:46 +01:00
src Fix posting to Mastodon (wrong publicity mode) 2025-02-17 20:50:46 +01:00
.gitignore Initial version 2025-02-15 16:18:58 +01:00
CHANGELOG.md Fix posting to Mastodon (wrong publicity mode) 2025-02-17 20:50:46 +01:00
LICENSE.md Initial version 2025-02-15 16:18:58 +01:00
package-lock.json Initial version 2025-02-15 16:18:58 +01:00
package.json Fix posting to Mastodon (wrong publicity mode) 2025-02-17 20:50:46 +01:00
README.md Add threads handling in case of an update 2025-02-17 17:28:09 +01:00

WTP Waw Bot

Bot for posting the latest news from Warsaw Transport Authority page, parsed from RSS feed, to Mastodon and BlueSky.

Bot parses RSS feeds from Warsaw's Public Transport Authority webpage for new events of changes or impediments.

Refresh of impediments feed occurs every five minutes, of changes every two hours.

Installation

Clone project and install dependencies

  git clone https://codeberg.org/wojciech_space/wtp-fedi-bot
  cd wtp-fedi-bot
  npm install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

BEARER_TOKEN - to interact with GoToSocial/Mastodon API. Details regarding generating token in GoToSocial can be found here.

START_DATE - to filter out older messages about changes or impediments.

INSTANCE_URL - root URL of your API server, without trailing forward slash (/)

Acknowledgements

License

GNU AGPLv3

Authors