A collection of developer tools
Project description
DevGen
Your AI Powerhouse for Git & Project Management. Stop wasting time on repetitive tasks. Automate your commits, changelogs, and project essentials with a single CLI.
PyPI didn't allow the original name, so you'll find it as devgen-cli on PyPI
DevGen isn't just another CLI tool it's your development workflow on steroids. By leveraging state of the art AI models, DevGen turns tedious manual tasks into one click magic. From semantic commit messages to comprehensive release notes, DevGen handles the boring stuff so you can focus on building.
⚡ Why DevGen?
🧠 AI Brain Semantic, context-aware commit messages powered by Gemini, OpenAI, Claude, HuggingFace, and OpenRouter. It reads your diffs, identifies project manifests, and understands your code.
🚀 Battle Tested Generates Conventional Commits and Semantic Versioning compliant changelogs that actually make sense.
⚡ Lightning Fast Smart caching and async operations mean you never wait longer than necessary.
Project Essentials
Quickly add .gitignore and license files to your existing projects. Access cached templates instantly, even without internet.
🛠️ Zero Friction Interactive setup gets you running in seconds.
📦 Installation
Get started in seconds.
# Recommended: Install via pipx for an isolated environment
pipx install devgen-cli
# Or use uv for blazing speed
uv tool install devgen-cli
# Standard pip install
pip install devgen-cli
# Enable Shell Completion (bash/zsh/fish)
devgen --install-completion
🚀 Quick Start
1. Initialize & Configure Tell DevGen which AI provider to use.
devgen setup config
2. Stage & Commit Stage your files and let AI write the message.
git add .
devgen commit run
Boom. Done.
💡 Feature Deep Dive
🤖 AI Powered Commits
Stop writing "fix bug" or "wip". DevGen analyzes your staged changes, groups them by component, and generates meaningful, semantic commit messages.
# Preview what DevGen will generate
devgen commit run --dry-run
# Commit and push in one go
devgen commit run --push
# Review and edit AI messages before committing
devgen commit run --check
# Made a mistake? Undo the last AI commit and keep changes staged
devgen commit undo
🧠 Context Awareness
DevGen isn't just looking at the code changes; it's looking at the big picture. It automatically detects and analyzes:
- Manifests:
package.json,pyproject.toml,go.mod,Cargo.toml, etc. - Lock Files:
uv.lock,package-lock.json,poetry.lock, etc.
This allows the AI to understand exactly which library versions were updated, leading to hyper-accurate dependency commit messages.
📝 Changelogs & Release Notes
Turn your git history into beautiful, readable documentation.
# Generate a changelog from the last tag
devgen changelog generate
# Create release notes for v2.0.0
devgen release notes --version 2.0.0
🛡️ Essential Files
Don't waste time searching for templates. Generate the essential files for your project instantly.
# Interactive search for gitignore templates
devgen gitignore generate
# Generate a license interactively
devgen license generate
⚙️ Configuration
Your settings live in ~/.devgen.yaml. You can tweak your AI provider, model, and preferences there.
| Option | Description |
|---|---|
provider |
gemini, openai, anthropic, huggingface, openrouter |
model |
Specific model name (e.g., gemini-2.5-flash, gpt-4o) |
emoji |
Enable/disable gitmojis in commits (true/false) |
custom_template |
Custom Jinja2 template for commit messages. |
🎨 Custom Templates
You can define your own commit message structure in ~/.devgen.yaml. Use devgen config info to see available variables like {{ group_name }}, {{ diff_text }}, and {{ context }}.
Example:
custom_template: |
{{ group_name }}: {{ diff_text }}
---
Manifests: {{ context }}
[!TIP] Use
devgen config infoto see a full list of available variables and a template tip!
🤝 Contributing
We love contributions! Found a bug? Want a new feature? Open an issue or submit a PR.
� Acknowledgments
DevGen wouldn't be possible without these amazing open-source projects and AI providers:
- Typer & Rich for building the beautiful, intuitive, and responsive CLI interface.
- Questionary for creating interactive, user-friendly prompts and selection menus.
- Jinja2 for the powerful template engine used to generate files and messages.
- Google Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter for providing the advanced AI models that power the semantic generation features.
�📝 License
Proudly open source under the GPL-3.0-or-later License.
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
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 devgen_cli-0.2.4.tar.gz.
File metadata
- Download URL: devgen_cli-0.2.4.tar.gz
- Upload date:
- Size: 96.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ac100bfb6a37a6943de7a616dd823fb786b53d49323ac8e26eca76b0475b89
|
|
| MD5 |
6a45eb82231dfe6d790dab60d38efa8b
|
|
| BLAKE2b-256 |
e51e05b4c7d2f5ae85c988fa250750df4b8a011235853c31b405288d93ecc2c2
|
File details
Details for the file devgen_cli-0.2.4-py3-none-any.whl.
File metadata
- Download URL: devgen_cli-0.2.4-py3-none-any.whl
- Upload date:
- Size: 113.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e8ceb8ddd1139101004219889fb872c74c45015704b3dc5333d72d2024a21b2
|
|
| MD5 |
955d86a042f839554d3af96b09d33018
|
|
| BLAKE2b-256 |
79b8ff54e5e87d0757d27c11db1ce9393f44fe14725cdda62f87a14e37933c66
|