Git Product home page Git Product logo

chatgpt-github-app's Introduction

A ChatGPT bot to respond to your GitHub Issues

flows.network Discord flows.network Twitter Create a flow

Deploy this function on flows.network, and you will get a GitHub bot that uses ChatGPT to respond to every comment in your GitHub issues automatically. It enables developers to use GitHub Issues as the conversational UI for ChatGPT!

See a live demo here | Powered by gpt4, Rust and WasmEdge.

IMPORTANT NOTICE: If you have deployed this function on flows.network before 7 AM 24/03/2023(UTC), please refer to this issue to fix your GitHub App.

Prerequisites

You will need to bring your own OpenAI API key. If you do not already have one, sign up here.

Deploy ChatGPT GitHub App on your GitHub repo

To install the ChatGPT GitHub App, we will use flows.network, a serverless platform that makes deploying your own app quick and easy in just three steps.

Fork this repo

Fork this repo and go to flows.network to deploy your function.

Deploy the code on flow.network

  1. Log into flows.network from your GitHub account. It's free.

  2. Click on the "Create a Flow" button to start deploying the ChatGPT bot

  3. Authenticate flows.network to access the chatgpt-github-app repo you just forked. image

  4. Click on the Advanced text and you will see more settings. we can fill in the required Environment Variables here. In this example, we have four variables.

  • login: Fill in your personel github id here. The github app will act as you when responding to questions.
  • owner: Fill in the GitHub org you want to deploy the bot on.
  • repo : Fill in the GitHub repo you want to deploy the bot on.
  • openai_key_name : Fill in the name you want for your OpenAI key. You can put any name here, and we will connect it to the actual key later.

image

  1. Click on the Deploy button to deploy your function.

Configure SaaS integrations

After that, flows.network will direct you to configure the SaaS integration required by your flow.

image

Here we can see, we need to configure two SaaS integrations.

  1. Click on the "Connect" or "+ Add new authentication" button to authenticate your OpenAI account. On the next page, copy and paste your OpenAI API key and then name the key. Note the name you enter here should be the same as the name in the environment variables.

image

  1. Click on the "Connect" or "+ Add new authentication" button to authenticate your GitHub account to deploy the bot. You'll be redirected to a GitHub page where you must grant flows.network permission to install the flows-network-integration bot on an owner/repo. This repo is the one you entered into the environment variables above.

Click on the Check button to see your flow details. As soon as the flow function's status becomes ready and the flow's status became running, the ChatGPT GitHub App goes live. Go ahead and chat with ChatGPT by creating an issue!

image

chatgpt-github-app's People

Contributors

alabulei1 avatar juntao avatar darumadocker avatar mileyfu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.