spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.43k stars 1.6k forks source link

Web application request #2188

Closed Suramyavns closed 1 month ago

Suramyavns commented 1 month ago

Requested Feature

This project's functions shall be implemented into a REST framework like flask or FASTAPI for the backend.

Possible implementation

React or other js frameworks for frontend development and APIs with flask or fastapi

Moizcode commented 1 month ago

Hi, can you describe it in more detail? Which functions are you trying to implemented into a REST framework?

Suramyavns commented 1 month ago

So the spotdl module in itself is just a package right? We can use it to create a full stack app with a good UI. I'll try building it myself.

xnetcat commented 1 month ago

So the spotdl module in itself is just a package right? We can use it to create a full stack app with a good UI. I'll try building it myself.

Hi yes, that's possible. Matter of fact we are currently doing this so that users can self host their own web apps.

Just download the exe and start it, and it will automatically open web ui.

Here's the code that handles the backend:

And here's the frontend code:

Suramyavns commented 1 month ago

yes this is exactly what I was talking about, thanks for notifying