Habits is built on the idea that small, consistent actions yield the best results.
curl -fsSL https://raw.githubusercontent.com/brk3/habits/main/install.sh | bash
# Build the project
make build
# Start a habits-server
make server
# Start a frontend
make frontend
# Track a habit with a note
habits track guitar "practiced riffs"
# > Access frontend on localhost:5173/habits/{habit}See config.yaml
A docker-compose.yml is included for a full working setup. It's fronted by a Caddy reverse proxy
which also hosts the habits-frontend.
This is secured by a wildcard letsencrypt cert, based on this guide.
# Fetch your wildcard cert
docker exec acme.sh --register-account -m my@example.com --server letsencrypt --set-default-ca
docker exec acme.sh --issue -k 4096 -d aiectomy.xyz -d '*.aiectomy.xyz' --dns dns_acmedns
# Bring up the habits stack
docker compose up -d