#asknostr does anyone have good resources on how to write CONTEXT.md files for claud and other agents? Id like to start writing these for applesauce and include them in some of the projects I'm working on
Mostly looking for articles on how to think about context files or good examples of them working well.
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
Not sure why I built this but It was a fun mental exercise.
A Tic-Tac-Toe game without any JavaScript, just checkboxes and CSS
CSS Tic Tac Toe
SolidJS has so many useful looking ways to optimize the rendering cycle of your app. and the best part is none of it is hidden behind a compiler or in a magic box.
If you want to build a simple app you just write it like your writing react, but if you want performance you start using all their fancy signals and hooks.
If you cant tell I've been reading through their documentation again... :)
Getting so close to an applesauce v2 release
Then ill try to jump on the getstacks.dev train and make a stack for it so all the vibe coders can try it out :)
GitHub
Version Packages by github-actions[bot] · Pull Request #18 · hzrd149/applesauce
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be publ...
@Niel Liesmons @Vitor Pamplona would it be safe to say that if a NIP-17 DM contains a "subject" tag or is longer than 10 or so lines that it could be considered "mail"?
View quoted note →
Almost finished with an example of a nostr mail client using NIP-17 and applesauce. and the best part is its only 250 lines long 😁
The best part is that the code that replies to a message is just a few lines and it handles creating NIP-59 gift wraps for each participant in the conversation

The best part is that the code that replies to a message is just a few lines and it handles creating NIP-59 gift wraps for each participant in the conversation

Trying to make it as easy as possible for applesauce apps to provide a good user experience without spamming the signer for decryption requests. The solution is to use a locally encrypted cache of all the decryption results
The persistEncryptedContent method takes an event store and a storage provider (something like localforge) and watches for when events are added and attempts to restore their encrypted content from cache. When events are decrypted it stores the content in the cache


I just found this. no idea what deepwiki is but it seems to be AI generated docs for public github repos.
Browsing through it and I don't see any mistakes. I guess it's reading the code to generate the docs


DeepWiki
hzrd149/applesauce | DeepWiki
Applesauce is a modular framework built on top of the Nostr protocol that provides developers with a comprehensive toolkit for building Nostr appli...
15 months since I stumbled on the idea for blossom and now its accomplished everything I hoped it would.
We are including the full sha256 hash of images and videos in the URLs we post (and sign) and if anything important to us gets taken down we can reupload it and "repair" the links.
View quoted note →
The WoT is a misnomer, its actually just a "web-of-intrests". which means it isn't that good at filtering out spam because some of your friends might be interested in "spam"
Its still useful for discovering content or discovering popular users in your circle though
View quoted note →
Still not a fan of NIP-59 gift wraps but I need them in order to work on NIP-117 an NIP-118
Next release of applesauce will make it very easy to gift wrap any event

