https://github.com/arevalolance/fandom
Create Custom Playlists from Your Favorite Books, Movies, and TV Shows
https://github.com/arevalolance/fandom
gpt-3 nextjs openai vercel vercel-serverless
Last synced: 2 months ago
JSON representation
Create Custom Playlists from Your Favorite Books, Movies, and TV Shows
- Host: GitHub
- URL: https://github.com/arevalolance/fandom
- Owner: arevalolance
- Created: 2023-01-18T06:08:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-26T03:07:34.000Z (7 months ago)
- Last Synced: 2025-11-29T05:41:52.404Z (7 months ago)
- Topics: gpt-3, nextjs, openai, vercel, vercel-serverless
- Language: TypeScript
- Homepage: https://fandom-rho.vercel.app
- Size: 464 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Fandom - Create Custom Playlists from Your Favorite Books, Movies, and TV Shows](https://fandom.vercel.com)
[](https://fandom.vercel.com)
## How it works
This project uses OpenAI's GPT-3 (text-davinci-003) to generate playlists based on your favourite Book, Movie, or TV Show. The API runs on [Vercel Edge Functions](https://vercel.com/features/edge-functions).
The client sends a custom prompt (w/ user input) to the backend which then gets processed by the GPT-3 API. After receiving the response, it returns the list of songs back to the client.
## How to run locally
You'll need an API key from OpenAI. Create your account and retrieve your (https://beta.openai.com/account/api-keys).
Create your own `.env` file and copy the required keys from the `.env.example` template
Then, run the application using the command line:
```
npm run dev
```
Access through `http://localhost:3000`
---
This project is heavily influenced by the following projects:
- Precedent: https://github.com/steven-tey/precedent
- Twitter Bio Generator: https://github.com/Nutlope/twitterbio
Thank you!