GithubHelp home page GithubHelp logo

puyue-hello-plugin's Introduction

https://juejin.cn/post/7235539402868277285 掘金老哥写的hello插件 使用chatgpt 提问hello 会返回 hello 的功能 使用了 https://ngrok.com/ 这个要花钱的,没花钱会展示一个警告画面妨碍访问 (replit上在线创建(付费版 api自身可以使用,但是导入chatgpt时候报错 原因不明))

内网穿透使用方法: ngrok http 3000

Express ChatGPT Plugin Starter 🚀

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.

Project Structure 📁

  • 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, including openapi.yaml (an OpenAPI specification for the '/hello' endpoint) and ai-plugin.json (the plugin configuration file).

Getting Started 🏁

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Install the dependencies by running npm install.
  4. Start the server by running npm start.

Customization 💡

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.

Contributing 🤝

Contributions are welcome! Feel free to open an issue or submit a pull request for improvements or additions to this project.

puyue-hello-plugin's People

Contributors

en-yue-pu avatar jerryjiao avatar

Forkers

armkas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.