Metadata-Version: 2.4
Name: caldav2ntfy
Version: 0.1.2
Summary: Monitor caldav file changes and send notifications to an ntfy server
License-File: LICENSE
Author: Nazih Boudaakkar
Author-email: nazih.boudaakkar@proton.me
Requires-Python: >=3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: icalendar (>=7.0.3,<8.0.0)
Requires-Dist: inotify (>=0.2.12,<0.3.0)
Requires-Dist: requests (>=2.32.5,<3.0.0)
Description-Content-Type: text/markdown

# caldav2ntfy

This is a simple utility that lets you send notifications to an ntfy server on new caldav events

## Configuration

The cli utility expects config file in:

- $XDG_CONFIG_HOME/caldav2ntfy/config.toml
- /etc/caldav2ntfy/config.toml

> [!NOTE]
> You can pass a custom config file with `--config` flag

### Template Configuration file

```toml
[app]
default_watch_dir="/path/to/caldav/calendar/to/watch"

[ntfy]
server="https://ntfy.sh/"
topic="your_topic"
token="access_token_if_private"
```

## Run

`caldav2ntfy --config ~/.config/caldav2ntfy/config.toml --ntfy-server https://ntfy.sh/ --topic test_topic`

