hzrd149's avatar
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
hzrd149's avatar
hzrd149 2 months ago
This is insane... If you don't know whats going on here then your probably better of not knowing. its some pretty crazy JavaScript stuff and some dynamic Typescript types. But the result is an API that is based on RxJS observables and can be chained as deep as you want and then ended with `$first(<timeout>)` to produce a promise with a timeout, or `.subscribe` to subscribe to the RxJS observable. Next ill have to find a way to write docs for this so Claude and other AI models can understand how to use this. image View quoted note โ†’
hzrd149's avatar
hzrd149 2 months ago
Next release of applesauce is going to have some crazy powerful primitives for apps image I think i cracked the code for using RxJS in the library but not requiring the developer (or AI model) to understand RxJS ๐Ÿ˜
hzrd149's avatar
hzrd149 2 months ago
hzrd149's avatar
hzrd149 2 months ago
Well that was a really deep refactoring rabbit hole image Found a bunch of places that where throwing errors and not supposed to be. View quoted note โ†’
hzrd149's avatar
hzrd149 2 months ago
Found a strange bug with this event in noStrudel. turns out there is a bug in applesauce that lets users delete events of other users... Sent me down a long rabbit hole of how delete (kind 5) events should be handled on the client Will be fixed next version :) View quoted note โ†’
hzrd149's avatar
hzrd149 2 months ago
Accidentally left cursor on GPT 5.1 and its been planning for 5+ minutes... at this point its going to read the whole repo before writing any code ๐Ÿ˜†
hzrd149's avatar
hzrd149 2 months ago
A first draft of a crazy idea, a framework for a multi-threaded web app framework. If nostr web apps were built like this then they would only make a single relay connection for all open tabs and all open tabs would sync profiles / events / follow lists. No idea how far ill get but this does look possible... ๐Ÿค” image
hzrd149's avatar
hzrd149 2 months ago
Out of all the package managers (even npm) go is by far the easiest to install and maintain packages on your system. everything goes in the $HOME/go folder. and it installs directly from github I just had to update nak and it was so much easier then I thought it was going to be. no download, no manually installing a .deb file
hzrd149's avatar
hzrd149 2 months ago
Very disappointed with the current offering of AI browser extension. they all either are hard-coded to a specific service or they are only for reading the web page. Why isn't there an extension where I can prompt the AI and let it drive the browser tab?
hzrd149's avatar
hzrd149 2 months ago
Would be cool to fork and add support for nostr and NIP-C0 code snippets (user-scripts) Then maybe plug some AI into it so users can create user-scripts based on a single prompt and the AI's view of the current web page... ๐Ÿ˜
hzrd149's avatar
hzrd149 2 months ago
hzrd149's avatar
hzrd149 2 months ago
@Umbrel โ˜‚๏ธ can we get first class support for community app stores? I want to publish my own library of random nostr apps but most of them are too highly specific to publish to the main Umbrel app store. And there is no way I can tell my friends or other users to go to Store -> Small upper-right menu -> Community App Stores -> Enter URL -> Finally browse apps image For context I've been maintaining a small app store for small nostr related apps
hzrd149's avatar
hzrd149 2 months ago
If anyone wants to help out and contribute to #blossom then stress testing this would be great. Blossom needs a way for clients to quickly check if 1000s of blobs are present on a server and its a bonus if it can be done without the server knowing which blobs are being checked. (reduces ability for server to lie) If no one else is able to work on this ill probably take a stab at it, but its going to take me a while since my time is limited and it would be much better to have some help View article โ†’
hzrd149's avatar
hzrd149 2 months ago
Small improvements. making it easier to connect the relay pool with the event store using the loaders in applesauce. Now instead of needing to manually create both an event loader and a replaceable loader (profiles) there is a new unified loader that handles both and method that automatically sets it up with the event store so profiles can be loaded by calling eventStore.profile image
hzrd149's avatar
hzrd149 2 months ago
GM nostr, back at my desk. time to ship some code :)
hzrd149's avatar
hzrd149 2 months ago
This is one of the more interesting things I'd like to see blossom support. A private way to check if all the hashes you care about are still present on a server without revealing the exact hashes. View quoted note โ†’
hzrd149's avatar
hzrd149 2 months ago
Pushed a big noStrudel release. Adds outbox model and much faster notifications views. ill write a release article later but in the mean time sorry for any new bugs introduced.
โ†‘