Likey Likey is a FastAPI app that converts your Spotify liked songs into a new playlist called "Likey Likey".
- Python must be installed on your system (recommended version 3.10+).
- A Spotify account.
- Go to the Spotify Developer Dashboard and create your own app (Free for personal use).
- Set the Redirect URI to:
http://127.0.0.1:8000/auth/callback
git clone <repository-url>
cd <repository-folder>
- In the project root folder, create a
.envfile and add the following content:
SPOTIFY_API_BASE=https://api.spotify.com/v1
SPOTIFY_AUTH_URL=https://accounts.spotify.com/authorize
SPOTIFY_TOKEN_URL=https://accounts.spotify.com/api/token
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secret
SPOTIFY_REDIRECT_URI=http://127.0.0.1:8000/auth/callback
SCOPE=user-library-read playlist-modify-private playlist-modify-public
- Replace
your_client_idandyour_client_secretwith the values from your Spotify app.
pip install -r requirements.txt
uvicorn main:app --reload --host 127.0.0.1 --port 8000
- Open your browser and log in to Spotify.
- In a new tab, go to:
http://127.0.0.1:8000/auth/from-liked
- You will be redirected to your newly created Likey Likey playlist.
prashant42b