nips
nips copied to clipboard
NIP-83: JavaScript Registry
JavaScript is unique in that you can import source code directly by URL. This NIP makes it possible to publish JavaScript code to Nostr and then use it within web browsers and Deno using an HTTP gateway.
Inspiration: #742 #811 https://github.com/denoland/deno/discussions/22779
I don't think relays should have the responsibility of serving content via HTTP. It's just not what they are designed for.
In the future, I think it would be useful to include tags such as name
and version
which correspond to fields in jsr.json
, and also by doing so can be distinguished from kind: 5394
in NIP-106.
Yes, I agree this is out of scope.