eneax / x-writer

📝 AI writing assistant built with GPT-3 and OpenAI.
19 stars 4 forks source link
gpt-3 nextjs openai-api reactjs serverless-functions tailwindcss typescript

📝 X-Writer

X-Writer is your own AI writing assistant that takes a title as input and generates a full blog post for you.

https://user-images.githubusercontent.com/19818937/205486692-73556ed4-3d20-41da-91ec-fcda673ae487.mov

🦄 Features

🗄️ Environment Variables

Create a .env.local file in your root directory with the OpenAI API key.

OPENAI_API_KEY=GET_YOUR_OWN_KEY_FROM_OPENAI

🚀 Quick start

To run this project locally:

npm i
npm run dev

🎓 Learning Next.js

Looking for more guidance? Full documentation available on the official Next.js website.

💫 Deploy

Note: The maximum execution timeout for Vercel Serverless Functions is 10 seconds when deployed on a Personal Account (Hobby plan). For Teams, the execution timeout is 60 seconds (Pro plan) or 900 seconds (Enterprise plan).