Replying to Avatar Alex Gleason

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z Hey do you have a link to that Nostr-hosted static HTML site? It was importing .js and .css files from Nostr relays through an http proxy.

Hello World hosted on Relays: https://nostr-webserver-3c29f7957ffe.herokuapp.com/e/1efc13c6ffbaf60c0347baf89f6ecaad22f74abf82165fcdb55ef7e8cca8a597

Nostryfied hosted on Relays https://nostr-webserver-3c29f7957ffe.herokuapp.com/e/7b8a47b1c97b449e842bc0186e89102874ea801b041c822fdecac50f2f3d91b2

My server's code: https://github.com/vitorpamplona/nostr-web-server that simply exposes the `.content` data of images (kind 1065 and 1064), css (kind 5393), javascript (kind 5394) and html (kind 5392) events.

Reply to this note

Please Login to reply.

Discussion

FYI, my server is not very stable :)

It occurred to me that you can host JS/TS code on Nostr, and import it directly in Deno from an http gateway. It fucking works.