Watches for Phabricator emails regarding certain tags and forwards them to a Discord webhook.
All config is in environment variables. Make sure to bind mount the directory which new mail will appear in to /mail on the container.
| Key | Description | Type |
|---|---|---|
LOOKOUT_WEBHOOK |
Discord webhook url | string |
LOOKOUT_STAMPS |
Phabricator stamps (X-Phabricator-Stamps, e.g. tag(#ultarviolet) or subscriber(@Sportzpikachu)) to watch for. Lookout will send a webhook if a phabricator email matches any of LOOKOUT_STAMPS. Comma seperated. |
[]string? |
- reply to message based on
Thread-Topicheader- persistent storage (sqlite?) linking
Thread-Topics to latest Discord message id
- persistent storage (sqlite?) linking
- go packages
- file watching with fsnotify/fsnotify
- logging with log/slog
- go unit testing with testing
- mail parsing with net/mail
- gitlab ci/cd
- setting up a personal runner
- docker in docker
- building docker in gitlab ci