nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr What do you use to ‘host’ nsites on nsite.lol? nsite-gateway? A

And what do you use on nostrdeploy.com nostr:npub18c556t7n8xa3df2q82rwxejfglw5przds7sqvefylzjh8tjne28qld0we7?

I would like to do the same with .nosto.re

/cc nostr:npub1hw6amg8p24ne08c9gdq8hhpqx0t0pwanpae9z25crn7m9uy7yarse465gr nostr:npub1equrmqway3qxw3dkssymusxkwgwrqypfgeqx0lx9pgjam7gnj4ysaqhkj6

Reply to this note

Please Login to reply.

Discussion

you can use nostr-deploy-cli and deploy your site with just a single command. your site would be accessible by any gateway! 🤯

here is the CLI tool:

https://github.com/sepehr-safari/nostr-deploy-cli

and here is the server implementation you may wanna use for your nosto.re :

https://github.com/sepehr-safari/nostr-deploy-server

Great documentation!! 🙏

nsite-gateway, I don't have one running but it's what you can use yes

i resolve the site at runtime and render the results in a shadow dom. Which all kinda seemed to work for like simple single inline html content but breaks with a SPA (missing / buggy script injection but fixable).

In the end for demo purposes i had the results render it in an iframe because some buggy thing with background images (sad 🎺 noises). 

It’s a bit of a janky non performant setup tbh, but the gateway does run without having to run a webserver stack so thats pretty neat 📸.

The account and Repo’s have been removed by GitHub some time ago it seems just hadn’t logged in for a while there. Still not sure what rule I broke 🤷

nsite.lol is running https://github.com/hzrd149/nsite-gateway

Its not the most optimized implementation but it works and it should be customizable enough for you to run on the side with some nginx rules