Released and update to applesauce-relay that allows subscription filters to be updated on the fly
https://hzrd149.github.io/applesauce/overview/relays.html#updating-filters
This allows clients create a subscription before the filters are ready and update it based on some other value that is changing ( users contacts or pubkey maybe )
Thanks to @Victor Stabile for giving me the idea :)
hzrd149
_@hzrd149.com
npub1ye5p...knpr
JavaScript developer working on some nostr stuff
- noStrudel https://nostrudel.ninja
- Blossom https://github.com/hzrd149/blossom
- Applesauce https://hzrd149.github.io/applesauce
Woke up this morning feeling like collaborating on bigger nostr project with other devs. Unfortunately since we all use different libraries (NDK, nostra tools, and applesauce) it makes it difficult to jump into a project
In some ways it's one of the strengths of nostr, we know the protocol is simple enough to be implemented 4x over
But on the other hand it does limit our ability to easily contribute to other projects... I guess I'll just have to convert all the apps to using my applesauce libraries ๐
:blossom:
View quoted note โ
๐ธ
View quoted note โ
I wonder if this could be used in blossom since blobs are addressed by their sha256 hash. there's nothing stopping a server from responding to a GET request that only had the first half of the hash.
Not really secure but would allow blobs to be addressed as human-readable words. maybe BIP-39 could even be used for the full hash?
View quoted note โ
Released v4 of blossom-client-sdk
Only on breaking change in this release to support NUT-23 payment requests. but the main change is test, lots of tests.
Everything is tested now, even the complicated multi-server upload method.
The best part is I only found one bug, so my fear that the library was a mess was wrong. but its nice to have the test to prove that now
GitHub
GitHub - hzrd149/blossom-client-sdk: A simple client for managing blobs on blossom servers
A simple client for managing blobs on blossom servers - hzrd149/blossom-client-sdk
The best part is I only found one bug, so my fear that the library was a mess was wrong. but its nice to have the test to prove that nowLooks cool, I wonder if they will let you actually export your site as html files or if they will build their own hosting solution to lock in users
View quoted note โ
This is the power of AI, I tell it to write tests structured like the others in the repo. then I review the tests and push ๐


#asknostr does anyone know of an open source local music player? I want to move away from spotify and Id like to be able to download my music and manage it locally all from the `/home/Music` directory, I don't want any database or any custom ways of storing metadata
A much better explanation of the important parts of blossom then I could write.
View article โ
I wish https://nostrapp.link/ still worked, I never seems to load anything anymore and its stopped working for managing my NIP-89 apps
I'm tempted to rewrite it and create a massive PR ๐ค