-
Couldn't load subscription status.
- Fork 706
Add Nostr Web NIPs — Decentralized Web Publishing via Nostr #2092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This NIP defines time-locked capsules: encrypted Nostr events that become readable only at/after a target timestamp or when a threshold of designated witnesses publish unlock shares. It includes specifications for event kinds, unlock modes, protocol flow, client behavior, security considerations, and examples.
|
Why not use Static Websites? #1538 |
Static Websites, is a well defined NIP provide a great and simple way to host static content through Nostr. However, Nostr Web focusing on developer experience, and user experience Key characteristics of Nostr Web: 1- It built on bare nostr events. |
|
ok, so in some ways it's more similar to brostr https://asaitoshiya.github.io/brostr/src/ |
I have reviewed brostr, I belive it is general purpose event viewer capable of rendering "HTML, Long form content, Image", the browser extension "https://github.com/Shugur-Network/nw-extention" can be something like brostr but for websites only brostr is more of an application, while nostr web is designed as a protocol standard, defining how publishing, versioning, discovering can work over nostr the goal is to have a standard for web publishing and retrieval on nostr that lowers the barrier for both non-technical and web developers, making decentralized websites as intuitive as traditional ones.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does DNS like stringified Json inside of it? I have always been told to avoid JSON inside DNS records at all costs. DNS Parsers and caching systems are just not made for heavy parsers like JSONs.
Hi vitorpamplona, your concern is valid but "Never put JSON in DNS” is too strong, for small, infrequently changing data, JSON in a TXT is fine, but we can modify it to be flat tokenized ex. "v=1 pk=npub1... relays=wss://example.com,wss://example.com" |
That seems more aligned with DNS record standards. I suppose people already have good parsers for these things. |
…mproved clarity and functionality
…y-value pairs for improved clarity
Nostr Web proposes a protocol-level approach for web decentralization by leveraging Nostr primitives By publishing HTML/CSS/JS as signed Nostr events and enable DNS discovery for these events
Implementation References
Publisher Tool: https://github.com/Shugur-Network/nw-publisher | npm
Browser Extension: https://github.com/Shugur-Network/nw-extention | Chrome | Firefox
Relay : https://github.com/Shugur-Network/relay (v1.3.5 introduces Nostr Web event compatibility)
Demo: https://nweb.shugur.com/