Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 2.64 KB

README.md

File metadata and controls

29 lines (24 loc) · 2.64 KB

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