beaverhabits-caldav-bridge/README.md

35 lines
1 KiB
Markdown
Raw Normal View History

2025-05-03 17:26:46 -04:00
# 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:
2025-05-03 17:33:42 -04:00
# Change this to the root of the repository
2025-05-03 17:26:46 -04:00
context: ./bridge
ports:
- "8004:8000"
environment:
# FILL THESE IN
2025-07-01 19:42:22 -04:00
# If you are using TRUSTED_LOCAL_EMAIL, leave the username and password blank
2025-05-03 21:19:55 -04:00
TIMEZONE: EST
BEAVERHABITS_URL: "" # no path, just the base URL
2025-05-03 17:26:46 -04:00
BEAVERHABITS_USERNAME: "" # yes i know this is bad
BEAVERHABITS_PASSWORD: "" # however, i don't care
restart: unless-stopped
2025-05-03 17:33:42 -04:00
```
Then configure it in home assistant with the URL
`http://[ip]:8004/caldav/`