https://github.com/replicate/replicate-models-chatgpt-plugin
Run Replicate models from within ChatGPT
https://github.com/replicate/replicate-models-chatgpt-plugin
ai chatgpt chatgpt-plugin
Last synced: 6 months ago
JSON representation
Run Replicate models from within ChatGPT
- Host: GitHub
- URL: https://github.com/replicate/replicate-models-chatgpt-plugin
- Owner: replicate
- License: other
- Created: 2023-04-11T11:28:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T21:51:21.000Z (about 2 years ago)
- Last Synced: 2025-05-01T10:39:12.313Z (9 months ago)
- Topics: ai, chatgpt, chatgpt-plugin
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 12
- Watchers: 18
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Replicate models – a ChatGPT plugin
A simple plugin based on https://github.com/openai/plugins-quickstart
## Development
Preqrequisites:
- Access to OpenAI's plugin beta
- [Node.js](https://nodejs.org) for running the server
- [ngrok](https://ngrok.com/) for port forwarding
Clone this repo and install dependencies:
```
git clone https://github.com/fofr/replicate-models-chatgpt-plugin
cd replicate-models-chatgpt-plugin
npm install
```
Start the server:
```
npm run dev
```
Start up ngrok, pointing at port 5003:
```
ngrok http 5003
```
Create `.env` and set your ngrok URL as the `APP_HOST`:
```
APP_HOST="https://0dc4a909eb0e.ngrok.app"
```
Grab your Replicate API token from https://replicate.com/account, then paste it into .env:
```
REPLICATE_API_TOKEN=r8_...
```
Configure ChatGPT to use the plugin:
1. Go to https://chat.openai.com
1. Click Plugins dropdown
1. Click Plugin store
1. Click 'Develop your own plugin'
1. Use your ngrok host as the domain