bem-te-vi

command module
v0.0.0-...-4313d23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL