pluginlab-ai / fastapi-facts-plugin-template

Use FastAPI on Vercel and PluginLab to instantly create and deploy your ChatGPT plugin.
2 stars 0 forks source link

FastAPI Facts Plugin Template

template-img

This starter ChatGPT Plugin template allows you to use FastAPI on Vercel with Serverless Functions using the Python Runtime.

To use it, you only have to follow the steps on PluginLab. PluginLab will let you configure and manage your plugin OAS and manifest files.

The other advantage of using PluginLab is that you will be able to configure OAuth and Monetization for your ChatGPT plugin in 5 minutes.

How it works

Running Locally using Vercel

npm i -g vercel
vercel dev

Your FastAPI api is now available at http://localhost:3000.

Running Locally using Docker

docker build -t <image_name> .
docker run -p 3000:8000 <image_name>

Your FastAPI api is now available at http://localhost:3000.

Adding Authentication

You can add authentication to this plugin in a few clicks by using PluginLab. Please check our documentation about authenticating users.

Adding Monetization

You can add monetization to this plugin in a few clicks by using PluginLab. Please check our documentation about monetizing your plugin.