Made with Supabase

PRBuddy

PRBuddy is a Next.js application that leverages the OpenAI API, Git diff files, and various technologies such as shadcn, Supabase, OAuth, Prisma, and TypeScript to automatically generate Pull Request (PR) descriptions. This project is developed as part of the Supabase Launch Week X Hackathon

Introduction

Managing Pull Requests can be a time-consuming task, and crafting meaningful descriptions is crucial for effective collaboration. PRBuddy automates the process by utilizing the OpenAI API to analyze the Git diff of the active branch or PR and generates a comprehensive description, making the PR review process smoother and more informative.

Requirements

  • This app requires a OpenAI API Key, however for those who do not have one, they can try using "secret-password" in it's place

Limitations

  • The OpenAI API limits the amount of tokens per API call, thus PR's larger in size may not get generated.

Features

  • Automatic generation of Pull Request descriptions based on Git diff.
  • Integration with OpenAI API for intelligent content generation.
  • Built with Next.js, shadcn, Supabase, OAuth, Prisma, and TypeScript.
  • Seamless authentication using OAuth.

Possible Future Improvements/Updates

  • Track the number of "free" uses by a user using Supabase Database
  • Store user generation history, and allow updates to be made to generated PR description

Demo

https://github.com/faizanraso/prbuddy/assets/59986120/e3b6429d-c78b-40c1-bff7-7e03573ebeb7

License

This project is licensed under the MIT License.

Related Projects


A project by Zernonia