CoolFace
Apppublic

TwinPeaksTownie/reachy-dance-duo-analyzer

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Backend service for the Reachy Dance Duo JS app at TwinPeaksTownie/reachy-dance-duo-js. Provides three things the static JS Space cannot do on its own:

  1. 1.YouTube Music search via ytmusicapi (unauthenticated).
  2. 2.Audio download via yt-dlp, served back as audio/mp4.
  3. 3.Offline song analysis via librosa (tempo, beat times, per-beat energy, 8-beat sequence assignments) used by the Beat Bandit dance mode.

CORS is open to the JS Space and to localhost for development.

Endpoints

  • —GET /health
  • —GET /search?q=<query>&limit=10
  • —POST /analyze body { "video_id": "<yt-id>" }
  • —GET /audio/<video_id>.m4a