kesor/chatgpt-code-plugin
소개
Code ChatGPT Plugin is a TypeScript Code Analyzer that enables ChatGPT to "talk" with YOUR code
AI 및 머신러닝What you can do
- Fetch a list of all TypeScript files in a project
- Find all functions in a TypeScript file
- Get the content of a specific function in a TypeScript file
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCode ChatGPT Plugin
Code ChatGPT Plugin is a TypeScript Code Analyzer that provides a set of utilities for analyzing TypeScript code. It can fetch a list of all TypeScript files in a project, find all functions in a file, and even get the content of a specific function. It's a great tool for developers who want to understand a TypeScript codebase, and it's also useful for automated tools that need to analyze or manipulate TypeScript code.
Features
- Fetch a list of all TypeScript files in a project
- Find all functions in a TypeScript file
- Get the content of a specific function in a TypeScript file
Example Usage

Installation
- Clone the repository:
git clone https://github.com/kesor/chatgpt-code-plugin.git - Navigate to the project directory:
cd chatgpt-code-plugin - Install the dependencies:
npm install - Build project:
npm run build - Start the server:
BASE_PATH=/home/myuser/src/awesome-project npm start - Add the API into ChatGPT Plus plugins' "Developer your own plugin" interface (
http://localhost:3000)
Prerequisites
You must have ChatGPT Plugins available to you

You must have ChatGPT Plugin Developer available to you as well

Usage
Once the server is running, you, or ChatGPT, can use the following endpoints:
GET /files: Fetch a list of all TypeScript files in the projectGET /files/:fileName: Get the content of a specific fileGET /functions: Fetch a list of all functions in the projectGET /files/:fileName/functions: Find all functions in a specific fileGET /files/:fileName/functions/:functionName: Get the content of a specific function in a file
Contributing
We welcome contributions from the community!
How to Contribute
- Fork the repository
- Create a new branch for each feature or bugfix
- Write your code
- Write tests for your code
- Run the tests and make sure they pass
- Submit a pull request
License
This project is licensed under the MIT License. See the LICENSE file for more information.
관련 프로젝트 살펴보기
불러오는 중…