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 1 month ago
This will also help agents write clients and servers for blossom. The more I've been working with agents the more I'm realizing that trying to publish libraries and package to help them work with a spec or protocol is the wrong way. Its better to make the protocol very explicit and detailed so they can just implement the part they need. hopefully with less code then pulling in a full library. View quoted note โ†’
hzrd149's avatar
hzrd149 1 month ago
Taking full advantage of HTTP status codes The idea is to define all the common HTTP status codes and how they relate to blossom endpoints. This has kind of been an unspoken rule for too long that clients and servers should follow HTTP but its much better to actually define it in the blossom spec. #asknostr I would appropriate lots of feedback on this since its a big change. although its not a breaking change
hzrd149's avatar
hzrd149 1 month ago
@Sync you need to include some kind of git link or something is your profile. I cant find your source code anywhere....
hzrd149's avatar
hzrd149 1 month ago
#asknostr how can I prevent ctrl+c closing my opencode editor? I've lost too many coding sessions by accidentally pressing it
hzrd149's avatar
hzrd149 2 months ago
For those who are using the applesauce packages and want to see them be more useful for agents I need some help. I want to build a large catalog of mini example apps that agents can read and understand how to implement certain nostr features. I've already built a decent amount of them in the repo but for this to really be useful I need more, and more crazy ideas. I'm looking for PRs that add a single focused example for a specific other-stuff thing on nostr or example that show how to implement common nostr things like zap modals, login dialogs, feeds, etc The example MUST be less than 500 lines and should use the event casting system to keep the code clean. its also best to tell the agent to avoid using too many tailwind classes to avoid bloating the example. Ill probably have to do some cleanup work on all PRs since agents generally don't know now to write less code or write rxjs observables well, but that's fine. Steps: - git clone - Open editor `claude`, `opencode`, `codex` etc - Tell agent to build a new example demonstrating a simple nostr feature - Open PR Existing examples:
hzrd149's avatar
hzrd149 2 months ago
Forgot to mention yesterday but next release of #applesauce will have support for NIP-58 badges and some examples for AI agents to look at to understand how to implement them
hzrd149's avatar
hzrd149 2 months ago
This is a good reason to use deno or pnpm since both don't auto run postinstall scripts Either way this is getting ridiculous View quoted note โ†’
โ†‘