A github app created using Probot to get description of a new PR using Generative AI
pr_glimse_demo.mp4
- Probot (Node.js framwork)
- Github Apps
- Javascript
- Open AI - LLM API
- Clone the Repository
- Install dependencies
npm install
- Start the local server
npm start
- Head to https://localhost:3000
- probot will start configuring your app by creating a .env file
- It will also add **WEBHOOK_PROXY_URL** in the env
- Click on the Register Github App button
- you will be redirected to a page prompting to enter a **name** for the app
- on proceeding, you will be asked to install the app on any repo
- Now restart the local server
- in the process, your env will be populated with more variables
- Install the app on a repo, and you're all set
# 1. Build container
docker build -t pr-glimpse .
# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> pr-glimpse