Wakapi logo

Wakapi

Self-hosted, WakaTime-compatible backend for coding statistics tracking

Wakapi is a minimalist, self-hosted server that tracks your coding activity. Compatible with WakaTime clients, it provides statistics on projects, languages, editors, and more.

Wakapi banner

Overview

What is Wakapi?

Wakapi is a lightweight, self-hosted backend designed for developers who want to track their coding statistics without relying on third-party cloud services. Built as a WakaTime-compatible alternative, it integrates seamlessly with existing WakaTime editor plugins while giving you full control over your data.

Who Should Use It?

Wakapi is ideal for individual developers, small teams, and organizations that value data sovereignty and want detailed insights into their coding habits. Whether you're tracking personal productivity, analyzing project time allocation, or generating team reports, Wakapi provides the metrics you need.

Key Capabilities

The platform collects and visualizes statistics across projects, programming languages, editors, operating systems, and hosts. It supports weekly email reports, public leaderboards, REST API access, Prometheus exports for monitoring integration, and customizable badges. You can run Wakapi on your own infrastructure using Docker, Kubernetes, or as a standalone binary, or use the hosted cloud service at wakapi.dev for a zero-setup experience.

With its focus on performance, privacy, and developer-friendly deployment, Wakapi delivers enterprise-grade coding analytics without the complexity or vendor lock-in.

Highlights

WakaTime-compatible API works with existing editor plugins
Tracks projects, languages, editors, hosts, and operating systems
Multiple deployment options: Docker, Kubernetes, binary, or hosted cloud
Prometheus exports, REST API, badges, and weekly email reports

Pros

  • Full data ownership and privacy through self-hosting
  • Lightweight and fast with minimal resource requirements
  • Drop-in replacement for WakaTime with existing client tooling
  • Flexible deployment with Docker, Kubernetes, or standalone binaries

Considerations

  • Requires manual setup and maintenance when self-hosted
  • Partial WakaTime compatibility may not support all features
  • Limited built-in visualization compared to commercial alternatives
  • Smaller community and ecosystem than established SaaS platforms

Managed products teams compare with

When teams consider Wakapi, these hosted platforms usually appear on the same shortlist.

Clockify logo

Clockify

Time tracking and timesheets for teams and freelancers

Everhour logo

Everhour

Time tracking that integrates deeply with project tools

Harvest logo

Harvest

Time tracking with invoicing and expense tracking

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Developers wanting full control over their coding statistics data
  • Teams requiring on-premises analytics for compliance or security
  • Organizations already using WakaTime clients seeking cost savings
  • Privacy-conscious users who prefer self-hosted solutions

Not ideal when

  • Users seeking zero-maintenance, fully-managed SaaS solutions
  • Teams needing advanced collaboration and project management features
  • Organizations without infrastructure for self-hosting applications
  • Users requiring extensive third-party integrations beyond Prometheus

How teams use it

Personal Productivity Tracking

Developers gain insights into coding patterns, language usage, and time allocation across personal projects with complete data privacy.

Team Performance Analytics

Engineering teams deploy Wakapi internally to generate aggregated statistics and leaderboards without sharing data with external services.

Open Source Contribution Monitoring

Contributors track time spent across multiple open-source projects, generating badges and reports to showcase their involvement.

Compliance-Driven Development Metrics

Organizations in regulated industries collect coding statistics on-premises, meeting data residency and security requirements.

Tech snapshot

Go76%
HTML13%
JavaScript4%
Bru3%
Python1%
Shell1%

Tags

self-hostedwakatime-apicoding-statisticswakatimeproductivitytime-trackerdeveloper-tools

Frequently asked questions

Is Wakapi compatible with my existing WakaTime setup?

Yes, Wakapi is partially compatible with WakaTime. You can use existing WakaTime editor plugins by simply changing the api_url in your ~/.wakatime.cfg file to point to your Wakapi instance.

What databases does Wakapi support?

Wakapi supports SQLite (default), MySQL, and PostgreSQL. SQLite is suitable for single-user deployments, while MySQL and Postgres are recommended for multi-user or high-traffic installations.

Can I use Wakapi without self-hosting?

Yes, you can use the free hosted cloud service at wakapi.dev. Simply create an account and configure your WakaTime client to use the wakapi.dev API endpoint.

How do I migrate my data from WakaTime to Wakapi?

Wakapi supports importing data from WakaTime and other Wakapi instances. The import feature can be enabled via configuration (app.import_enabled) and accessed through the web interface after creating an account.

What monitoring and observability features does Wakapi offer?

Wakapi provides Prometheus exports for metrics collection, a REST API for custom integrations, and supports weekly email reports. You can also generate badges to display statistics publicly.

Project at a glance

Active
Stars
4,077
Watchers
4,077
Forks
259
LicenseMIT
Repo age6 years old
Last commit5 days ago
Self-hostingSupported
Primary languageGo

Last synced 3 hours ago