Wakapi
Its author, a student and WakaTime fan, didn't want to pay $9/month for data about his own
keystrokes - so Wakapi was born, a self-hosted, WakaTime-compatible backend for coding
statistics. The compatibility is the killer design decision: the official WakaTime plugins for
VS Code, JetBrains IDEs, Vim, and dozens of other editors work unmodified - just point the
plugin's API URL at your Wakapi instance with your personal key, and heartbeats flow to your
server instead of a third party's. Duration inference matches WakaTime's own algorithm, with a
configurable timeout (10 minutes by default). From that stream Wakapi builds statistics and
plots across projects, languages, editors, hosts, and operating systems, plus the fun extras:
public leaderboards (optionally login-gated, with configurable aggregation windows), badges
for GitHub readmes, and weekly email reports. A REST API serves your data programmatically,
Prometheus export feeds your existing Grafana, and a WakaTime relay mode can mirror heartbeats
to both services during migration - with one-click import of historical WakaTime data. Written
in Go, it is lightning fast and light enough for the smallest instance, storing to SQLite,
PostgreSQL, or MySQL, with configurable data retention for GDPR peace of mind. Deliberately
smaller than WakaTime, deliberately yours.
Deploy