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)