Logo
Deploy Now

SaaS Alternative

Code Time WakaTime

Stars

4365

Forks

293

Watchers

17

Developer links

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.

Wakapi

Benefits

  • Keep the Plugins, Drop the Fee
  • Official WakaTime editor plugins work unmodified - change one URL and the data flows to you.
  • Keystroke Data Stays Private
  • Every heartbeat about what you code, when, and where lives on your server, GDPR-compliant.
  • Nearly Free to Run
  • A fast Go binary with SQLite - one of the lightest always-on services you can host.
  • Migrate Without Losing History
  • Import your WakaTime history and optionally relay heartbeats to both services.

Features

  • WakaTime-Compatible API
  • Works with official plugins for VS Code, JetBrains, Vim, and dozens more editors.
  • Rich Statistics
  • Charts across projects, languages, editors, hosts, and operating systems.
  • Public Leaderboards
  • Configurable aggregation windows, optionally restricted to logged-in users.
  • Readme Badges
  • Live coding-time badges for GitHub profiles and project readmes.
  • Weekly Email Reports
  • Scheduled summaries of your coding activity delivered automatically.
  • REST API and Prometheus
  • Programmatic data access plus metrics export for Grafana dashboards.