Turn AI waiting time into better health.
CodeFit is a VS Code / Cursor extension that suggests a quick physical exercise while you wait for AI. Stay active, track your progress, and build a healthy coding habit — fully local, no account required.
Features
- Quick exercises — squats, push-ups, stretches, plank, and more
- Random workouts — a new exercise each session
- Live timer — tracks how long you spend on each exercise
- Progress stats — workouts, streak, active minutes, and estimated calories
- Auto-trigger — optional prompts after AI chat activity
- Local-first — stats stored on your machine (
globalState) - Opt-in telemetry — anonymous usage analytics (disabled by default)
Commands
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
| Command | Description |
|---|---|
CodeFit: Start Exercise |
Open the exercise screen |
CodeFit: Statistics |
View your progress dashboard |
CodeFit: Settings |
Open CodeFit settings |
Settings
| Setting | Default | Description |
|---|---|---|
codefit.exerciseInterval |
1 |
Show exercise every N-th auto-trigger |
codefit.randomExercises |
true |
Pick a random exercise |
codefit.sound |
true |
Play sound on completion |
codefit.enableNotifications |
true |
Show completion notification |
codefit.autoTrigger |
true |
Suggest exercise after AI activity |
codefit.enableTelemetry |
false |
Anonymous analytics (opt-in) |
How it works
- Finish an AI session (or run Start Exercise manually)
- CodeFit shows a short workout with a timer
- Press Done when finished
- Your stats update — streak, minutes, and calories
Privacy
- Workout data stays local on your device
- Telemetry is off by default
- When enabled, only anonymous events are sent (no code, no AI prompts)
- Events: exercise started/completed, statistics viewed, settings opened
Requirements
- VS Code
1.85.0or newer - Works in Cursor and VS Code
Release Notes
0.1.0
- Initial release with exercises, statistics, and opt-in telemetry
License
MIT — see LICENSE file in the extension package.