{"id":13589284,"url":"https://github.com/kesor/chatgpt-code-plugin","last_synced_at":"2025-04-08T09:32:16.968Z","repository":{"id":170052559,"uuid":"646154617","full_name":"kesor/chatgpt-code-plugin","owner":"kesor","description":"Code ChatGPT Plugin is a TypeScript Code Analyzer that enables ChatGPT to \"talk\" with YOUR code","archived":false,"fork":false,"pushed_at":"2023-11-20T11:43:15.000Z","size":6240,"stargazers_count":231,"open_issues_count":6,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-02-13T02:51:39.139Z","etag":null,"topics":["chatgpt","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kesor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-27T13:11:51.000Z","updated_at":"2024-08-01T16:35:09.283Z","dependencies_parsed_at":null,"dependency_job_id":"3c9cb3b4-a4fa-41b2-ad36-bdf754f6e07e","html_url":"https://github.com/kesor/chatgpt-code-plugin","commit_stats":null,"previous_names":["kesor/chatgpt-code-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesor%2Fchatgpt-code-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesor%2Fchatgpt-code-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesor%2Fchatgpt-code-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesor%2Fchatgpt-code-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kesor","download_url":"https://codeload.github.com/kesor/chatgpt-code-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247814097,"owners_count":21000501,"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","typescript"],"created_at":"2024-08-01T16:00:27.348Z","updated_at":"2025-04-08T09:32:16.102Z","avatar_url":"https://github.com/kesor.png","language":"TypeScript","funding_links":[],"categories":["Third-party Plugins","Browser-extensions","Extend ChatGPT Feature","AI Agents \u0026 Platforms","Web-Based Tools","SDK, Libraries, Frameworks","IDE \u0026 Editor","OpenAI plugins","Tools \u0026 Resources","TypeScript"],"sub_categories":["Other","OpenAI Plugins","CLI Utilities","ChatGPT plugins","Extensions"],"readme":"# Code ChatGPT Plugin\n\nCode 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.\n\n## Features\n\n- Fetch a list of all TypeScript files in a project\n- Find all functions in a TypeScript file\n- Get the content of a specific function in a TypeScript file\n\n## Example Usage\n\n![Example Usage in ChatGPT](example.png)\n\n## Installation\n\n1. Clone the repository: `git clone https://github.com/kesor/chatgpt-code-plugin.git`\n2. Navigate to the project directory: `cd chatgpt-code-plugin`\n3. Install the dependencies: `npm install`\n4. Build project: `npm run build`\n5. Start the server: `BASE_PATH=/home/myuser/src/awesome-project  npm start`\n6. Add the API into ChatGPT Plus plugins' \"Developer your own plugin\" interface (`http://localhost:3000`)\n\n### Prerequisites\n\n1. You must have ChatGPT Plugins available to you\n\n    ![ChatGPT Plugins Beta](prereq-plugins.png)\n\n2. You must have ChatGPT Plugin Developer available to you as well\n\n    ![ChatGPT Plugins Developer](prereq-plugin-dev.png)\n\n## Usage\n\nOnce the server is running, you, or ChatGPT, can use the following endpoints:\n\n- `GET /files`: Fetch a list of all TypeScript files in the project\n- `GET /files/:fileName`: Get the content of a specific file\n- `GET /functions`: Fetch a list of all functions in the project\n- `GET /files/:fileName/functions`: Find all functions in a specific file\n- `GET /files/:fileName/functions/:functionName`: Get the content of a specific function in a file\n\n## Contributing\n\nWe welcome contributions from the community!\n\n### How to Contribute\n\n1. Fork the repository\n2. Create a new branch for each feature or bugfix\n3. Write your code\n4. Write tests for your code\n5. Run the tests and make sure they pass\n6. Submit a pull request\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkesor%2Fchatgpt-code-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkesor%2Fchatgpt-code-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkesor%2Fchatgpt-code-plugin/lists"}