Replying to Avatar hzrd149

Any nostr web developers interested in deploying their web apps as an nsite?

https://github.com/nostr-protocol/nips/pull/1538

The idea is that you upload the html/css/js to a blossom server and publish a bunch of k:34128 events with the path in the "d" tag and the file hash in the "x" tag. then a "host server" downloads these events and blobs and serves your static website

I've been using it for #noStrudel for the last few months and its been working very well

Also if there are any sys-admins that are interested in running an extra host server to make things more censorship resistant I would be more than happy to help you setup https://github.com/hzrd149/nsite-ts

Example nsite event for noStrudel index.html

nostr:naddr1qq9j76twv3jhstngw3kkcq3qwyuh3scfgzqmxn709a2fzuemps389rxnk7nfgege6s847zze3tuqxpqqqzz4qqg5waehxw309aex2mrp0yhxgctdw4eju6t0qyghwumn8ghj7mn0wd68yat99e3k7mgxpypfr

in that example, the index.html contains the entire app right? i mean, except for whatever CDN libraries it uses, or is it the whole shebang?

i know that can be done, and i think even if you order the structure correctly it can load an initial thing immediately because it is parseable

Reply to this note

Please Login to reply.

Discussion

No replies yet.