beaverhabits-caldav-bridge/README.md
2025-05-03 17:33:42 -04:00

33 lines
No EOL
930 B
Markdown

# Beaverhabits - CalDAV bridge
This is a simple container that can connect to Beaverhabits and run a calDAV server that hosts the habits as tasks.
It was mostly generated by AI (Gemini + GPT) and may have bad code, security problems or poor performance, but for anyone else who wants a quick fix, here it is.
I made this to use with Home Assistant's CalDAV integration so I didn't have to write a custom integration.
## Usage
Start up the container with docker-compose
```yaml
version: '3.8'
services:
caldav-bridge:
build:
# Change this to the root of the repository
context: ./bridge
ports:
- "8004:8000"
environment:
# FILL THESE IN
BEAVERHABITS_URL: ""
BEAVERHABITS_USERNAME: "" # yes i know this is bad
BEAVERHABITS_PASSWORD: "" # however, i don't care
restart: unless-stopped
```
Then configure it in home assistant with the URL
`http://[ip]:8004/caldav/`