made a CLI to help you with git!

Hi everyone!👋

Here's a grain of sand to all my fellow devs, who like me, enjoy the living in the terminal and sometimes are annoyed by documentation. I created `gai` to help mitigate some of our struggles, it's an AI-powered Git assistant that aims to make our Git workflow smoother and more efficient.

https://i.redd.it/12mesvwx891e1.gif

Ever spent too much time writing commit messages or creating detailed merge requests? Then, `gai` can help 🙂 It can generate automatically meaningful commit messages and/or pull requests with descriptions based on your code changes.

It supports GitHub and GitLab as of now, and you can also choose between Groq or Hugging Face as your AI Interface.

Here's what makes it special: 💪

  • – Just run gai commit and it'll analyze your changes and write a clear commit message
  • – Create professional merge requests with gai merge
  • – Easy to set up with pip install gai-tool

Quick example:

Install gai-tool via pip:

pip install gai-tool # Recommended: pipx install gai-tool 

Set up your tokens

export GROQ_API_KEY='your_groq_api_key' # If you want to use Groq export HUGGINGFACE_API_TOKEN='your_hf_api_token' # If you want to use Hugging Face 

Start using it

gai commit -a # Stage all changes and generate a commit message

gai merge -p # Push your changes and creates a merge request

I built this tool to make our lives as developers a bit easier, and I'd love to hear your thoughts! What features would you like to see? Any suggestions for improvements?

Check out the full project at: github.com/Danielratmiroff/gai

Hope it helps!

Cheers 🙂 🙌

submitted by /u/DifficultEngine6371
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/mfq5XAF

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close