Hackatime tracks how long you code across editors and reports languages and projects. It is a free service from Hack Club and works with the WakaTime plugin ecosystem.
Overview
Hackatime is a free coding time tracker built by Hack Club. It accepts telemetry from editors through WakaTime-compatible plugins, so tools such as VS Code, JetBrains IDEs, Vim, Neovim, Sublime, Cursor, Zed, and others can report activity when you point them at Hackatime's API.
Tracking is automatic: timing starts when you type and pauses when you step away. The service surfaces language statistics, project breakdowns, and file-level views of where time goes. Data can be exported, and an API is available for working with your history outside the web UI.
History retention is indefinite rather than short free-tier cutoffs. Only metadata such as file names, project names, timestamps, and languages is sent—not source code contents. Leaderboards for teams or hackathons are planned.
Accounts are created on the hosted service with an API key for plugins. You can self-host by running your own instance from the open codebase when you want full control over where data lives.
Key features
- WakaTime-compatible editor plugins
- Automatic start-stop time tracking
- Language and project statistics
- File-level time breakdowns
- JSON export of history
- Public API access
- Metadata-only telemetry
- Self-hostable codebase
Use cases
- Personal coding habit tracking
- Team or event time visibility
- Language mix reporting across editors
- Self-hosted time tracking for privacy
- Migrating from WakaTime with same plugins
Open-source alternative to
WakaTime“Hackatime is a free, open-source replacement for WakaTime.” source