
Klokku - track your time and balance your life
Klokku is an application designed to help you achieve a balanced lifestyle by optimizing daily routines and tracking time usage.
You can easily create and adjust time budgets for task groups and enable a structured approach to planning.
You can update your plan weekly, which gives you flexibility and ensures the plan remains realistic and aligned with your life’s demands.
Klokku provides a tool to monitor time allocation, offering insights into how time is spent and helping users make informed adjustments for continuous improvement.
Read more on klokku.com.
Running Klokku
Nightly/Development version
The easiest way to run Klokku is using Docker Compose.
Newest versions of Docker Desktop include Docker Compose built-in.
You can use a script to run all in one command:
curl -sSL https://raw.githubusercontent.com/klokku/klokku/main/install.sh | bash
Or follow these steps:
- Download docker-compose.yml to your local machine.
curl -O https://raw.githubusercontent.com/klokku/klokku/refs/heads/main/docker-compose.yml
- Download database initialization file to
./db/init.sql
curl -sSL -o db/init.sql https://raw.githubusercontent.com/klokku/klokku/refs/heads/main/db/init.sql
- Download .env.template file to your local machine and rename it to
.env
curl -o .env https://raw.githubusercontent.com/klokku/klokku/refs/heads/main/.env.template
- Adjust the configuration in
.env file to your needs.
- Run the following command in the directory where you have placed the files:
docker compose up -d
You can now access Klokku at http://localhost:8181 🚀
Production version
Klokku currently does not have a production version.
The domain model and the API are still in development and may change.
You can run a development version of Klokku to check out the features.
The development version is fully usable, but we cannot guarantee the stability of the API, nor the automatic data migration if the underlying model changes.
CLI
Klokku provides a command-line interface (klokku-cli) for interacting with the Klokku API. It is designed primarily for use by AI agents but works well for scripting and manual use too.
Installation
Homebrew (macOS/Linux):
brew install klokku/tap/klokku-cli
Go install (requires Go 1.26+):
go install github.com/klokku/klokku/cmd/klokku-cli@latest
Or download a binary from GitHub Releases.
Configuration
klokku-cli config init
This creates ~/.config/klokku/config.yaml with your server URL and authentication credentials.
AI Agent Skill
The repository includes an Agent Skill that teaches AI agents how to use Klokku CLI. To install it:
Claude Code:
mkdir -p ~/.claude/skills/klokku-cli
curl -sL https://raw.githubusercontent.com/klokku/klokku/main/skills/klokku-cli/SKILL.md -o ~/.claude/skills/klokku-cli/SKILL.md
Cursor:
mkdir -p ~/.cursor/skills/klokku-cli
curl -sL https://raw.githubusercontent.com/klokku/klokku/main/skills/klokku-cli/SKILL.md -o ~/.cursor/skills/klokku-cli/SKILL.md
Other AI agents: Copy the contents of skills/klokku-cli/SKILL.md into your agent's system prompt or instructions.
API Documentation
The API documentation is available via Swagger UI when the application is running:
To regenerate the Swagger documentation after making changes to the API:
make swagger