Skip to main content

Developer task tracking and smart AI commit CLI tool

Project description

       _____             _______                 _    
      |  __ \           |__   __|               | |   
      | |  | |  ___ __   __| | _ __  __ _   ___ | | __
      | |  | | / _ \\ \ / /| || '__|/ _` | / __|| |/ /
      | |__| ||  __/ \ V / | || |  | (_| || (__ |   < 
      |_____/  \___|  \_/  |_||_|   \__,_| \___||_|\_\
 
 A developer task tracking and AI-powered Git commit CLI tool
                     โ€” DevTrack โ€”

๐Ÿท๏ธ Badges

Python Version License: MIT Stars Last Commit


๐Ÿš€ DevTrack CLI

๐Ÿ› ๏ธ DevTrack is a lightweight developer productivity CLI tool for tracking tasks and generating meaningful Git commit messages (AI-powered) without leaving the terminal. It works both online (via OpenRouter) and offline (via Ollama).


โœจ Why DevTrack?

Modern developers juggle dozens of tasks daily โ€” but Git alone doesnโ€™t track the why behind each change.

๐Ÿ”น Project managers use Jira.
๐Ÿ”น Designers use Figma.
๐Ÿ”น Developers useโ€ฆ their memory?

DevTrack fills the gap by giving you a developer-first micro-task tracker that lives right in your terminal.

  • ๐Ÿง  Track your current focus
  • ๐Ÿ“ Generate structured commit messages
  • ๐Ÿข Avoid messy, vague Git history
  • ๐Ÿ’ป Stay in flow โ€” no switching tabs or opening heavy tools

โœจ Features

  • โœ… Add, list, and remove tasks
  • ๐Ÿง  Generate smart commit messages based on task description and git diff
  • ๐ŸŒ Supports OpenRouter and Ollama for online/offline usage
  • ๐Ÿ“ Stores tasks locally in .devtrack.json
  • ๐Ÿ–ฅ๏ธ Runs from the terminal as devtrack <command>

๐Ÿ”ง Installation

Clone and install locally (editable mode)

git clone https://github.com/mrdegbe/devtrack.git
cd devtrack
pip install -e .

๐Ÿ“Œ Usage

โž• Add a Task

devtrack add "Write unit tests"

๐Ÿ“‹ List Tasks

devtrack tasks

๐Ÿ—‘๏ธ Remove a task

devtrack remove <task_id>

๐Ÿ“ฆ Commit with Task

devtrack commit <task_id>

Commits with AI-generated commit message. Git must be initialized and have clean staging for this to work.

๐Ÿ“Š View Summary

devtrack summary

Shows completed task stats.


๐Ÿง  How It Works

  • Tasks are stored locally in ~/.devtrack.json
  • Each task has an ID, description, tag, and completion status
  • Git commits are generated using task data
  • Keeps your Git history meaningful and linked to your actual progress

๐Ÿ“‚ Project Structure

devtrack/
โ”œโ”€โ”€ devtrack/                  # Main package
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ cli.py                 # CLI entry point (Typer app)
โ”‚   โ”œโ”€โ”€ commits.py             # Commit generation logic
โ”‚   โ”œโ”€โ”€ tasks.py               # Task management logic
โ”‚   โ””โ”€โ”€ utils.py               # Utility functions (including config & AI query logic)
โ”‚
โ”œโ”€โ”€ tests/                     # (optional) Unit tests for the CLI and modules
โ”œโ”€โ”€ examples/                  # (optional) Sample commands and use cases
โ”‚
โ”œโ”€โ”€ .devtrack.json             # Local task storage (generated at runtime)
โ”œโ”€โ”€ .devtrackrc                # Optional runtime config (e.g., selected AI)
โ”œโ”€โ”€ .env                       # API keys and environment config
โ”œโ”€โ”€ pyproject.toml             # Packaging and dependencies
โ”œโ”€โ”€ requirements.txt           # Pip installable requirements
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ .gitignore


๐Ÿงฐ Requirements

  • Python 3.7+
  • Git (for commit generation)
  • Typer CLI: python -m pip install typer[all]

๐ŸŒฑ Roadmap & Features

  • Add/complete/list tasks
  • Git commit integration
  • Task filtering by tag
  • Task priority levels
  • GitHub issue linking
  • Daily journal export
  • Zsh/Bash shell completion

๐Ÿงช Development

For development, make sure you install DevTrack in editable mode:

pip install -e .

Then run your tool from anywhere using:

devtrack <command>

๐Ÿ‘จโ€๐Ÿ’ป Contributing to DevTrack

Thanks for considering contributing! ๐Ÿ’ก

How to Contribute

  1. Fork the repo
  2. Create a branch (git checkout -b feature-idea)
  3. Make your changes
  4. Commit and push
  5. Open a Pull Request ๐Ÿš€

We welcome bug fixes, feature ideas, and even documentation improvements!


๐Ÿ›ก .gitignore

Make sure your .gitignore includes:

.env
.devtrack.json
.devtrackrc
__pycache__/
*.pyc
devtrack.log

๐Ÿ“œ License

This project is licensed under the MIT License.


๐Ÿ™Œ Author

Created by Raymond Degbe ๐Ÿ’ป


๐Ÿ’ฌ Philosophy

Great developers donโ€™t just write code โ€” they manage focus. DevTrack helps you turn microtasks into momentum.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devtrack-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devtrack-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file devtrack-0.1.0.tar.gz.

File metadata

  • Download URL: devtrack-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for devtrack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72b3e43cb1486f9cc67d7b22398f592422e0237c94ceb583d8326a2577ce2a2e
MD5 20da1e00cef7d0fed25db05424c15a95
BLAKE2b-256 11200582888aed3448d885b2a2a1812ab8a571a4fa3ca7798012868c68931709

See more details on using hashes here.

File details

Details for the file devtrack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: devtrack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for devtrack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e6e763ad6959be9a8ba022d1835392b23c3686d8b4d42d82d116b2887f926c
MD5 3a69625ebca88e00f22fa0dea2e4ae14
BLAKE2b-256 1ad9621a697b2c209fdf5e92985b765a3b93b9de2a0fa0170fc8f78699d2fda9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page