Skip to content

(mirror) Watches for Phabricator emails regarding certain tags and forwards them to a Discord webhook. Logo: https://game-icons.net/1x1/delapouite/watchtower.html by Delapouite, CC BY 3.0

License

Notifications You must be signed in to change notification settings

sportshead/lookout

Repository files navigation

lookout

Go Report Card License Gitlab pipeline status

Watches for Phabricator emails regarding certain tags and forwards them to a Discord webhook.

usage

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?

planned features

  • reply to message based on Thread-Topic header
    • persistent storage (sqlite?) linking Thread-Topics to latest Discord message id

things i learned in this project

  • go packages
  • gitlab ci/cd
    • setting up a personal runner
    • docker in docker
    • building docker in gitlab ci

About

(mirror) Watches for Phabricator emails regarding certain tags and forwards them to a Discord webhook. Logo: https://game-icons.net/1x1/delapouite/watchtower.html by Delapouite, CC BY 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published