I have created a simple application using OpenAI’s API.
The code is available on github.
I created App Idea Generator by AI. A free and straightforward service that generates creative app ideas. This AI-powered tool is perfect for aspiring developers and entrepreneurs looking for innovative concepts. In just a few clicks, let AI transform your ideas into potential app concepts, sparking your creativity and assisting you in your app development journey. Discover innovation with us.
🎬 Demo
🚀 Tech Stack
- ✅ Framework: Nextjs 13 + Typescript.
- ✅ API: OpenAI API (Text completion).
- ✅ Styling: ChakraUI.
- ✅ Deploy: Vercel.
I use Vercel’s Hobby plan. However, with that plan, the serverless function times out in 10 seconds. The OpenAI API takes more than 10 seconds. I used stream and edge function to avoid timeouts. For more details, please refer to the following article.
I also use lru-cache to limit requests per IP.
other reference
I hope this will be helpful to someone, and I’d be happy to star it on github. 🌟