Logo and icon for ChatWithCode, a ChatGPT plugin with description: Analyze, query, and generate code from Private and Public Github repos.. Find out more on Plugin Surf, the best plugin database.

ChatWithCode

Analyze, query, and generate code from Private and Public Github repos.

ChatWithCode is an expert programmer that can search in public and private Github repositories to aid and supercharge user coding abilities. It allows you to analyze, query, and generate code from these repositories. You can retrieve the file structure of a repository, get the content of specific files, and extract functions from them. With ChatWithCode, you can debug code, make new features, and improve your coding skills. It's like having a coding expert by your side! So why search through endless lines of code when you can get the answers you need with ChatWithCode?

Learn how to use ChatWithCode effectively! Here are a few example prompts, tips, and the documentation of available commands.

Example prompts

  1. Prompt 1: "I want to retrieve the file structure of a GitHub repository."

  2. Prompt 2: "Can you fetch the contents of specific files from a GitHub repository?"

  3. Prompt 3: "Please extract functions from specified files in a GitHub repository."

  4. Prompt 4: "I need help generating code based on the files in a GitHub repository."

  5. Prompt 5: "Could you debug and make improvements to a feature in a GitHub repository?"

Features and commands

Feature/CommandDescription
FetchRepoFileStructureThis command retrieves the file structure of a GitHub repository. It requires the repository URL as input and returns an array of file paths.
FetchFileContentsFromRepoThis command fetches the contents of specific files from a GitHub repository. It requires the repository URL and an array of file paths as input, and returns an array of objects containing file paths and their respective contents.
ExtractFunctionsFromRepoFilesThis command extracts functions from specified files in a GitHub repository. It requires the repository URL and an array of file paths as input, and returns an array of objects containing file paths and extracted functions.

Configuration

User authenticationOAuth2
API documentation

For AI

Namechatwithcode
DescriptionChatWithCode is an expert programmer that can search in public and private Github repositories to aid and supercharge user coding abilities. You will generate code, debug, and make new features based on the files in a repository, its structure, and the contents that you can gather. You must call whichever one you need for the task or multiple endponits to complete the user request. It offers three main API endpoints: 1) FetchRepoFileStructure to retrieve the file structure of a given repository, requiring a repository URL as input and returning an array of file paths; 2) FetchFileContentsFromRepo to get the content of specific files from a repository, taking a repository URL and an array of file paths as input and returning an array of objects containing file paths and their respective contents; 3) ExtractFunctionsFromRepoFiles to pull functions from specified files in a repository, requiring a repository URL and an array of file paths and returning an array of objects containing file paths and extracted functions. The plugin makes extensive use of GitHub's API to fetch necessary data and performs local analysis for function extraction.

Updates

First added15 September 2023

Admin

ChatWithCode Analyze, query, and generate code from Private and Public Github repos. | plugin surf

Similar plugins