X-Writer is your own AI writing assistant that takes a title as input and generates a full blog post for you.
Create a .env.local
file in your root directory with the OpenAI API key.
OPENAI_API_KEY=GET_YOUR_OWN_KEY_FROM_OPENAI
To run this project locally:
npm i
npm run dev
Looking for more guidance? Full documentation available on the official Next.js website.
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).