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

Reply to this note

Please Login to reply.

Discussion

Mmmmm. Could be fun to mess with.

I like the Idea!!

Yes!

It’s on the backlog doing this for the nostr-php.dev website (a static generated site with VitePress).

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

notifications are down