Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roastify

Roastify is a roast generator application based on user Spotify account listening stats.

How It Works

  1. Login with your Spotify account.
  2. Roastify fetches your top artists and tracks.
  3. Roastify sends the data to LLM to generates a unique roast based on your listening data.

Technical Details

Tech stack:

  • Frontend: React, TypeScript, Vite, and Tailwind CSS.
  • Backend: Go.

Getting Started

Prerequisites

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/roastify/roastify.git
    cd roastify
  2. Backend Setup (/server):

    • Create a .env file 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

  3. Frontend Setup (/client):

    • Create a .env file and add the following:

      BASE_URL=http://localhost:3003
      
    • Install dependencies: bun install

Running the App

  1. Start the backend:

    # In the /server directory
    go run main.go
  2. Start the frontend:

    # In the /client directory
    bun dev

Your Roastify app will be running at http://localhost:5173.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

a roast generator app based on user spotify listening stats

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages