ChatGPT-ProBot logo

ChatGPT-ProBot

Free

373

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About ChatGPT-ProBot

ChatGPT-ProBot is an open-source GitHub application powered by ChatGPT that integrates conversational AI directly into GitHub workflows. Built on the Probot framework, it allows users to interact with a ChatGPT-based robot within issues, pull requests, and comments by typing commands like /chatgpt, /review, or /refactor. The tool is designed to facilitate code review, refactoring suggestions, and general Q&A, making it a versatile assistant for developers collaborating on GitHub repositories. It is hosted on GitHub and can be self-deployed via Vercel or other platforms, with configuration requiring environment variables such as APP_ID, PRIVATE_KEY, and a SESSION_TOKEN from the ChatGPT website. The project is maintained by oceanlvr and is available under an open-source license, with community contributions encouraged through issues and pull requests.

Key Features

ChatGPT-based conversational AI integrated into GitHub issues and pull requests
Command-driven interaction with /chatgpt, /review, /refactor, and /ping commands
Automated code review and refactoring suggestions within pull requests
Open-source and self-hostable via Vercel or other deployment options
Powered by Probot and the unofficial chatgpt-api
Supports custom configuration through environment variables

Pros & Cons

Pros
  • Open-source and free to use with no licensing costs
  • Directly integrates ChatGPT into GitHub for streamlined developer workflows
  • Supports multiple commands for chat, review, and refactoring
  • Can be self-deployed, offering control over data and configuration
  • Active community and contribution-friendly repository
Cons
  • Requires manual setup and configuration of environment variables and GitHub App
  • Dependence on an unofficial chatgpt-api and a SESSION_TOKEN from ChatGPT, which may change or break
  • Limited to GitHub platform; no support for other version control systems
  • Free tier of ChatGPT may have usage limits that affect bot responsiveness
  • Documentation may be sparse for non-technical users

Best For

Automating code review and refactoring suggestions in GitHub pull requestsProviding conversational assistance and Q&A within GitHub issuesEnhancing team collaboration by integrating AI chat into development workflowsLearning and experimenting with ChatGPT integration in a GitHub environmentBuilding custom GitHub bots with AI capabilities

FAQ

How do I install ChatGPT-ProBot?
Installation involves configuring a GitHub App, creating a .env file with required variables (APP_ID, PRIVATE_KEY, etc.), and deploying the app, for example via Vercel. Detailed steps are provided in the repository's README.
What commands does the bot support?
Based on the repository, supported commands include /ping (check status), /chatgpt (chat with the bot), /review (auto review code), and /refactor (refactor code). Additional commands may be added over time.
Is ChatGPT-ProBot free to use?
The bot itself is open-source and free. However, it requires a SESSION_TOKEN from ChatGPT, which may be subject to OpenAI's usage policies and potential costs. Users should verify current ChatGPT access terms.
Can I deploy ChatGPT-ProBot on my own server?
Yes, the bot is designed to be self-hosted. The repository provides instructions for deployment on Vercel, and it can likely be adapted to other platforms. Environment variables must be configured appropriately.
Does the bot work with private repositories?
The bot should work with any repository where the GitHub App is installed, including private ones, provided the necessary permissions are granted during app setup.
What is the SESSION_TOKEN and how do I get it?
The SESSION_TOKEN is a token generated from the ChatGPT website, used to authenticate requests. Instructions for obtaining it are linked in the repository's README, but users should be aware that this method relies on unofficial APIs and may change.