Skip to content

itsbrunodev/similar-songs

Repository files navigation

Similar Songs 🎶

Find 50 AI-matched songs on Spotify that match the vibe of your favorites.

Features

  • Search history
  • Song previews
  • 50 similar songs
  • User friendly searching
  • Spotify playlist integration (to-do)

Preview

Here's a preview of what songs similar to another song look like on the website.

Running Locally

Prerequisites

  • Create an application on the Spotify Developer website. Copy the client ID and the client secret and add them to the .env.local file (rename the .env.template file) as environment variables.
  • (Optional) pnpm package manager

Running

Note

This project uses pnpm as the package manager, but other package managers can be used as well.

To run this project locally, first install the required packages

pnpm install

Then, run the project in the development environment

pnpm dev

If you want to run the project in the production environment

pnpm build
pnpm start

Known Issues

Some songs don't have a preview sound

This happens sometimes due to licensing reasons or because the preview is only available to logged-in premium users. (see spotify/web-api/issues/729)

License

GNU General Public License v3.0


Built with Next.js Styled with Tailwind CSS Powered by Spotify Visit the Website