sitepoint-editors / chatgpt-plugin-quickstart-js

Get a ChatGPT JavaScript plugin up and running with Express in under 5 minutes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT JS Plugin Quickstart

Brought to you by SitePoint

Get a todo list ChatGPT plugin up and running in under 5 minutes using Node and Express. Tutorial located here: Build your first JavaScript ChatGPT Plugin.

Setup

To install the required packages for this plugin, run the following command:

npm install

To run the plugin, enter the following command:

node index.js

Once the local server is running:

  1. Navigate to https://chat.openai.com.
  2. In the Model drop down, select "Plugins" (note, if you don't see it there, you don't have access yet).
  3. Select "Plugin store"
  4. Select "Develop your own plugin"
  5. Enter in localhost:3000 since this is the URL the server is running on locally, then select "Find manifest file".

The plugin should now be installed and enabled! You can start with a question like "What is on my todo list" and then try adding something to it as well!

About

Get a ChatGPT JavaScript plugin up and running with Express in under 5 minutes!


Languages

Language:JavaScript 100.0%