Track the hours
you actually code.
A quiet, local‑first timer that sits in your status bar and logs every coding session — automatically, per project. No accounts. No cloud. No timers to start. Just open a folder and ship.
Quiet by default, powerful when you look.
Everything you need to understand where your time goes — without spreadsheets, sign‑ups, or remembering to press Start.
The timer ticks while you work — and steps aside when you don't.
A second-resolution counter lives in your status bar, attached to the project you're in. Click it to open the full report. Idle for five minutes and the session saves itself.
Don't break the chain.
Current and longest coding streak, calculated automatically.
Aim, then watch it fill.
Set a daily target. The progress ring updates live.
Knows when you've stepped away.
Sessions end automatically when focus is lost.
Your data, in your repo, as plain JSON.
Saved to .devCodeTracker/sessions.json. Readable by any tool, portable forever, gitignore-friendly.
14 days at a glance.
Offline webview — no browser needed.
Counts even when an agent is typing for you.
The timer follows window focus, not keystrokes — so pair‑programming with Cursor, Claude Code, or Windsurf keeps the session alive. Works in every VS Code‑compatible editor.
Five steps, then it disappears.
Setup is one install. After that, the extension does its job in the background and only shows up when you ask.
Install once
Grab it from the Marketplace or install a .vsix manually. Works in VS Code, Cursor, Windsurf, and any VS Code‑compatible editor.
Open any project
The status bar shows ⏱ project: 0s the instant a workspace opens. No prompts, no permission dialogs.
Code (or pair with an AI) normally
The timer follows window focus, so AI assistants like Cursor and Claude Code keep the session alive even when you're not typing.
Idle ends the session
Step away for your idle window (default 5 min) and the session writes itself to sessions.json. Midnight is split correctly per your timezone.
Sync (optional)
Self‑host the PHP + MySQL backend on any cheap hosting to get the web dashboard with streaks, goals, and 30‑day history. Otherwise: never leaves your machine.
Eight commands, nothing more to memorize.
Open the palette with ⌘ ⇧ P (or Ctrl ⇧ P) and type Dev Code Tracker.
Dev Code Tracker: Open ReportOpen Report / Dashboard
Opens your full report — local webview if offline, online dashboard if sync is configured. Also fires on a status‑bar click.
Dev Code Tracker: Show Local DashboardShow Local Dashboard
Forces the local graph & charts even when sync is on. Includes the live session in real time.
Dev Code Tracker: Show Today's SummaryShow Today's Summary
Opens a Markdown file with today's sessions, totals, and per‑session times for the current project.
Dev Code Tracker: Configure Online APIConfigure Online API
Guided prompts for API URL, secret key, and idle timeout. Under 30 seconds end‑to‑end.
Dev Code Tracker: Sync to Server NowSync to Server Now
Manually push pending sessions to your server. Useful after working offline.
Dev Code Tracker: Set Display NameSet Display Name for Project
Assign a friendly name to a folder. Syncs to status bar, both dashboards, and all reports.
Dev Code Tracker: Clear Project DataClear Project Data
Permanently deletes local session data for the current project. Asks for confirmation first.
Dev Code Tracker: Toggle Status Bar ModeToggle Status Bar Mode
Active: ⏱ project: 1h 23m 45s · Idle: ⏱ today: 2h 15m.
Up and tracking in thirty seconds.
Two ways in. The Marketplace is the fastest; the VSIX is for air‑gapped or pre‑release builds.
From the Marketplace
Get it directly from the VS Code Marketplace, search for Dev Code Tracker in the Extensions panel, or run it from your shell:
From source or VSIX
For pre‑release builds or fully air‑gapped setups. Pull the repo, build, then load via Command Palette → Install from VSIX.
A real dashboard, on your own server.
Upload two files, run one SQL script, drop in an API key. You get streaks, daily goals, a 30‑day history, and dark mode — all from a single‑file PHP backend.
Welcome back — here's your week
Sun · 24 May 2026 · ISTDaily activity
Does it phone home, share data, or require an account?
.devCodeTracker/sessions.json inside your project. Nothing leaves your machine unless you configure the self‑hosted sync to your own server.How does it handle idle time?
5 min, range 1–60 min). Sessions under 60s are discarded automatically.Will it work with Cursor, Claude Code, and other AI tools?
What does the self‑hosted backend require?
api.php and dashboard.html, run setup.sql, set your DB credentials and API key. Then run Configure Online API from the palette.Is the data format portable?
jq, scripts, or any other tool.How much does it cost?
Start tracking the hours
you actually code.
Thirty seconds to install. Zero ongoing thought. Decades of context.