This is a web app developed using Next.js, Tailwind and OpenAI, that generates a top ten list on the topic user provided.
You can try the demo here.
To run the code yourself;
- Clone the repo:
git clone https://github.com/naphteine/top10.git
- Navigate to directory:
cd top10
- Install modules:
yarn install
- Get OpenAI API key and write it in the
.env
file, likePRIVATE_OPENAI_KEY=12345678987654321
- Run the development server:
yarn run dev
- Dark mode
- Next.js 13 (App Router)
- React
- React-Markdown
- Tailwind and Typography
- OpenAI API
- Vercel AI SDK
- Sometimes OpenAI doesn't respond with proper Markdown, which leads to items using the same line.
This project is under MIT License.