A local-first, privacy-friendly CLI tool to track your coding time across projects automatically.
- Local-first: No cloud, no tracking, no data leaks. Your activity stays on your machine in a SQLite database.
- Privacy-friendly: Tracks file edits without collecting sensitive content.
- Zero-config: Automatically detects project names based on
.gitfolders. - Fast: Built with Node.js and an asynchronous SQLite engine.
- Background Tracking: Minimal CPU usage, runs as a detached process.
npm link-
Start tracking:
coderoller start
-
Check your status:
coderoller status
-
See today's summary:
coderoller today
-
Stop tracking:
coderoller stop
-
Clear activity history:
coderoller clear
bin/: CLI entry point.commands/: Command logic (start, stop, today, status).watcher/: The background engine that tracks file changes.storage/: SQLite database initialization and queries.
- CLI Framework: commander
- File Watching: chokidar
- Storage: sqlite / sqlite3
- UI: chalk, cli-table3
- Date Handling: date-fns
MIT