Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aavetis/github-chatgpt-plugin
ChatGPT plugin to interact with anything in GitHub. Install “Chat With Code” from the ChatGPT plugin store.
https://github.com/aavetis/github-chatgpt-plugin
Last synced: 3 months ago
JSON representation
ChatGPT plugin to interact with anything in GitHub. Install “Chat With Code” from the ChatGPT plugin store.
- Host: GitHub
- URL: https://github.com/aavetis/github-chatgpt-plugin
- Owner: aavetis
- Created: 2023-04-15T12:59:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-14T22:38:03.000Z (about 1 year ago)
- Last Synced: 2024-06-15T10:34:43.902Z (5 months ago)
- Language: TypeScript
- Homepage: https://gh-plugin.teammait.com
- Size: 157 KB
- Stars: 25
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - github-chatgpt-plugin - ChatGPT plugin to interact with anything in GitHub. Install “Chat With Code” from the ChatGPT plugin store. (Browser-extensions)
README
> ### ❗️ NOTE: This plugin has been removed from the ChatGPT store for being "too autonomous" - so it is pending an update to require explicit user confirmation before posting / deleting any resources.
# Overview
Chat with Code is an official ChatGPT plugin that let's you interact with everything in GitHub. Everything, including repos, issues, commits, file contents, and more.
# How it works
Chat with Code essentially is a "meta plugin" where the API endpoints are completely fluid, and it depends on ChatGPT to decide which functions to call from the [Octokit library](https://octokit.github.io/rest.js/v19).
An example flow:
- The plugin hits an endpoint `/api/repo` (poorly named, should be changed to something more generic).
- Depending on what the users request is in chat, ChatGPT decides which function should be called, and what attributes should be included.
```text
Example chat:User: describe aavetis/github-chatgpt-plugin
ChatGPT:
- use repos.get function
- relevant attributes: {
owner: "aavetis",
repo: "github-chatgpt-plugin"
}
```
- The plugin endpoint then responds with the raw data from GitHub API according to that function call.
- ChatGPT uses the raw data to construct its response to user.# Finding the plugin
![image](https://github.com/aavetis/github-chatgpt-plugin/assets/3076502/b89baba7-bcdb-4f9e-af47-960943af674c)**Note:** Installing the plugin will direct you to an optional OAuth page to login with GitHub. Authenticating allows you to interact with private repos, but is completely optional.
# Well-known
See [public/.well-known](/public/.well-known) for plugin instructions and API spec.