maximelouet / spotly

Display lyrics from your currently playing song on Spotify
https://spotly.fi
Apache License 2.0
6 stars 0 forks source link
lyrics nodejs react spotify

Spotly

Display the current song you play on Spotify along with its lyrics, in a minimalist and lightweight Web page.

How it works

Once you login to Spotify, we query the Spotify API to retrieve your currently playing track. The backend (api/) then searches several lyrics sites for the corresponding lyrics and returns the first found to the frontend (front/) for display.

Limitations

Running locally

With Docker

The docker-compose.yml allows you to run the app locally. Prior to starting it you must set some environment variables in api/.env and front/.env. See api/README.md and front/README.md for detailed instructions.

Once the environment variables are set, run the project with:

$ docker-compose up

With the default configuration (from the .env.dev file), the frontend will be available on http://localhost:3000/.

Standard way

This method is recommended if you are developing and want auto-reload upon code change.

If you are not running NodeJS v20, please install nvm and run nvm use in the repository.

See the respective README files in api/ and front/ for instructions on how to run each part.

Contributing

The easiest way to contribute is to report issues with a detailed explanation of your problem in the issues section, after checking that it's not already been reported.

License

This project is licensed under the Apache License 2.0. See LICENSE for details.