Загрузка видео...

Не удалось загрузить видео

На главную

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

Фото профиля Steven Tey
Steven Tey3 лет назад

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 👀

Фото профиля Steven Tey
Steven Tey3 лет назад

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 👇

Фото профиля Steven Tey
Steven Tey3 лет назад

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 🤯

Фото профиля Steven Tey
Steven Tey3 лет назад

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) ↓

Фото профиля Steven Tey
Steven Tey3 лет назад

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 ↓

Фото профиля Steven Tey
Steven Tey3 лет назад

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):

Фото профиля Steven Tey
Steven Tey3 лет назад

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! 🤞

Фото профиля Steven Tey
Steven Tey3 лет назад

@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 →

Фото профиля theluk
theluk3 лет назад

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

Фото профиля zakk.eth
zakk.eth3 лет назад

Oh God Steven What have you done Put it back

Фото профиля Steven Tey
Steven Tey3 лет назад

🤣🤣🤣

Похожие видео