{"id":13600535,"url":"https://github.com/flows-network/chatgpt-github-app","last_synced_at":"2025-04-11T00:31:26.496Z","repository":{"id":114239457,"uuid":"609088111","full_name":"flows-network/chatgpt-github-app","owner":"flows-network","description":"A ChatGPT bot to respond to your GitHub Issues","archived":false,"fork":false,"pushed_at":"2024-07-29T22:59:18.000Z","size":46,"stargazers_count":112,"open_issues_count":4,"forks_count":123,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-07T03:41:45.542Z","etag":null,"topics":["chatgpt","chatgpt-bot","github","github-bot"],"latest_commit_sha":null,"homepage":"https://flows.network/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flows-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-03T10:56:06.000Z","updated_at":"2024-11-06T13:38:00.000Z","dependencies_parsed_at":"2024-11-07T03:33:05.455Z","dependency_job_id":"ace3d7dc-0620-4895-a7c7-6d272269206e","html_url":"https://github.com/flows-network/chatgpt-github-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fchatgpt-github-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fchatgpt-github-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fchatgpt-github-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fchatgpt-github-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flows-network","download_url":"https://codeload.github.com/flows-network/chatgpt-github-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322273,"owners_count":21084334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","chatgpt-bot","github","github-bot"],"created_at":"2024-08-01T18:00:41.515Z","updated_at":"2025-04-11T00:31:26.185Z","avatar_url":"https://github.com/flows-network.png","language":"Rust","readme":"# \u003cp align=\"center\"\u003eA ChatGPT bot to respond to your GitHub Issues\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/ccZn9ZMfFf\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/chat-Discord-7289DA?logo=discord\" alt=\"flows.network Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/flows_network\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Twitter-1DA1F2?logo=twitter\u0026amp;logoColor=white\" alt=\"flows.network Twitter\"\u003e\n  \u003c/a\u003e\n   \u003ca href=\"https://flows.network/flow/new\"\u003e\n    \u003cimg src=\"https://img.shields.io/website?up_message=deploy\u0026url=https%3A%2F%2Fflows.network%2Fflow%2Fnew\" alt=\"Create a flow\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[Deploy this function on flows.network](#deploy-chatgpt-github-app-on-your-github-repo), 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!\n\nSee a live demo [here](https://github.com/second-state/chat-with-chatgpt/) | Powered by `gpt4`, Rust and [WasmEdge](https://github.com/WasmEdge/WasmEdge).\n\nIMPORTANT NOTICE: If you have deployed this function on flows.network before 7 AM 24/03/2023(UTC), please refer to [this issue](https://github.com/flows-network/chatgpt-github-app/issues/4) to fix your GitHub App.\n\n## Prerequisites \n\nYou will need to bring your own [OpenAI API key](https://openai.com/blog/openai-api). If you do not already have one, [sign up here](https://platform.openai.com/signup).\n\n## Deploy ChatGPT GitHub App on your GitHub repo\n\nTo install the ChatGPT GitHub App, we will use [flows.network](https://flows.network/), a serverless platform that makes deploying your own app quick and easy in just three steps.\n\n### Fork this repo\n\nFork [this repo](https://github.com/flows-network/chatgpt-github-app/) and go to flows.network to deploy your function. \n\n### Deploy the code on flow.network\n\n1. Log into [flows.network](https://flows.network/) from your GitHub account. It's free.\n2. Click on the \"Create a Flow\" button to start deploying the ChatGPT bot\n3. Authenticate [flows.network](https://flows.network/) to access the `chatgpt-github-app` repo you just forked. \n![image](https://user-images.githubusercontent.com/45785633/226546523-93071359-b957-4653-a429-ab983ee9a078.png)\n\n4. 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. \n* `login`: Fill in your personal GitHub id here. The GitHub app will act as you when responding to questions. \n* `owner`: Fill in the GitHub org you want to deploy the bot on. \n* `repo` : Fill in the GitHub repo you want to deploy the bot on. \n* `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.\n\n![image](https://user-images.githubusercontent.com/45785633/227463828-9ea913a5-f0a0-46bd-8d4c-da439ee72a94.png)\n\n5. Click on the Deploy button to deploy your function.\n\n### Configure SaaS integrations\n\nAfter that, [flows.network](https://flows.network/) will direct you to configure the SaaS integration required by your flow.\n\n![image](https://user-images.githubusercontent.com/45785633/226547995-54927771-7782-484a-8c9c-908e91f99444.png)\n\nHere we can see, we need to configure two SaaS integrations.\n\n1. 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.\n\n\u003cimg width=\"758\" alt=\"image\" src=\"https://user-images.githubusercontent.com/45785633/222973214-ecd052dc-72c2-4711-90ec-db1ec9d5f24e.png\"\u003e\n\n2. 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](https://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.\n\nClick 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!\n\n![image](https://user-images.githubusercontent.com/45785633/226550405-67d0741c-6c78-42ef-87d1-b30bbd45a5a9.png)\n\n","funding_links":[],"categories":["GitHub"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fchatgpt-github-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflows-network%2Fchatgpt-github-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fchatgpt-github-app/lists"}