habits

command module
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

README

habits

Habits is built on the idea that small, consistent actions yield the best results.

Test Status Docker Build Frontend Build

Screenshot

Install

curl -fsSL https://raw.githubusercontent.com/brk3/habits/main/install.sh | bash

Development

# 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}

Configuring

See config.yaml

Hosting

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL