Back to directory

Productivity & Utilities · Time & Task Management

Wakapi

Self-hosted coding statistics compatible with WakaTime clients

Wakapi is a Go service that collects coding heartbeats and reports activity by project, language, editor, host, and operating system. It is MIT-licensed for developers and teams that want self-hosting, and wakapi.dev offers a free hosted account with paid features. Its compact scope suits personal coding reports more than full team time management.

Key facts

License
MIT
Main language
Go
Maintainer
Ferdinand Mütsch and community contributors
First released
2019
Latest release
2.18.2, October 14, 2026
GitHub stars
4,459, October 2026
Hosted option
Wakapi Cloud, free account with paid subscription features

What Wakapi is

Wakapi is an individual-led open-source project maintained by Ferdinand Mütsch, with contributions from the wider community. The repository was created on May 21, 2019, and describes Wakapi as a minimalist, self-hosted backend compatible with WakaTime for tracking coding statistics. Mütsch is the dominant contributor, although others have also contributed to the project. The official website lists 4,371 users and 58,2098 tracked coding hours. These figures appear with spaced digits and therefore should not be treated as precise without clarification. Wakapi’s stated priorities include compatibility with WakaTime client tools, focused coding statistics, self-hosting, and relatively simple deployment.

How it works

Wakapi’s workflow is client driven. Users install a WakaTime plugin or compatible client in an editor, set its local configuration to the Wakapi API endpoint, and enter an API key. The client runs locally and periodically sends coding heartbeats to the server. Its dashboard organizes statistics by projects, languages, editors, hosts, operating systems, and other coding activity dimensions. Documented features include public leaderboards, badges, weekly email reports, a REST API, and optional Prometheus exports. The README characterizes WakaTime compatibility as partial, so it should not be interpreted as complete protocol or feature equivalence. Documentation also mentions WakaTime integration and imports from WakaTime or other Wakapi instances, without establishing whether queued heartbeats transmit after intermittent connectivity. Wakapi focuses on coding statistics rather than comprehensive productivity or team management.

Architecture and recent releases

Wakapi is a deployable Go service configured through a YAML file or environment variables. GORM supports SQLite, MySQL, MariaDB, and Postgres. SQLite is the default, while MySQL is described as the most extensively tested option. Documented deployment methods include Docker, release binaries, a curl installer, source builds, Docker Compose, and a Kubernetes Helm chart. The default server port is 3000. Configuration covers database settings, reverse-proxy authentication, TLS, cookies, OIDC, SMTP, metrics, retention, and scheduled jobs. Release notes describe maintenance related to bug fixes, authentication boundaries, aggregation, migrations, and database behavior. Release 2.18.2, published October 14, 2026, adds an index to the heartbeats table through AutoMigrate. Building this index can take seconds to several hours, depending on table size, so operators should plan upgrades accordingly.

License and pricing

Wakapi is released under the MIT License, allowing commercial use, modification, redistribution, and operation as a hosted service, subject to license terms and notices. wakapi.dev is described as a free hosted cloud service, with paid plans that add more functionality. Stripe is identified as the payment provider, but subscription prices, plan names, and billing intervals are not stated. Self-hosting avoids a software license fee, yet operators must provide and secure infrastructure, persistent storage, backups, TLS, monitoring, upgrades, and any required email delivery. SQLite is the default database; MySQL, MariaDB, and Postgres are also supported. Authentication options include cookies, API keys, trusted reverse-proxy headers, and configurable OIDC. Trusted-header authentication requires careful proxy configuration because README guidance warns that mistakes can create security problems.

Limitations and how it compares

Wakapi’s documented scope is narrower than that of a broad productivity platform. Its README describes a minimalist, partially WakaTime-compatible backend and lists statistics, badges, weekly email reports, a REST API, WakaTime integration, Prometheus exports, and self-hosting. The documentation does not support the specific claim that Wakapi lacks personal goals, team functions, embeddable charts, or particular integration categories, although it does establish that WakaTime compatibility is partial. Wakapi suits users seeking open-source coding statistics, WakaTime client compatibility, self-hosting, and operational control. Its fit depends on individual reporting and administration requirements.

Main features

  • Coding dashboards. Aggregated heartbeats provide statistics for projects, languages, editors, hosts, operating systems, and coding activity over time.
  • WakaTime compatibility. WakaTime client tools can be configured to send activity to a Wakapi API endpoint using an API key.
  • REST API. The REST API provides HTTP access to statistics and administration functions for integrations, scripts, and dashboards.
  • Weekly reports. Optional weekly email reports summarize coding activity when mail delivery and an appropriate user address are configured.
  • Prometheus metrics. A configurable metrics endpoint exposes Wakapi measurements, enabling Prometheus-compatible monitoring systems to collect, analyze, and display application performance data.

Self-hosting Wakapi

Wakapi can run with Docker, a release binary, the curl installer, Docker Compose, a Kubernetes Helm chart, or a source build using Go. The simplest documented setup uses SQLite and persistent storage; larger installations can configure MySQL, MariaDB, or Postgres. The server listens on port 3000 by default, and production deployments should use HTTPS. Configure persistent storage, password salt or cookie settings, database options, and mail settings if email features are needed. Back up the database and review migration notes before upgrades. Release 2.18.2 adds a heartbeats index through AutoMigrate, and its construction may take from seconds to several hours on large tables. No fixed CPU or memory requirement is published, so capacity depends on workload and configuration.

Strengths

  • MIT licensing allows commercial hosting and modification.
  • SQLite makes a personal deployment inexpensive to operate.
  • WakaTime clients reduce setup work for supported editors.
  • The API and Prometheus endpoint suit automation and monitoring.

Drawbacks

  • Feature coverage is materially smaller than WakaTime's.
  • Large upgrades can require lengthy database index migrations.
  • Maintainers temporarily state that pull requests are not accepted.

What teams replace with it

Teams usually evaluate Wakapi when they want to move off WakaTime, Toggl Track, RescueTime.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Wakapi

Frequently asked questions

Is Wakapi free?

The software is free and open source under the MIT License, so self-hosting requires no software license fee. Wakapi.dev offers a free hosted cloud service alongside paid plans with additional functionality. The documentation does not state subscription prices, plan names, or billing intervals. Self-hosting may still incur infrastructure and administration costs for storage, backups, email, domains, security, and maintenance.

Can I use Wakapi commercially?

Yes. The MIT License allows commercial use, modification, redistribution, and operation of a hosted service, subject to its terms and notices. Businesses should secure deployments, protect API keys, configure HTTPS, and satisfy applicable privacy obligations. The imprint states that paid Wakapi.dev features use Stripe for subscription management and financial transactions. It does not list subscription prices or plan details.

What does Wakapi need to self-host?

The simplest documented installation is a release binary or Docker container backed by SQLite and persistent storage. Production deployments can use MySQL, MariaDB, or Postgres, and Docker Compose or a Kubernetes Helm chart are also documented. Configure HTTPS, database settings, and security values such as the password salt or cookie key. Configure SMTP if email features are required. No fixed hardware requirement is published.

How does Wakapi compare with WakaTime?

Wakapi accepts WakaTime client activity and reports core statistics for projects, languages, editors, hosts, and operating systems, although its README characterizes compatibility as partial. Wakapi is open source and self-hostable, while descriptions of Wakapi.dev identify it as a hosted cloud service offering both free and paid options.

Is coding activity private in Wakapi?

Self-hosting lets an operator keep heartbeat data on infrastructure they control and configure authentication, retention, database, and network settings. The hosted service stores account and heartbeat-related data described in its privacy notice, including pseudonym, hashed password, dates, anonymized IP information, and file paths that may contain a local pseudonym. The imprint states that Stripe handles paid subscriptions. Review access, API keys, TLS, backups, and retention before collecting sensitive activity data.

Similar projects to compare

Sources

Last updated 2026-10-22.