# Suno Groove

## Updating the wheel

1. A manifest of Groove's songs is generated separately from this repo. Import that manifest into the src directory of this groove app. Update the imported manifest in audioUtils.ts with the new one.

2. If you would like to change the colors of the wheel, input your 3 new colors into colors.py and run that Python script. It will generate a JSON with the updated colors and coordinates of the genres. Move that JSON into the src directory (it will replace the current JSON there).

To get started...

```bash
pnpm install
pnpm dev
```

## Update clips

Checkout [notebook](script/generate_clip_groove.ipynb) and follow instructions.

## Route handling

This app is deployed to groove.suno.com through Vercel, and then a Cloudflare worker and worker reverse proxy's the content under the suno.com/explore.

Worker page:

- https://dash.cloudflare.com/615cf0d9c11d51b00799dde2abce178f/workers/services/view/suno-com-discover--to--groove-suno-com/production

Route handling:

- https://dash.cloudflare.com/615cf0d9c11d51b00799dde2abce178f/suno.com/workers

![Worker screenshot](docs/worker-page-screenshot.jpg)

![Route screenshot](docs/worker-route-screenshot.jpg)
