Chronix
Track your coding time by file, language, and project in VS Code. All data stays locally on your computer.
Preview
Features
- Track time spent on each file, programming language, and project.
- View hourly coding activity and find your peak productive hours.
- View your daily and weekly activity for the last 4 weeks.
- Set daily coding goals.
- View 4-week summary stats, including daily average, peak day, longest streak, and active days.
- Search and filter through your tracked files, languages, and projects.
- Export reports to Markdown or CSV.
- Runs locally, with all data stored on your machine. No cloud accounts or telemetry.
How It Works
- Chronix starts tracking automatically as you write and edit code.
- Tracking pauses automatically after 2 minutes of inactivity.
- Data is stored locally in your VS Code global storage directory (
chronix-data.json).
Extension Settings
Configure Chronix under Settings (Ctrl+, / Cmd+, > search for chronix):
| Setting |
Default |
Description |
chronix.dailyGoal |
0 |
Daily coding goal (e.g. 2h, 30m, 1h 30m, 45s, or 0 to disable). Shows progress bar in Chronix |
chronix.notifyGoalAchieved |
true |
Show a notification when your daily goal is reached |
chronix.initialItemsLimit |
5 |
Number of items (files, languages, projects) initially visible in the Chronix dashboard |
chronix.maxExpandedItems |
10 |
Maximum number of items (files, languages, projects) shown when expanding a list (+ more) in the Chronix dashboard |
chronix.ignoredPatterns |
[".env", "node_modules"] |
List of file extensions, filenames, or folder patterns to ignore in Chronix tracking |
Contributing
Contributions are welcome. See the Contributing Guidelines to get started.
Acknowledgments
File and language icons provided by Material Icon Theme.
License
This project is licensed under the MIT License.
| |