DEV Community

Rofly António
Rofly António

Posted on

Introducing Navvy: A Simple AI-Powered Git Automation Tool

I'm pleased to share my latest project, Navvy - a Python-based tool designed to help automate some basic Git repository management tasks using OpenAI.

Here's a quick example of how you can use Navvy:

# Initialize Navvy
# Using OPENAI_API_KEY environment variable
navvy = Navvy(project_path="./repo_project_path") 

# Send a message to create a snake game
chunks = navvy.send_message("Create a snake game!")

for chunk in chunks:
    print(chunk, end="", flush=True)
Enter fullscreen mode Exit fullscreen mode

You can install the Navvy package using pip:

pip install navvy
Enter fullscreen mode Exit fullscreen mode

If you're interested, check out:
https://github.com/itsrofly/navvy-package

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay