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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay