Coding Stats is a private, open-source desktop app that tracks your real coding time across VS Code, terminal, and other dev tools. See daily/weekly trends, identify productive hours, and export your stats.
No cloud, no tracking — just local insights to improve your workflow.
- ⏱ Track time spent on developer tools (VS Code, Terminal, Browser, etc.)
- 📊 Daily statistics by category (Coding, Terminal, API Testing, etc.)
- 🧠 Language detection (Python, JavaScript, TypeScript…)
- 💻 Software usage breakdown
- ⚡ Lightweight background tracker
- 🔒 Fully local (SQLite database, no external services)
git clone https://github.com/Chrisiisx/Coding-Stats
cd coding-statspython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpython -m app.trackerpython main.pyCoding Stats runs locally and:
- Detects the active window every second
- Identifies the process (VS Code, Terminal, etc.)
- Classifies it into categories
- Stores aggregated time in a local SQLite database
- Extracts programming language from file names (e.g.
.py,.ts)
All data is stored locally in:
codingstats.dbYou can customize tracked apps and languages:
{
"Code.exe": {
"display_name": "Visual Studio Code",
"category": "Coding"
}
}{
".py": "Python",
".js": "JavaScript"
}app/
├─ tracker.py
├─ dashboard.py
├─ database.py
├─ classifier.py
├─ language_detector.py
config/
├─ apps.json
├─ languages.json- Shareable stats card (export as image)
- System tray integration
- Weekly/monthly reports
- Plugin system for custom apps
- Cross-platform support (macOS, Linux)
Contributions are welcome.
- Add new app mappings in
apps.json - Improve language detection
- Add UI improvements
- Fix bugs / performance issues
git fork
git clone your-forkCreate a new branch:
git checkout -b feature/your-featureThis project is licensed under the MIT License.
Coding Stats:
- ❌ does NOT collect personal data
- ❌ does NOT send data to any server
- ✅ stores everything locally
If you find this project useful:
- star the repository
- share your stats
- contribute
Built for developers who want to understand how they actually spend their time.