If you want to self host such a platform, how should it inform you about new releases? If you haven’t downloaded everything on your server manually beforehand, where should it take the media file from?
Just use the streaming service of your choice. Self hosting music is over.
That is not at all how this works!
No commecial song is available “for everyone”, every song has royalties that need to be paid for it to be legal streaming.
None of these services support downloads, except in their own app, but then encrypted, so that no other app can use it.
There are some “Playlist curators” see https://routenote.com/blog/best-third-party-spotify-playlist-curators/ for some. But only if you have an account with the service.