Local-first dev activity tracker — lines written, files edited, AI usage summaries
Project description
DevTrack
Local-first development activity tracker. Tracks lines written, files edited, sessions, and Bash commands — with a web dashboard and optional AI summaries via Ollama.
No data leaves your machine. No accounts. No API keys.
Quick install
pip install devtrack
devtrack start
Dashboard opens at http://127.0.0.1:17321.
Requirements
- Python 3.11+
- macOS (LaunchAgent integration) or Linux (manual start)
- Ollama — optional, for local AI summaries
Usage
devtrack start # Start daemon + open dashboard in browser
devtrack stop # Stop daemon and remove LaunchAgent
devtrack open # Open dashboard (if daemon is already running)
devtrack status # Show running status + dashboard URL
devtrack # Today's summary in terminal
devtrack week # Last 14 days history
devtrack files # Files edited today
devtrack help # Full command list
Dashboard
Web dashboard at http://127.0.0.1:17321:
- Daily metrics: lines written, files edited, sessions, Bash commands
- Bar chart for the last 7 days
- Most-edited files table with project + language detection
- Contribution heatmap (GitHub-style, last 8 weeks)
- AI productivity summary (requires Ollama)
Auto-refreshes every 30 seconds.
Optional: AI summaries with Ollama
No internet required. No API keys.
brew install ollama
ollama pull qwen2.5-coder:3b
# Optional: use the DevTrack Modelfile
ollama create qwen-dev -f Modelfile.qwen-dev
Once Ollama is running, the "Day Summary" block in the dashboard activates automatically.
Data
All data is stored locally:
~/.local/share/devtrack/devtrack.sqlite3
The daemon listens on 127.0.0.1:17321 and is NOT exposed to the network.
Uninstall
devtrack stop
pip uninstall devtrack
rm -rf ~/.local/share/devtrack/
Contributing
See CONTRIBUTING.md.
DevTrack — Español
Tracker de actividad de desarrollo, local-first. Registra líneas escritas, archivos editados, sesiones y comandos Bash — con dashboard web y resúmenes opcionales vía Ollama.
No envía datos a ningún servidor. Sin cuentas. Sin API keys.
Instalación rápida
pip install devtrack
devtrack start
El dashboard abre en http://127.0.0.1:17321.
Requisitos
- Python 3.11+
- macOS (integración LaunchAgent) o Linux (inicio manual)
- Ollama — opcional, para resúmenes IA locales
Uso
devtrack start # Inicia el daemon + abre el dashboard en el browser
devtrack stop # Detiene el daemon y elimina el LaunchAgent
devtrack open # Abre el dashboard (si el daemon ya corre)
devtrack status # Estado del daemon + URL del dashboard
devtrack # Resumen del día en terminal
devtrack week # Historial de los últimos 14 días
devtrack files # Archivos editados hoy
devtrack help # Lista completa de comandos
Resúmenes IA con Ollama (opcional)
brew install ollama
ollama pull qwen2.5-coder:3b
ollama create qwen-dev -f Modelfile.qwen-dev # opcional
Desinstalación
devtrack stop
pip uninstall devtrack
rm -rf ~/.local/share/devtrack/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devtrack_local-0.1.0.tar.gz.
File metadata
- Download URL: devtrack_local-0.1.0.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f3c5882bdd3fcc91b4a0d526ff52ee157eaf6dd4b9f89556a5ea037a9323d7a
|
|
| MD5 |
4d664a76234e59e526777cfd47c466cc
|
|
| BLAKE2b-256 |
5b663774765218ea6abfca5104449153d06628a5724efdb4c70da1842f8c758e
|
File details
Details for the file devtrack_local-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devtrack_local-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e056a0c13bc746d4a2844c63190723681017fe17da369403fe7aeb84a9bc65d4
|
|
| MD5 |
4fb6f82da1483f290424e591ee86edd5
|
|
| BLAKE2b-256 |
e7eda47ef15e8b49a4756e265b572b160185ac4b614d2430b9988e2932ba80fc
|