Self-hosted Wakatime-compatible backend for coding statistics.
-
Prepare Environment Variables Copy
.env.exampleto.envand fill in the required values:cp .env.example .env
Generate a salt for
WAKAPI_PASSWORD_SALT:openssl rand -base64 32
-
Start Services
docker-compose up -d
- Port:
3011 - Database: PostgreSQL 17
- Public URL: Set
WAKAPI_PUBLIC_URLin your.env(e.g.,http://localhost:3011)
To track data, configure your WakaTime plugin in your IDE (VS Code, JetBrains, etc.) to use your self-hosted URL:
- API URL:
http://<your-server-ip>:3011/api - API Key: Found in your Wakapi dashboard after registration.