hey @blosstr do you have API documentation anywhere?
Geektoshi
geek@primal.net
npub1m2jp...3wgu
If you don't believe it or don't get it, I don't have the time to try to convince you, sorry.
In thinking about adding a music player to Bloom, I spent a bit of time looking at some relevant NIPs and I think we just keep it simple.
For interoperability, NIP-78 is out of the question. NIP-33 is an interesting choice but probably not the best option. I slightly misunderstood NIP-94 a bit but adding custom tags seems to be ideal for what we want to do.
Chances are, the music files have embedded ID3 tags. We write a little script that converts ID3 tags to a kind-1063 event with a similar schema and publish that event on upload. The user can, of course, update the event metadata later if they so wish. Or we just do it the manual way (probably not ideal TBH)
1. At upload time, let the user select an upload type (music, video, document to start).
2. When the user makes a selection, we offer custom fields for each of these file types (for example if music is selected, we offer Title/Artist/Album/Genre/Release Year, etc, while for document we just do maybe Title)
3. When the user selects to upload, we add the relevant data as kind-1063 events and publish to the user's relay metadata.
4. A user can later update this information by just updating with a new kind-1064 event if needed.
Hmm NIP-94 could use some additional tags for different types of media.
Surprised to see a video events NIP (71) but not a music events...let's see how this goes before I go suggesting new NIPs I guess
Went out for a walk with the wife and thought, maybe Bloom needs some more filesharing...
Share via DM might he cool. Sharing flles behind an ecash paywall might be cooler. We will see, just thinking out loud.
Yo @vinney...axkl any updates on the bookstore? I saw something back in July but nothing since.
This is why I hold zero cuckbucks
View quoted note →
Started work on music player support for Bloom this morning...lack of metadata might be annoying to make this super usable but we shall see.
Added support for Satellite CDN to Bloom so now you can actually upload/transfer files to it instead of just viewing your media.
Ooooh Satellite Earth has it's own API, got it...let's work on that...
Still a banger
Inception time. You can now share files directly from inside Bloom.
Having a simple to use manager for your Blossom and NIP-96 servers and blobs is cool, but there are use cases that haven't been explored much I guess. I have some ideas on adding music/video playlist support to Bloom for example, but there are cases where you forgot to download a file you want to share later and maybe it's just not on your mobile device. Why not just share directly from the file itself?
Would love some thoughts, feature requests and bug reports/PRs.


Just sharing a little wallpaper so I can do some inception style post lol


Good read
View article →
Let's play a game...guess the hash rate of each of these workers in my solo mining pool. The winner gets 420 sats.
#asknostr


Hey @Vitor Pamplona any chance we can choose geohash in the future when viewing "Around Me" feeds?
Looks like I got the issue fixed for NIP-96 servers, but Primal's Blossom server is giving me shit with CORS. All working on my personal Blossom relay so on to the next thing.
Oh, and added some previews for various document formats. Will probably work on audio/video player stuff next. 😇


well that's fucking annoying:
blossom.primal.net returns 401 with preview: 'invalid x tag': the server is rejecting the Nostr auth event we’re forwarding (it decodes the event and finds an x tag it doesn’t like). That’s coming from blossom.primal.net itself, not the proxy.
Nostrcheck.me returns 500 with Error: Unexpected end of form: their backend never receives the full multipart payload (likely because it insists on a fixed content length and rejects chunked uploads).
Check out Bloom - Bloom is a simple to use and intuitive file manager utilizing Blossom and NIP-96 servers to store files in a distributed way.
https://nostrapp.link/a/naddr1qqxnzde48qerzv3cx5cnxdfeqgsd4fqmakmgtyfk806yqlmg0juh38x9g0ksyjah0s3d9jzd3r65z5crqsqqql8khwt8f8
Hmmm so @primal won't let me upload images on the web version... Thus is new
Bloom, a "file manager" for Blossom and NIP-96 servers, repo is live for anyone that wants to give it a try. Still some bugs, but it's usable lol

GitHub
GitHub - Letdown2491/bloom: Bloom offers a familiar file‑manager interface that lets users quickly interact with files and blobs stored on Blossom and NIP‑96 servers. You can edit metadata, share items directly from Bloom, create shareable folders, and much more.
Bloom offers a familiar file‑manager interface that lets users quickly interact with files and blobs stored on Blossom and NIP‑96 servers. You ...