Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.21 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.21 KB

bem-te-vi

Birthday notification based on contacts stored in CardDAV server.

The message is simple format so it can be bridged and delivered on IRC too.

notification.png

Environment variables

Variable Description Required Default
BTV_DEBUG Show sensitive info about connection and other relevant things N
WEBDAV_SERVER Server domain or subdomain url Y
WEBDAV_ADRESSBOOK Path representing the address book in the DAV service Y
WEBDAV_USERNAME Username used in DAV service Y
WEBDAV_PASSWORD Password used in DAV service Y
WEBHOOK_URL Slack compatible webhook Y
BOT_NAME The name of the bot on chat N Bot defined
ICON_URL Avatar of bot N Bot defined or service default user icon

Usage

GitHub Actions

Simple use bem-te-vi action.

Local

You need to export the variables with the values for use in the execution of the program

$ export VARIABLE=value

And run:

$ go run main.go

License

See LICENSE