The Express ChatGPT Plugin Starter is a foundational project for creating a ChatGPT plugin with Express.js. It serves as a boilerplate for developers to build and deploy plugins for ChatGPT.
server.js
: The main Express.js server file, sets up a basic server and a '/hello' endpoint.package.json
: Specifies the project dependencies and scripts.public
: Contains public assets served by the Express.js server, includingopenapi.yaml
(an OpenAPI specification for the '/hello' endpoint) andai-plugin.json
(the plugin configuration file).
- Clone the repository.
- Navigate to the project directory.
- Install the dependencies by running
npm install
. - Start the server by running
npm start
.
To customize this starter project for your own ChatGPT plugin:
server.js
: Add your own endpoints.openapi.yaml
: Update the OpenAPI specification to match your new endpoints.ai-plugin.json
: Update the plugin details.
Contributions are welcome! Feel free to open an issue or submit a pull request for improvements or additions to this project.