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. Go idle and the session saves itself.
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.
Everything you need to understand where your time goes — without spreadsheets, sign-ups, or remembering to press Start.
A second-resolution counter lives in your status bar, attached to the project you're in. Click it to open the full report. Go idle and the session saves itself.
Current and longest coding streak, calculated automatically.
Set a daily target. The progress ring updates live.
Sessions end automatically when focus is lost.
Saved to .devCodeTracker/sessions.json. Readable by any tool, portable forever, gitignore-friendly.
{ "project": "payments-service", "display_name": "Payments API", "start_time": "2026-05-24T09:12:04Z", "duration_seconds": 8048, "date": "2026-05-24", "synced_online": true }
Offline webview — no browser needed.
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.
Setup is one install. After that, the extension does its job in the background and only shows up when you ask.
Grab it from the Marketplace or install a .vsix manually. Works in VS Code, Cursor, Windsurf and any VS Code-compatible editor.
The status bar shows ⏱ project: 0s the instant a workspace opens. No prompts, no permission dialogs.
The timer follows window focus, so AI assistants like Cursor and Claude Code keep the session alive even when you're not typing.
Step away for your idle window (default 5 min) and the session writes itself to sessions.json. Midnight is split correctly for your timezone.
Self-host the PHP + MySQL backend on any cheap hosting for a web dashboard with streaks, goals and 30-day history. Otherwise nothing leaves your machine.
Open the palette with ⌘⇧P (or Ctrl⇧P) and type Dev Code Tracker.
Dev Code Tracker: Open Dashboard (Online / Local)Open DashboardOpens your full report — the local webview when offline, the online dashboard when sync is set up. Also opens from a status-bar click.
Dev Code Tracker: Show Local DashboardShow Local DashboardForces the local charts even when sync is on, including the live session in real time.
Dev Code Tracker: Show Today's SummaryShow Today's SummaryOpens a Markdown file with today's sessions, totals and per-session times for the current project.
Dev Code Tracker: Configure Online APIConfigure Online APIGuided prompts for your API URL, secret key and idle timeout. Takes under a minute.
Dev Code Tracker: Sync to Server NowSync to Server NowPushes pending sessions to your server — handy after working offline.
Dev Code Tracker: Set Display NameSet Display Name for ProjectGives a folder a friendly name, shown in the status bar, both dashboards and every report.
Dev Code Tracker: Clear Project DataClear Project DataDeletes the local session data for the current project, after asking you to confirm.
Two ways in. The Marketplace is the fastest; the VSIX is for air-gapped setups or pre-release builds.
Search for Dev Code Tracker in the Extensions panel and click Install. Or run it from your shell:
For pre-release builds or fully air-gapped setups. Clone the repo, build, then install the generated .vsix.
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.
Both track the hours you code. The difference is where your data lives and what it costs you. Where WakaTime is the better pick, we say so.
| What matters | Dev Code Trackerlocal-first | WakaTimecloud service |
|---|---|---|
| Price | Free foreverMIT, open source | Free tier + Premiumpaid plans for full history |
| Account required | Nonenothing to sign up for | Requiredto see your stats |
| Where your data lives | Your machineJSON in your repo | WakaTime cloudhosted on their servers |
| Works fully offline | Always | Needs the cloudto sync and report |
| Open source | Client + backendMIT licensed | Plugins onlyserver is proprietary |
| Self-hosting | OfficialPHP + MySQL, any host | Third-party onlye.g. Wakapi |
| Setup before you're tracking | Install, that's itzero config | Install + accountpaste an API key |
| AI pair-programming friendly | Focus-basedcounts agent sessions | Tracks AI-written lines |
| Per-language / file / branch metrics | Project-level only | 600+ languagesfile and branch breakdowns |
| Team dashboards & leaderboards | Solo-focused | Teams & orgsgoals, leaderboards |
| Editor support | VS Code familyCursor, Windsurf, VSCodium | 50+ editorsJetBrains, Vim, Emacs |
If owning your data and zero friction matter more than granular analytics.
If you need depth and team features, and the cloud is fine.
Still have questions? Open an issue on GitHub or email hello@bitlence.com. Comparing tools? Read how to track coding time without WakaTime.
No. The extension is 100% local-first. Session data lives in .devCodeTracker/sessions.json inside your project, and nothing leaves your machine unless you configure the self-hosted sync to your own server.
The timer follows window focus. Step away for longer than your idle threshold — 5 minutes by default, adjustable from 1 to 60 — and the session ends and saves itself. Sessions shorter than 60 seconds are discarded.
Yes. It runs in VS Code, Cursor, Windsurf, VSCodium and any VS Code-compatible editor. Because it tracks focus rather than keystrokes, pair-programming with an AI agent keeps the session alive.
PHP and MySQL on any shared host. Upload api.php and dashboard.html, run setup.sql, set your database credentials and an API key, then run Configure Online API in the editor.
Yes. Plain JSON, one record per session, ISO-8601 timestamps — read it with jq, a spreadsheet or your own scripts, and add the folder to .gitignore if you don't want it committed.
Nothing. Dev Code Tracker is free and open source under the MIT licence. The optional backend only costs whatever your own hosting costs.
Thirty seconds to install. Zero ongoing thought.
Built and maintained in-house by Bitlence founder Kuldipsinh Parmar. See all products.