{"id":28229011,"url":"https://github.com/krikera/dev-grind","last_synced_at":"2026-02-19T12:02:58.131Z","repository":{"id":286437526,"uuid":"961422456","full_name":"krikera/dev-grind","owner":"krikera","description":"A productivity tracker for developers that measures time spent in terminal, git, editor, and builds","archived":false,"fork":false,"pushed_at":"2025-04-06T13:47:32.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T16:34:23.125Z","etag":null,"topics":["analytics","cli","developer-tools","git","metrics","productivity","time-tracking"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dev-grind","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krikera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-06T13:46:42.000Z","updated_at":"2025-04-06T13:50:25.000Z","dependencies_parsed_at":"2025-04-07T01:01:32.565Z","dependency_job_id":null,"html_url":"https://github.com/krikera/dev-grind","commit_stats":null,"previous_names":["krikera/dev-grind"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krikera/dev-grind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krikera%2Fdev-grind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krikera%2Fdev-grind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krikera%2Fdev-grind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krikera%2Fdev-grind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krikera","download_url":"https://codeload.github.com/krikera/dev-grind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krikera%2Fdev-grind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29612510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","cli","developer-tools","git","metrics","productivity","time-tracking"],"created_at":"2025-05-18T15:13:29.868Z","updated_at":"2026-02-19T12:02:58.125Z","avatar_url":"https://github.com/krikera.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev Grind\n\nA developer productivity tracking tool that measures time spent in terminal, git operations, editor activity, and build processes.\n\n\n\n## Features\n\n- **Terminal Tracking**: Monitor shell command usage, execution time and exit codes\n- **Git Activity**: Track commits, branches, merges and other git operations\n- **Editor Usage**: Track time spent in your editor and which files you work on most\n- **Build Time**: Measure how much time you spend waiting for builds to complete\n- **Custom Tags**: Label your work sessions with custom tags for better reporting\n- **Privacy-Focused**: All data stored locally by default, no cloud uploads\n- **Cross-Platform**: Works on macOS, Linux and Windows\n\n## Installation\n\n### Via npm\n\n```bash\nnpm install -g dev-grind\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/yourusername/dev-grind.git\ncd dev-grind\nnpm install\nnpm run build\nnpm link\n```\n\n## Quick Start\n\nStart tracking your development activity:\n\n```bash\ndev-grind start\n```\n\nThis will start the dev-grind daemon that tracks your activity. You'll need to integrate with your shell, git, and build tools for full functionality (see setup instructions below).\n\nView your daily report:\n\n```bash\ndev-grind report\n```\n\n## Setup Instructions\n\n### Terminal Tracking\n\nFor Bash, add this to your `~/.bashrc` or `~/.bash_profile`:\n\n```bash\nsource ~/.dev-grind/temp/bash_hook.sh\n```\n\nFor Zsh, add this to your `~/.zshrc`:\n\n```bash\nsource ~/.dev-grind/temp/zsh_hook.sh\n```\n\n### Git Tracking\n\nTo track Git operations in your repositories:\n\n```bash\n# For a single repository\ngit config --local core.hooksPath ~/.dev-grind/temp/git_hooks\n\n# For all repositories globally\ngit config --global init.templateDir ~/.dev-grind/temp/git_hooks\n```\n\n### Build Tracking\n\nAdd these aliases to your shell profile:\n\n```bash\nalias npm=\"~/.dev-grind/temp/build_hooks/npm-hook.sh\"\nalias yarn=\"~/.dev-grind/temp/build_hooks/yarn-hook.sh\"\nalias pnpm=\"~/.dev-grind/temp/build_hooks/pnpm-hook.sh\"\n```\n\n### Editor Tracking (Coming Soon)\n\nWe're working on plugins for:\n- VS Code\n- JetBrains IDEs\n- Sublime Text\n- Atom\n\n## Usage\n\n### Basic Commands\n\n```bash\n# Start tracking\ndev-grind start\n\n# Check daemon status\ndev-grind status\n\n# Stop tracking\ndev-grind stop\n\n# Tag your current work session\ndev-grind tag \"feature-login\" --description \"Working on login feature\"\n\n# Generate daily report\ndev-grind report\n\n# Generate weekly report\ndev-grind report --week\n\n# Generate monthly report\ndev-grind report --month\n\n# Export data\ndev-grind export --format json --output my-data.json\ndev-grind export --format csv --start 2023-01-01 --end 2023-01-31\n```\n\n## Reports\n\nDev Grind generates reports showing:\n\n- **Time Summary**: How much time you spent in each development activity\n- **Activity Summary**: Count of commands, git operations, builds, etc.\n- **Timeline**: Chronological view of your day's activities\n- **Tags**: Summary of tags you've used to categorize your work\n- **Daily Breakdown**: For weekly or monthly reports\n\n### Sample Report\n\n```\n📊 DEV GRIND PRODUCTIVITY REPORT\n📅 Apr 15, 2025\n\n🕐 Time Summary\n📋 Total tracking time: 7h 45m\n💻 Terminal time: 2h 15m (29%)\n📝 Editor time: 4h 30m (58%)\n🏗️ Build time: 35m (8%)\n⌛ Other time: 25m (5%)\n\n📈 Activity Summary\n🔡 Terminal commands: 145\n🔄 Git operations: 22\n🏗️ Builds: 12\n\n🏷️ Tags\nfeature-login: 8\nbug-fix: 5\nrefactor: 3\n```\n\n## Configuration\n\nConfiguration is stored in `~/.dev-grind/config.json`. You can edit this file directly or use the CLI:\n\n```bash\ndev-grind config set autoStart true\ndev-grind config set reportStyle compact\n```\n\n## Data Storage\n\nBy default, all data is stored locally in SQLite format at `~/.dev-grind/dev-grind.db`.\n\n## Contributing\n\nContributions are welcome! Please check out our [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[MIT](LICENSE) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrikera%2Fdev-grind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrikera%2Fdev-grind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrikera%2Fdev-grind/lists"}