AI Image

ChatWithCode

API Documentation

ChatWithCode is a sophisticated programming aide designed to streamline and enhance coding capabilities for developers. This tool leverages the power of Github's API to search through both public and private repositories, providing users with the ability to generate code, debug, and create new features based on the data extracted from the repositories. Its unique features include three main API endpoints: FetchRepoFileStructure, FetchFileContentsFromRepo, and ExtractFunctionsFromRepoFiles. The FetchRepoFileStructure endpoint allows users to access the file structure of a given repository, FetchFileContentsFromRepo grants access to the content of specific files, while ExtractFunctionsFromRepoFiles pulls out functions from the selected files. With ChatWithCode, developers can not only easily navigate through the complex realm of repositories but also elevate their coding prowess by extracting and analyzing key components from chosen files. This tool's ability to perform local analysis for function extraction further sets it apart, offering a comprehensive, all-round solution to coding challenges.

Share:

Tags:

#developer%20tools

Example Prompts

1.

Can you fetch the file structure of the GitHub repository at this URL: https://github.com/sdan/vlite?

2.

I need the contents of these files from the repository at https://github.com/sdan/vlite: ['src/index.js', 'src/components/app.js'].

3.

Can you extract the functions from these files in the repository at https://github.com/sdan/vlite: ['src/index.js', 'src/components/app.js']?

4.

Fetch the file structure of the repository located at https://github.com/sdan/vlite.

5.

I need you to fetch the contents of ['src/index.js', 'src/components/app.js'] from the GitHub repository at this URL: https://github.com/sdan/vlite.

6.

Can you help me extract functions from these files ['src/index.js', 'src/components/app.js'] in the repository at https://github.com/sdan/vlite?

7.

What's the file structure of the GitHub repository at https://github.com/sdan/vlite?

8.

Get me the contents of these files: ['src/index.js', 'src/components/app.js'] from the repository at https://github.com/sdan/vlite.

9.

Extract all functions from these files: ['src/index.js', 'src/components/app.js'] in the repository at https://github.com/sdan/vlite.

10.

Please fetch the file structure of the repository at this URL: https://github.com/sdan/vlite.

Description for AI

ChatWithCode 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.

Similar Plugins and Alternatives