An open API service indexing awesome lists of open source software.

https://github.com/eneax/x-writer

📝 AI writing assistant built with GPT-3 and OpenAI.
https://github.com/eneax/x-writer

gpt-3 nextjs openai-api reactjs serverless-functions tailwindcss typescript

Last synced: 3 months ago
JSON representation

📝 AI writing assistant built with GPT-3 and OpenAI.

Awesome Lists containing this project

README

        

# 📝 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

- Next.js 13
- React 18
- TypeScript 4
- Tailwind CSS 3
- Path Mapping (for absolute imports)
- GPT-3 and OpenAI

## 🗄️ Environment Variables

Create a `.env.local` file in your root directory with the [OpenAI API key](https://beta.openai.com/account/api-keys).

```
OPENAI_API_KEY=GET_YOUR_OWN_KEY_FROM_OPENAI
```

## 🚀 Quick start

To run this project locally:

```shell
npm i
npm run dev
```

## 🎓 Learning Next.js

Looking for more guidance? Full documentation available on the official [Next.js website](https://nextjs.org).

## 💫 Deploy

**_Note_**: The maximum execution timeout for [Vercel Serverless Functions](https://vercel.com/docs/concepts/functions/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).