Skip to content
O/THE OPEN ALTERNATIVE
↑↓to navigate↵to selectescto close
Code Time

Code Time

Track and analyze your coding habits with per-minute resolution across VS Code, JetBrains, and AI agents. Export raw data and visualize trends with a modern dashboard.

Code Time is an open-source alternative to:

Code Time preview

Code Time

Code Time is a privacy-respecting analytics tool for developers to track coding time across popular editors and AI agents. The application records per-minute activity, visualizes habits, and allows data export while ensuring source code never leaves your machine.

Key Features

  • Editor Integration: First-class plugins for VS Code, JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc.), and VS Code-derived editors like Cursor and Windsurf
  • AI Agent Tracking: Monitor sessions from Claude Code, Codex, OpenCode, Pi, Amp, Gemini CLI, and Kimi Code with token usage and cost estimates
  • Privacy-First: Only file paths, languages, and timestamps are recorded—source code remains local. Data is exportable via JSON, CSV, or REST API
  • Unlimited History: Free tier includes forever retention with per-minute resolution
  • Cross-Platform: Native companion app for iPhone, iPad, and Mac (not available in EU/China due to regulations)
  • Data Visualization: Modern dashboard with daily distribution, language breakdown, project totals, and calendar heatmaps
  • Widgets & Badges: Embeddable SVG widgets for READMEs, blogs, or personal sites
  • Open Data: Full data export capability to connect with other platforms or self-hosted services

Tech / Self-Hosting

Code Time is a cloud-based service with official plugins for major editors. While the core service is hosted, all raw data can be exported and self-hosted. The application is built with a focus on privacy and data ownership, making it suitable for developers who want to maintain control over their coding metrics.