{"id":13543340,"url":"https://github.com/oceanlvr/ChatGPT-ProBot","last_synced_at":"2025-04-02T12:32:11.563Z","repository":{"id":64367136,"uuid":"574332011","full_name":"oceanlvr/ChatGPT-ProBot","owner":"oceanlvr","description":"🤖️ A ChatGPT based GitHub robot. dialogue/CR/etc..","archived":false,"fork":false,"pushed_at":"2023-10-08T22:44:11.000Z","size":969,"stargazers_count":379,"open_issues_count":44,"forks_count":94,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-19T01:01:57.302Z","etag":null,"topics":["chatgpt","github-app","github-robot","probot","robot"],"latest_commit_sha":null,"homepage":"https://github.com/apps/chatgptbot","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oceanlvr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-05T04:15:18.000Z","updated_at":"2025-01-24T18:34:47.000Z","dependencies_parsed_at":"2024-01-12T23:42:09.728Z","dependency_job_id":"4d2f5b2a-88f0-4324-9fad-64688e667067","html_url":"https://github.com/oceanlvr/ChatGPT-ProBot","commit_stats":null,"previous_names":["oceanlvr/chatgptbot"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanlvr%2FChatGPT-ProBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanlvr%2FChatGPT-ProBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanlvr%2FChatGPT-ProBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanlvr%2FChatGPT-ProBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oceanlvr","download_url":"https://codeload.github.com/oceanlvr/ChatGPT-ProBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246815830,"owners_count":20838524,"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","github-app","github-robot","probot","robot"],"created_at":"2024-08-01T11:00:30.455Z","updated_at":"2025-04-02T12:32:06.550Z","avatar_url":"https://github.com/oceanlvr.png","language":"JavaScript","funding_links":[],"categories":["HarmonyOS","A01_文本生成_文本对话","Bots and tools","Developer Libraries, SDKs, and APIs","JavaScript","精选开源项目合集","Addons, extensions, plug-ins for integrating LLM into third-party applications","Using ChatGPT in other apps"],"sub_categories":["Windows Manager","大语言对话模型及数据","JavaScript","GPT工具","Other user interfaces"],"readme":"# ChatGPT ProBot\n\n[![Release Version](https://img.shields.io/github/release/oceanlvr/ChatGPTBot.svg)](https://github.com/oceanlvr/ChatGPTBot/releases/latest) [![Twitter](https://img.shields.io/twitter/follow/AdaMeta1?style=social)](https://twitter.com/AdaMeta1)\n\n[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/apps/chatgptbot) [![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/oceanlvr/ChatGPTBot)\n\nA ChatGPT-based GitHub APP. Type `/chatgpt` to chat with robot 🤖️.\n\n![hello](./assets/Hi.jpg)\n\nPowered by [Probot](https://github.com/probot/probot) \u0026 [chatgpt-api](https://github.com/transitive-bullshit/chatgpt-api)\n\n## Usage\n\n**Try on [issue#1](https://github.com/oceanlvr/ChatGPT-ProBot/issues/1)**\n\n**Try Review/Refactor on [PR#7](https://github.com/oceanlvr/ChatGPT-ProBot/pull/7)**\n\n| event       | description                       | example                                 |\n| ----------- | --------------------------------- | --------------------------------------- |\n| `/ping`     | ping robot status                 |                                         |\n| `/chatgpt`  | chat with bot on issue/PR comment | /chatgpt who are you?                   |\n| `/review`   | auto review code in the PR        | /review fix the callback hell problem   |\n| `/refactor` | refactor the code                 | /refactor fix the callback hell problem |\n\n## Deploy your own APP\n\n1. [Install \u0026 Configure the GitHub App](https://github.com/apps/chatgptbot)\n2. Create `.env` file following `example.env`, please check config section in your [GitHub apps page](https://github.com/settings/apps)\n    1. `APP_ID/PRIVATE_KEY/GITHUB_CLIENT_SECRET/GITHUB_CLIENT_ID` is required, please check [chatgptbot settings](https://github.com/settings/apps/chatgptbot) and fill them.\n    2. **`PRIVATE_KEY` is required, it should be encoded by `base64`**.(`console.log(Buffer.from(\u003cPRIVATE_KEY\u003e).toString('base64'))`).\n    3. `SESSION_TOKEN` is required, it is generated by `ChatGPT` [website](https://chat.openai.com/chat). You can get it following [this step](https://github.com/transitive-bullshit/chatgpt-api#how-it-works).\n3. Vercel Deploy (**recommend**), click [![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/oceanlvr/ChatGPTBot) to clone deploy. Copy `.env` file environment to vercel app [environment-variables](https://vercel.com/docs/concepts/projects/environment-variables) in setting page (for me it's `https://vercel.com/oceanlvr/chatgptbot/settings/environment-variables`)\n4. Edit the webhooks URL to `${vercelAPPURL}/api/github/webhooks`. For me it's \u003chttps://chatgptbot.vercel.app/api/github/webhooks\u003e\n5. Type `/chatgpt` in an issue, chat with the bot\n\n*step4: update webhook URL to your vercel app domain.*\n![webhooks](./assets/webhooks.jpg)\n\n\u003e **Note**\n\u003e This package will switch to using the official API once it's released.\n\n## Dev\n\n```sh\n# Install dependencies\nnpm install\n\n# Run the bot\nnpm dev\n```\n\n## License\n\n[ISC](LICENSE) © 2022 oceanlvr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanlvr%2FChatGPT-ProBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foceanlvr%2FChatGPT-ProBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanlvr%2FChatGPT-ProBot/lists"}