Don’t build a back-end for your Android music app 🎧
Why it’s not a good idea, and how Openwhyd may become your best partner.
👋 Hi!
My name is Adrien. I’m a music lover, a drummer, and a software engineer. I started developing Whyd —formerly a startup product to help music lovers keep, play and share their favorite music tracks scattered across free streaming platform — in 2012. Since Whyd became Openwhyd (in 2016), I have been helping this product sustain as a collaborative, non-profit, crowdfunded and open-source project.
Today, I’m calling out to Android app developers who are (or will be) developing a music app, to propose them a mutually-beneficial partnership: provide openwhyd.org’s back-end infrastructure to store their users’ music library for free, and allow Openwhyd users to play their music on Android.
Android developers, let me explain why I think that your app needs a back-end, and why you should consider openwhyd.org as your app’s back-end.
Why your music app needs a good back-end
- A mobile app to search and play music on the go is cool, but many users want to keep their favorite songs in playlists and play them back again later. You will need a backend in order to store these playlists of songs.
- Storing songs in YouTube playlists may seem to be an obvious choice for that, but many awesome songs are only available on other streaming platforms (e.g. SoundCloud, Bandcamp…) and it’s not possible to have non-YouTube songs in your YouTube playlist.
- Sometimes, it’s more convenient to access your music library from a computer. In order to do that, your users will also need to be able to access their music library from a web app.
- Hosting people’s data is not easy nor cheap: you need to find a stable and secure solution, to pay hosting fees, to backup regularly, to let users manage their account (i.e. sign up, login, forgotten passwords…). And now, GDPR makes it ever scarier to store personal data.
- At some point, several users will ask for an API to access their music library from other services. Providing and maintaining an API is a time-consuming distraction from developing a quality music app.
- When your app becomes both useful and qualitative, users will probably ask for broader ways to discover new music. You will either have to provide a music recommendation system (i.e. it’s very very hard to do a good one) or a way to discover the music of users with similar taste.
Considering Openwhyd as your app’s back-end
- Openwhyd’s back-end was made specifically to maintain a music library: it handles user account management for you, it comes with an API, an iPhone app and two web apps (openwhyd.org and sound-nuggets.xyz).
- It’s open source and free to use, for both you as an app developer, and for your users. (source code available at github.com/openwhyd)
- It officially supports music tracks from various streaming sources, including YouTube, SoundCloud, Bandcamp, Vimeo, Dailymotion, and any audio stream (e.g. MP3 files hosted online) accessible thru a URL. It’s also extendable to other sources (at the condition that you provide a plugin).
- Our service is not a fad, we’re here to stay: while many startups competing with us ended up closing down for financial reasons, Whyd/Openwhyd has been running free of charge for its users since 2012, and some users are still using it from the beginning!
- Tens of thousands of people have already been sharing their favorite songs on Openwhyd, and a good chunk of them are desperately looking for an Android app to play them on the go. By plugging your app to our back-end, you would automatically gain thousands of enthusiastic users!
Can you trust Openwhyd?
As the main author of the Openwhyd codebase since its inception, and owner of the openwhyd.org domain, I’m blessed to have earned the respect and trust of its initial founders (Gilles and Jie from Whyd), of a team of talented and kind volunters, and of thousands of music lovers.
I’ve shown that I take this responsibility seriously:
- I have worked hard to keep openwhyd.org up and running while keeping operational costs low (e.g. by optimising our infra usage), and gathered friendly volunteers to help us sustain Openwhyd and it’s community of music lovers lively for years.
- I’ve convinced some of our users to donate, and sponsors to cover our infrastructure costs without impact on the values and privacy of our community.
- Even though I recently announced that I was not going to contribute to the development of openwhyd’s web app any longer, I still take the time to coordinate and help contributors, to talk with our community of users, to fix critical bugs, to enforce the privacy of our users’ data (i.e. their login credentials and email address), to make weekly backups of openwhyd’s database, and to transparently share insights from its usage data.
No strings attached
For as long as you act respectfully towards Openwhyd’s platform, codebase and community of users, using our backend comes with no strings attached: you are free to do whatever you want with your app, with its branding and with the openwhyd users who would sign in to their Openwhyd account thru your app.
Also, the content posted by users on Openwhyd’s backend (i.e. tracks with their optional description, playlists, comments…) is public and can be freely be downloaded in JSON format at any time, so you can easily migrate data to another back-end solution if you ever want to do so.
What’s next?
If you are developing (or going to develop) a music app for Android and may be interested in using openwhyd.org to store your users’ music, let’s talk!
👉 Please leave a comment below or contact me directly by email.
Can’t wait to know more about your project and see how we can help! 💪
Never stop jamming!
PS: I would like to thank PaulLouis Nech and Constance Betinyani for their contribution to this article.