SBK CodeTracker
Automatic, privacy-respecting coding-time tracking for VS Code, Cursor, Antigravity and other VS Code–based editors.
Your activity syncs to your own dashboard: time per project and language, edits, commits, debugging, builds and
tests, terminal usage, streaks and goals.
Getting started
- Sign in to the dashboard and create an API token (Settings → API tokens).
- Run SBK CodeTracker: Set API Token from the Command Palette and paste it.
- Code. The status bar shows today's time and progress toward your daily goal.
Activity is recorded locally even before you connect, so nothing is lost.
What makes the numbers trustworthy
- Only the focused window counts. Several open windows or devices never double-count the same minute; the server
merges activity from all devices into one timeline.
- Idle-aware. Gaps longer than your idle timeout (default 5 min) are not counted.
- Nothing is lost offline or on crash. Activity goes to a durable on-disk queue first and is uploaded with retries;
every item has a unique id, so retries never create duplicates. Files left behind by a crashed window are picked
up by the next one.
- Clock-skew tolerant. The server corrects a wrong system clock.
- Real edits only. Reloads from disk (git checkout, external tools), formatter edits on save and undo/redo are not
counted as typing. Pastes and large inserts (AI completions, snippets) are counted separately from typed characters.
Commands
| Command |
|
| SBK CodeTracker: Show Menu |
Status-bar menu: dashboard, sync, pause, token, log |
| SBK CodeTracker: Set API Token / Remove API Token |
Connect or disconnect this editor |
| SBK CodeTracker: Pause Tracking / Resume Tracking |
Pause for 30 min, 1 h, 4 h, this window or until resumed |
| SBK CodeTracker: Sync Now |
Upload queued activity immediately |
| SBK CodeTracker: Open Dashboard / Show Log |
|
Privacy
SBK CodeTracker never sends file contents, terminal command arguments or clipboard contents. Settings under
codeTracker.privacy.* let you hash or omit file paths and project names and hide branch names and the hostname;
codeTracker.exclude and codeTracker.excludeProjects stop tracking entirely for matching files and projects, and
every tracker (git, terminal, tasks, debug, diagnostics) can be switched off individually. Git commit tracking is
disabled in untrusted workspaces. The token is stored in your OS keychain, and the endpoint setting can only be
changed in user settings (workspaces cannot redirect your token).
Self-hosting
Advanced: point codeTracker.apiUrl at your own Supabase project's ingest function and codeTracker.dashboardUrl at
your own dashboard. A public guide for hosting the backend isn't available yet.