Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
TypeScript 99%
Dockerfile <1%
Shell <1%
README.md
devict-events #
A small project for devICT event-related things.
- A process that polls the OpenMeet API for upcoming events and sends slack notifications about them.
- An API for more easily interacting with devICT event data.
Event Notifier #
On a configurable interval the loop:
- Fetches events for the next 7 days from OpenMeet, authenticating via ATProto (handle + app password) on the first call and refreshing the OpenMeet access token as needed.
- Diffs the response against the slugs seen on the previous fetch to find new events, then notifies every configured channel about each one.
- On the configured day-of-week and time-of-day (in
America/Chicago), sends a digest of the upcoming week to every channel.
Events API #
A simple fastify API, with an OpenAPI spec generated from JSON schemas attached to the routes directly.
Configuration #
Available config can be seen in .env.example, with more details in src/config.ts.
Run #
npm start # poll loop
npm run once # single fetch, weekly-digest format, then exit
npm run once event [slug] # single fetch, new-event format
Test, lint, and typechecking #
npm run check