Skip to content

prashant42b/likey-likey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Likey Likey

Likey Likey is a FastAPI app that converts your Spotify liked songs into a new playlist called "Likey Likey".

⚠️ Warning: This is a locally hosted app for personal use only. It is not optimized for speed.


Prerequisites

  • Python must be installed on your system (recommended version 3.10+).
  • A Spotify account.

Instructions

1. Create a Spotify App

http://127.0.0.1:8000/auth/callback

2. Clone the Repository

git clone <repository-url>
cd <repository-folder>

3. Create .env File

  • In the project root folder, create a .env file 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_id and your_client_secret with the values from your Spotify app.

4. Install Dependencies

pip install -r requirements.txt

5. Run the App (Development Mode)

uvicorn main:app --reload --host 127.0.0.1 --port 8000

6. Authenticate & Create Playlist

  1. Open your browser and log in to Spotify.
  2. In a new tab, go to:
http://127.0.0.1:8000/auth/from-liked
  1. You will be redirected to your newly created Likey Likey playlist.

prashant42b

About

A fastapi app that converts your spotify liked songs into a new playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages