Загрузка видео...
Не удалось загрузить видео
I built a free ChatGPT Plugin that helps you brainstorm domain ideas by automatically checking if they are available inside ChatGPT 💡 Bonus feature: Compare prices across registrars and get the cheapest price for your domain. Here's how I built it 👇
235,190 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 11

First, if you have access to Plugins, you can try it out by going to the Plugin Store, click "Install an unverified plugin", enter " and click "Install". If not, don't worry – I'm planning to launch this as a standalone product tomorrow, stay tuned 👀

Here's my stack for the app behind the plugin: ◆ @vercel → deploy the app ◆ @Vercel Edge Functions → ping API to check availability & compare prices across registrars ◆ @vercel/og → generate dynamic OpenGraph images for the domains at the edge 👇

To connect the app to the plugin, all I needed were 2 JSON files: 1. Manifest JSON → 2. OpenAPI spec → And ChatGPT took care of the rest 🤯

1. Manifest JSON (.well-known/ai-plugin.json) This is similar to manifest.json for a Chrome Extension, except for 1 big difference: Your description is key – it's the prompt for your Plugin. You gotta engineer the sh*t out of it. Here's mine (which I'll keep iterating) ↓

2. OpenAPI spec (openapi.json) This is a standard OpenAPI spec, with a stronger emphasis on the "description" fields for all endpoints. I also chose to write mine in JSON because YAML...well 🥴 Pro-tip: Get GPT-4 to write it for you ↓

Fun fact: You can whitelist OpenAI's IP CIDR blocks to prevent unauthorized access to your API endpoints. Here's the code I used to verify the incoming IP address (generated by GPT4):

And that's pretty much it! To test your plugin out before deploying to prod, you can use: ◆ @ngrokHQ tunnel: ◆ @Vercel Preview URL: Once you're ready, add it to ChatGPT, and it should work flawlessly! 🤞

@vercel Wanna refer to the code that I wrote for this Plugin? @krishnerkar built a really cool ChatGPT Plugins directory that features it – check it out →

WOW @steventey Awesome work. Would you share with me your ai-plugin.json, I would love to try it with my Plugin Emulator.

Oh God Steven What have you done Put it back

🤣🤣🤣
