wakapi
📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics
What is wakapi?
📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics
Overview of wakapi
What it is
Wakapi is a minimalist, self-hosted backend for coding statistics. It is compatible with WakaTime, allowing users to track their programming activity across projects, languages, editors, hosts, and operating systems. The project is free and open-source, built by developers for developers, and can be run on a personal server or used via a hosted cloud service at wakapi.dev.
Key features
- Free and open-source software under the MIT license.
- Statistics for projects, languages, editors, hosts, and operating systems.
- Badges for displaying coding stats.
- Weekly email reports.
- REST API for programmatic access.
- Partially compatible with WakaTime and supports WakaTime integration.
- Support for Prometheus exports.
Use cases
Wakapi is suitable for developers who want to self-host their coding statistics without relying on third-party services. It can be used to monitor personal productivity, generate reports, and integrate with existing WakaTime client tools. The project also offers a public leaderboard feature for optional community comparison.
Getting started
To quickly run a release, use the following command:bash$ curl -L https://wakapi.dev/get | bashFor Docker deployment, create a persistent volume and run the container:bash$ docker volume create wakapi-data$ SALT=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)$ docker run -d --init -p 3000:3000 -e WAKAPI_PASSWORD_SALT=$SALT -v wakapi-data:/data --name wakapi --restart unless-stopped ghcr.io/muety/wakapi:latestAlternatively, compile from source:bash$ go install github.com/muety/wakapi@latest$ curl -o wakapi.yml https://raw.githubusercontent.com/muety/wakapi/master/config.default.yml$ ./wakapi -config wakapi.ymlAfter setting up the server, configure the WakaTime client by editing ~/.wakatime.cfg with the server URL and API key.
License and pricing
The project is licensed under the MIT license. It is open-source and free to use. The hosted cloud service at wakapi.dev is also free, though specific pricing details for the cloud service are not stated in the provided documentation.
Based on the project's public README and repository metadata.