Roastify is a roast generator application based on user Spotify account listening stats.
- Login with your Spotify account.
- Roastify fetches your top artists and tracks.
- Roastify sends the data to LLM to generates a unique roast based on your listening data.
Tech stack:
- Frontend: React, TypeScript, Vite, and Tailwind CSS.
- Backend: Go.
- Go
- Bun
- A Spotify Developer account and API credentials.
- An OpenRouter API key.
-
Clone the repository:
git clone https://github.com/roastify/roastify.git cd roastify -
Backend Setup (
/server):-
Create a
.envfile and add the following:SERVER_PORT=3003 SERVER_ADDRESS=http://localhost:3003 CLIENT_PORT=5173 CLIENT_ADDRESS=http://localhost:5173 SPOTIFY_CLIENT_ID=your_spotify_client_id SPOTIFY_CLIENT_SECRET=your_spotify_client_secret OPENROUTER_API_KEY=your_openrouter_api_key -
Install dependencies:
go mod tidy
-
-
Frontend Setup (
/client):-
Create a
.envfile and add the following:BASE_URL=http://localhost:3003 -
Install dependencies:
bun install
-
-
Start the backend:
# In the /server directory go run main.go -
Start the frontend:
# In the /client directory bun dev
Your Roastify app will be running at http://localhost:5173.
This project is licensed under the MIT License. See the LICENSE file for details.