Skip to content

Utility for desktop notifications from caldav calendar

Notifications You must be signed in to change notification settings

Truenya/caldav_daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caldav notification daemon

изображение

prepare

pip install -r requirements.txt
sudo ln -s $PWD/caldav-fetch.py /usr/bin/caldav-fetch.py
go mod tidy

run

go run main.go & disown

or build and run

go build -o caldav_daemon .
./caldav_daemon & disown

to stop

killall caldav_daemon
or
killall go

environment variables to configure

must be set

  • CALDAV_USERNAME
  • CALDAV_PASSWORD
  • CALDAV_URL

optional

  • CALDAV_NOTIFY_ICON
  • CALDAV_SERVER_OFFSET_HOURS default - same as server
  • CALDAV_REFRESH_PERIOD_MINUTES default 10
  • CALDAV_NOTIFY_BEFORE_MINUTES default 5
  • CALDAV_NOTIFY_WITH_SOUND default no. if not empty - sound will be produced

for better experience

it is useful to create env file with environment variables and source it