Tell HN: Stripe killed my music locker service, so I'm open sourcing it
446 pointsI run a small website at inter.tube. It lets you upload your music collection and stores it in Backblaze B2. It provides a simple web interface to listen to your collection, and support for the Subsonic API (allowing native apps to use it). Fundamentally it is not very different from something like Dropbox or Backblaze: it is a "dumb" backup that simply stores what you give it. It doesn't perform "matching" against other files, it doesn't allow you to access music you didn't explicitly upload, and it doesn't even deduplicate files between different users. It doesn't allow "sharing" of music either, download links are tied to a short access token for a specific user's login session. The only difference between other backup services is that we use the metadata tags in your uploads to organize things better. According to Capitol Records, Inc. v. MP3Tunes, LLC, this is absolutely OK in the eyes of the law (thank you to a fellow HN user for telling me about this court case). Note that we don't even perform deduplication, which was the main controversy in that case.
I have been using Stripe happily for a couple years now, but suddenly (less than 10 minutes after a subscription payment went through), Stripe decided that I violated their Restricted Business policy, in particular "Products and services that infringe intellectual property rights: Sales or distribution of music, movies, software, or any other licensed materials without appropriate authorization". I thought this was a misunderstanding so I clarified that we don't sell music, just storage space (see paragraph above), but they denied my appeal with a short template response.
This saddens me because my reasons for starting the site are the exact opposite of piracy! I was sick of artists getting paid virtually nothing for streaming service plays, so I decided to buy full albums directly from the artist as much as I could. inter.tube just allows you to keep your collection safe and easily accessible.
I'm posting this mostly to warn other Stripe users that essentially any backup service could "violate" these terms, so be careful about the marketing blurbs on your website. Probably any mention of "music" whatsoever is enough to get your account nuked. I really liked Stripe, always recommended it because of its nice API, but I won't be doing that anymore.
inter.tube will likely die. I'm going to refund my few paying users and disable account registration later, I guess.
As a bonus, I've open-sourced inter.tube. However, it is difficult to run because it relies on a bunch of random cloud services (Backblaze B2 + Cloudflare Workers + Lambda) and there's some hard-coded stuff in there, so it's probably not very useful beyond curiosity. If anyone would like to help me with the open sourcing, let me know, and I'll get back to you whenever I have time. Of course, feel free to fork it as well. I am also on GitHub sponsors if anyone would like to sponsor me to help make it easier to self-host (or at least self-deploy).
Source code: https://github.com/guregu/intertube
Comments (172) 41 threads
Earlier commentsI think the only difference is I didn't put in the effort to make it look nice and didn't try to make a commercial service out of it.
But it did get me thinking about whether there's a market for people who have their own AWS account and are willing to run software in their own instances. But not corporate stuff, but things you might have had on your PC in the 90s: catalog of media, simple task list, etc.
At their scale, not everything goes through human oversight.
I have about 2.5Tb of Music, and I can not import it to any media management / streaming self-hosted service (including Subsonic and all other DLNA servers & Ko).
Problem is... Metadata. Messy metadata.
Typical solution imports 1/2 of my collection Ok, 1/4 with mangled metadata and 1/4 without metadata at all or can not import completely.
Typical pain points:
(1) Metadata contains "Unknown Artist - Track01", but filenames are Ok and all information can be extracted from file names.
(2) It is FLAC, one file per Album, internal CUE and additional CUE file which references (absent) WAV file in same folder. Typical software duplicate such albums and one copy works, and other is "Not found" - and you must try to play to distinguish two. Some software can not understand embedded CUE at all, and show this as one big track + not-working album (because it can not find WAV referenced by CUE).
(3) FLAC, file per track, with per-track metadata, and CUE which reference all these files to add proper between-track pauses. Typical result: two identical albums. Often such CUE is rejected as "invalid" (because such CUE are "non-standard" extension invented by Exact Audio Copy software), and then it is Ok, but - see next item.
(4) FLAC, flile per track, files doesn't contain any metadata, but there is CUE which reference all these files. It works Ok, if CUE is not rejected as invalid, and, again becomes "Unknown Author - Unknown Album - Track N" if CUE was rejected (often).
(5) Same as 2-4 with APE, WavePack or TTA (do you know this format?) instead of FLAC.
(6) Such monstrosity as ISO9660 image which contains WavePack file (one, whole album), CUE, LOG, some JPEGs. With extension ".iso.wv". Looks like only foobar2000 on Windows can show such container properly, as one album packed with WavePack.
(7) ID3v1 with some non-latin characters in some 8 bit codepage (typically Win-1251 Cyrillic, but not always).
(8) ID3v1 with UTF-8 characters.
(9) ID3v2 with non-UTF-8 national characters.
(10) CUE files in single-byte codepages and not UTF-8 / CUE files in UTF-8. Different variants cause problems for different software.
I'm really struggle to "publish" my collection to listen to it on-the-go...
I get that this provides additional value on top of the Backblaze consumer offering, but at the same time, that seems like a massive markup for the underlying storage, for people who have large music collections (ie, the people most likely to want a service like this).
I guess you could just put all your music on a Personal Backup account and use whatever music player you want, but the whole point is that you're kind of paying money for the web UI, for it to be always online and available, etc. I don't even know if Personal Backup will let you do things like shallow copies of subsets of your backups, which would be necessary to get music on multiple devices. Why copy your 1TB music collection to 5 computers? How do you get it on mobile, etc.
But I didn't realize that Backblaze B2 had a completely different pricing scheme. This makes more sense now.
As the post says - they use B2: https://www.backblaze.com/b2/cloud-storage-pricing.html
All comments shown.
Couldn't load more comments. Check your connection and try again.