nips icon indicating copy to clipboard operation
nips copied to clipboard

NIP-83: JavaScript Registry

Open alexgleason opened this issue 11 months ago • 3 comments

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

Read here

alexgleason avatar Mar 07 '24 22:03 alexgleason

I don't think relays should have the responsibility of serving content via HTTP. It's just not what they are designed for.

vitorpamplona avatar Mar 08 '24 00:03 vitorpamplona

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.

AsaiToshiya avatar Mar 13 '24 07:03 AsaiToshiya

Yes, I agree this is out of scope.

fiatjaf avatar Mar 13 '24 14:03 fiatjaf