Wakapi
Tracking tool for coding statistics, compatible with WakaTime.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Wakapi is a free, open-source coding time tracker. It records how long you code by project, programming language, editor, host, operating system and more, and generates statistics charts. It is an open-source alternative to WakaTime and collects data directly with WakaTime's open-source client plugins. The project is written in Go and released under the MIT license. Its author, Ferdinand Mütsch, also runs a free hosted instance at wakapi.dev.
Key Features
- Multi-dimensional statistics: Aggregates coding time by project, language, editor, host and operating system, and generates charts
- Public leaderboard: Compare your coding time with other developers on the leaderboard
- README badges: Generate coding time badges that can be embedded in pages such as a GitHub README
- Weekly email reports: Get a weekly summary of your coding activity by email
- REST API: Provides a simple, easy-to-use REST API that is partially compatible with the WakaTime API
- WakaTime integration: Use WakaTime and Wakapi side by side, or forward heartbeat data to WakaTime through the relay feature
- Prometheus metrics export: Easy to plug into existing monitoring systems
- GDPR compliant and fast
Target Users and Use Cases
- Developers who want to understand their coding habits and enjoy looking at statistics
- Individuals or teams who want to replace WakaTime and keep control of their own data
- Developers who want to show their coding time on a personal homepage or in open-source projects
- Users who want to feed coding time data into monitoring systems such as Prometheus/Grafana
Deployment Options
There are several ways to use Wakapi. Whichever you choose, you will need to configure the client separately.
- Use the official cloud service: Sign up for an account at wakapi.dev and start using it.
- Run a release with one command:
curl -L https://wakapi.dev/get | bash - Docker:
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:latest
You can also deploy with Docker Compose, which supports managing sensitive variables with Docker Secrets. On Kubernetes, you can use the community-provided Helm chart.
4. Build from source: Run go install github.com/muety/wakapi@latest, then download the default configuration file config.default.yml, modify it, and run ./wakapi -config wakapi.yml. When running it standalone, it is recommended to configure it as a systemd service.
Client Setup
- Following the official WakaTime plugin guide, install the WakaTime plugin for your IDE or editor.
- Edit
~/.wakatime.cfg, setapi_urlto the address of your Wakapi server (for examplehttp://localhost:3000/api, orhttps://wakapi.dev/apiif you use the cloud service), and setapi_keyto the API key you get from the Wakapi web interface.
Technical Requirements
- The backend is written in Go and uses SQLite by default; MySQL and PostgreSQL are also supported
- Can be configured through a configuration file or environment variables
- Can be deployed via Docker, a binary, or from source
Notable Points
- Fully open source (MIT), self-hostable, and you stay in control of your data
- Compatible with the WakaTime ecosystem, so you can use the many existing editor plugins as they are
- The official cloud instance has recorded hundreds of thousands of hours of coding time and has thousands of users
- The maintainer has limited time and is currently not accepting pull requests
Discover more
Flipt
Feature flag solution with support for multiple data backends (alternative to LaunchDarkly).
Aastro
Extensible API Gateway written in Go. Load custom plugins to extend functionality.
Coder
Remote development machines on your own infrastructure.
Forgejo
A lightweight software forge focused on scaling, federation, and privacy (fork of Gitea).
HAJIMI Gemini API Proxy
HAJIMI Gemini API Proxy is a lightweight proxy server that makes it easier and more flexible to access the Google Gemini API, with features such as authentication and rate limiting.
Judge0 CE
API to compile and run source code.