Slow Zone Bot¶
Posts new and fixed MBTA slow zones every morning, with links back to the dashboard.
Repo @mbtaslowzonebot on Mastodon
| Stack | A single Python script |
| Runs on | GitHub Actions, daily at 13:05 UTC |
| Deploys | Nothing to deploy: the workflow runs whatever is on main |
flowchart LR
sz["slow-zones"] --> json[("dashboard.transitmatters.org<br/>static/slowzones/all_slow.json")]
json --> bot["Slow Zone Bot<br/><small>GitHub Actions</small>"]
bot --> x("X / Twitter") & masto("Mastodon") & bsky("Bluesky") & slack("Slack")
Good to know¶
- Every PR runs the bot with
--dry-run, so you can see what it would post. - If
all_slow.jsonwasn't updated today, the bot fails on purpose. Check slow-zones first.