chore: auto-update README [skip ci]
This commit is contained in:
1 parent
3007623f4c
commit
5682a51d97
1 file changed
+6
-40
@@ -1,26 +1,23 @@
|
|||||||
# DevGen
|
# DevGen
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
**Your AI Powerhouse for Git & Project Management.**
|
**Your AI Powerhouse for Git & Project Management.**
|
||||||
Stop wasting time on repetitive tasks. Automate your commits, changelogs, and project essentials with a single CLI.
|
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
|
> PyPI didn't allow the original name, so you'll find it as **devgen-cli** on PyPI
|
||||||
|
|
||||||
> <a href="https://pypi.org/project/devgen-cli"><img src="https://img.shields.io/pypi/v/devgen-cli?color=blue&label=PyPI&logo=pypi&logoColor=white" alt="PyPI"></a>
|
> <a href="https://pypi.org/project/devgen-cli"><img src="https://img.shields.io/pypi/v/devgen-cli?color=blue&label=PyPI&logo=pypi&logoColor=white" alt="PyPI"></a>
|
||||||
> <img src="https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white" alt="Python">
|
> <img src="https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white" alt="Python">
|
||||||
> <a href="https://github.com/S4NKALP/DevGen/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-GPL--3.0--or--later-blue.svg" alt="License"></a>
|
> <a href="https://github.com/S4NKALP/DevGen/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-GPL--3.0--or--later-blue.svg" alt="License"></a>
|
||||||
> <a href="https://github.com/S4NKALP/DevGen/actions/workflows/publish.yml"><img src="https://img.shields.io/github/actions/workflow/status/S4NKALP/DevGen/publish.yml?branch=main&label=Build" alt="Build Status"></a>
|
> <a href="https://github.com/S4NKALP/DevGen/actions/workflows/publish.yml"><img src="https://img.shields.io/github/actions/workflow/status/S4NKALP/DevGen/publish.yml?branch=main&label=Build" alt="Build Status"></a>
|
||||||
> <a href="https://github.com/S4NKALP/DevGen/actions/workflows/pre-commit.yml"><img src="https://img.shields.io/github/actions/workflow/status/S4NKALP/DevGen/pre-commit.yml?branch=main&label=Pre-Commit" alt="Pre-Commit Status"></a>
|
> <a href="https://github.com/S4NKALP/DevGen/actions/workflows/pre-commit.yml"><img src="https://img.shields.io/github/actions/workflow/status/S4NKALP/DevGen/pre-commit.yml?branch=main&label=Pre-Commit" alt="Pre-Commit Status"></a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
DevGen is an innovative CLI tool designed to streamline your development workflow by automating repetitive tasks such as commits, changelogs, and project essentials. Leveraging state-of-the-art AI models, DevGen transforms tedious manual tasks into one-click magic, enabling you to focus on building and improving your projects.
|
DevGen is an innovative CLI tool designed to streamline your development workflow by automating repetitive tasks such as commits, changelogs, and project essentials. Leveraging state-of-the-art AI models, DevGen transforms tedious manual tasks into one-click magic, enabling you to focus on building and improving your projects.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **AI-Powered Commits**: Generate semantic, context-aware commit messages using AI models from Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter.
|
- **AI-Powered Commits**: Generate semantic, context-aware commit messages using AI models from Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter.
|
||||||
- **Battle-Tested**: Produces Conventional Commits and Semantic Versioning compliant changelogs that make sense.
|
- **Battle-Tested**: Produces Conventional Commits and Semantic Versioning compliant changelogs that make sense.
|
||||||
- **Lightning Fast**: Utilizes smart caching and async operations for speedy performance.
|
- **Lightning Fast**: Utilizes smart caching and async operations for speedy performance.
|
||||||
@@ -29,7 +26,6 @@ DevGen is an innovative CLI tool designed to streamline your development workflo
|
|||||||
- **Customizable**: Define your own commit message structure using Jinja2 templates.
|
- **Customizable**: Define your own commit message structure using Jinja2 templates.
|
||||||
|
|
||||||
## Tech Stack
|
## Tech Stack
|
||||||
|
|
||||||
- **Python 3.10+**: The primary programming language.
|
- **Python 3.10+**: The primary programming language.
|
||||||
- **Typer & Rich**: For building the intuitive and responsive CLI interface.
|
- **Typer & Rich**: For building the intuitive and responsive CLI interface.
|
||||||
- **Questionary**: For interactive prompts and selection menus.
|
- **Questionary**: For interactive prompts and selection menus.
|
||||||
@@ -43,9 +39,7 @@ DevGen is an innovative CLI tool designed to streamline your development workflo
|
|||||||
- **Google GenAI 1.68.0**: For AI model integration.
|
- **Google GenAI 1.68.0**: For AI model integration.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Get started with DevGen in seconds using one of the following methods:
|
Get started with DevGen in seconds using one of the following methods:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Recommended: Install via pipx for an isolated environment
|
# Recommended: Install via pipx for an isolated environment
|
||||||
pipx install devgen-cli
|
pipx install devgen-cli
|
||||||
@@ -61,91 +55,63 @@ devgen --install-completion
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Initialize & Configure
|
### Initialize & Configure
|
||||||
|
|
||||||
Tell DevGen which AI provider to use.
|
Tell DevGen which AI provider to use.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
devgen setup config
|
devgen setup config
|
||||||
```
|
```
|
||||||
|
|
||||||
### Stage & Commit
|
### Stage & Commit
|
||||||
|
|
||||||
Stage your files and let AI write the message.
|
Stage your files and let AI write the message.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git add .
|
git add .
|
||||||
devgen commit run
|
devgen commit run
|
||||||
```
|
```
|
||||||
|
|
||||||
### Preview Commit Message
|
### Preview Commit Message
|
||||||
|
|
||||||
Preview what DevGen will generate without committing.
|
Preview what DevGen will generate without committing.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
devgen commit run --dry-run
|
devgen commit run --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
### Commit and Push
|
### Commit and Push
|
||||||
|
|
||||||
Commit and push in one go.
|
Commit and push in one go.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
devgen commit run --push
|
devgen commit run --push
|
||||||
```
|
```
|
||||||
|
|
||||||
### Review and Edit
|
### Review and Edit
|
||||||
|
|
||||||
Review and edit AI messages before committing.
|
Review and edit AI messages before committing.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
devgen commit run --check
|
devgen commit run --check
|
||||||
```
|
```
|
||||||
|
|
||||||
### Undo Last Commit
|
### Undo Last Commit
|
||||||
|
|
||||||
Undo the last AI commit and keep changes staged.
|
Undo the last AI commit and keep changes staged.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
devgen commit undo
|
devgen commit undo
|
||||||
```
|
```
|
||||||
|
|
||||||
## API Documentation
|
## API Documentation
|
||||||
|
|
||||||
For more detailed API information and available commands, please refer to the [DevGen CLI Documentation](https://devgen.readthedocs.io/).
|
For more detailed API information and available commands, please refer to the [DevGen CLI Documentation](https://devgen.readthedocs.io/).
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
We welcome contributions! Found a bug? Want a new feature? Open an issue or submit a PR.
|
We welcome contributions! Found a bug? Want a new feature? Open an issue or submit a PR.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
To set up the development environment, follow these steps:
|
To set up the development environment, follow these steps:
|
||||||
|
|
||||||
1. Clone the repository: `git clone https://github.com/S4NKALP/DevGen.git`
|
1. Clone the repository: `git clone https://github.com/S4NKALP/DevGen.git`
|
||||||
2. Install dependencies: `pip install -r requirements.txt`
|
2. Install dependencies: `pip install -r requirements.txt`
|
||||||
3. Run tests: `pytest`
|
3. Run tests: `pytest`
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
To deploy DevGen, follow these steps:
|
To deploy DevGen, follow these steps:
|
||||||
|
|
||||||
1. Build the package: `python setup.py sdist`
|
1. Build the package: `python setup.py sdist`
|
||||||
2. Upload to PyPI: `twine upload dist/*`
|
2. Upload to PyPI: `twine upload dist/*`
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
If you encounter any issues, please refer to our [Troubleshooting Guide](https://devgen.readthedocs.io/en/latest/troubleshooting.html).
|
If you encounter any issues, please refer to our [Troubleshooting Guide](https://devgen.readthedocs.io/en/latest/troubleshooting.html).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Proudly open source under the [GPL-3.0-or-later](LICENSE) License.
|
Proudly open source under the [GPL-3.0-or-later](LICENSE) License.
|
||||||
|
|
||||||
## Acknowledgments
|
## Acknowledgments
|
||||||
|
|
||||||
DevGen wouldn't be possible without these amazing open-source projects and AI providers:
|
DevGen wouldn't be possible without these amazing open-source projects and AI providers:
|
||||||
|
|
||||||
- **Typer** & **Rich** for the CLI interface.
|
- **Typer** & **Rich** for the CLI interface.
|
||||||
- **Questionary** for interactive prompts.
|
- **Questionary** for interactive prompts.
|
||||||
- **Jinja2** for the template engine.
|
- **Jinja2** for the template engine.
|
||||||
@@ -153,4 +119,4 @@ DevGen wouldn't be possible without these amazing open-source projects and AI pr
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
Made with ❤️ by <a href="https://github.com/S4NKALP">Sankalp</a>
|
Made with ❤️ by <a href="https://github.com/S4NKALP">Sankalp</a>
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user