r/computerscience • • Sep 24 '20

I made an open-source web app where you can fine-tune your music preferences and create a playlist directly to Spotify. Check it out!

[Will remove if not allowed, please let me know]

I frankly got tired of Spotify's algorithm, especially when looking for workout songs, so I made this thingy.

Let me know what you all think!

Note: You need to login to Spotify so it can save the playlist and load the tailored recommendations. The login is all handled through Spotify's end and I don't have any access to your private information (nor do I care for it).

Link: https://personal-dj-app.herokuapp.com/

For all my fellow nerds: Built on Node.JS, calling the Spotify Web API. If you're interested in contributing, the GitHub link is in the website footer.

218 Upvotes

25 comments sorted by

20

u/caaaaajc Sep 24 '20

This is really cool! some functionality I wish they would add. assume you're using their Web API?

Just note that if you want to monetise it in the future the commercial integration process takes forever, it's good of you to make it open source though!

6

u/RussellFighter Sep 24 '20

Thanks for the encouragement!

I wish they had this functionality too, but looks like they make the devs do it themselves lol.

8

u/senft Sep 24 '20

Can you explain a little what the recommendations are based on? Does it create a playlist from Spotify's recommendations or do you actually suggest songs yourself? If the latter, where do you get your data from?

9

u/RussellFighter Sep 24 '20

Spotify has API endpoints that allow us to access their data and run their recommendations algorithms given certain inputs.

4

u/senft Sep 24 '20

Alright thanks!

2

u/wojwesoly Sep 24 '20

When I click save to playlist there was no confirmation that it was saved and I ended up clicking like 5 times lol

3

u/RussellFighter Sep 24 '20

Yea this is a user interface bug we are working on right now. Thanks for the feedback!

1

u/RussellFighter Sep 28 '20

This issue should be resolved now. Can you please try it and if it's still not working please file a bug report on the GitHub issues. Thank you! https://github.com/RyanRussell00/personal-dj/issues

2

u/wojwesoly Sep 24 '20

And it created all the 5 playlists but also so other ones which were recommendations based on different songd

2

u/[deleted] Sep 24 '20

any possibility to be able to create a playlist while Not logging through your website? any custom playlist basically based on the same data you pull? just let me click it through myself? cheers.

1

u/RussellFighter Sep 24 '20

Not quite following what you're saying, could you explain more?

3

u/[deleted] Sep 24 '20

can you make it possible to create a playlist on spotify but without log in to the spotify with my account? does spotify even allow that? i mean just pick a few categories or bands and make up a playlist from that. would it be possible?

2

u/RussellFighter Sep 24 '20

You'll need to log in because it accesses your Spotify listening data, and when it creates a playlist it saves it directly to your account.

As for picking a few categories or bands, yes that it possible, but you'll still need to sign in.

2

u/[deleted] Sep 24 '20

Great! Was any machine learning used for that?

2

u/RussellFighter Sep 24 '20

We use Spotify's algorithm under the hood and I *assume* they use some sort of Machine Learning on their end, but I can't be certain.

2

u/wizards_tower Sep 24 '20

Pretty awesome! I listen to so much music while I work I get sick of my music pretty quickly. This is great.

1

u/RussellFighter Sep 24 '20

Very relatable. Enjoy!

2

u/ginnoir Sep 25 '20

I tried it out and had a suggestion about the UI. In step 1, when I searched a word then all the songs with that word popped up and I selected an option, it wasn't clear to me which card I chose. So I think making the card chosen bigger than the others or changing its edge color (or anything to make it distinct from the other cards) can be a good idea. Overall, nice job! Now you make me want to play around with their API :).

2

u/7lazy7 Sep 26 '20

Nice. Maybe you can add the hacktoberfest tags is your GitHub issues to drag some traction. I will also definitely check it our and try to contribute.

3

u/johnny_025 Sep 24 '20

great job mate i'll check it out proud of you

1

u/sawkonmaicok Sep 24 '20

No no no.. the only true way to program is to make the computer out of individual transistors by yourself and then make your own compiler and make your own instruction set and architecture.

0

u/Blackbear710 Sep 25 '20

Well Done, and Good Idea

but you do know you can just make your own playlists on spotify right, and not use their algorithms