Damus
Arjen profile picture
Arjen
@Arjen
I want the internet in my pocket.

I was bored and got annoyed with nsites being unreliable/slow. So I vibed together this nsite-deck.

- Load any nsite you've visited before when OFFLINE
- Manage locally stored sites at 'home.nsite'


in the video i show:
- Any [npub].nsite gets resolved, locally
- First load = pull from public relays 30ms
- Second load = load from cache 7ms
- Managing cached sites

Source: nostr://@Arjen/relay.ngit.dev/nsite-deck

CC @hzrd149 @sandwich @Gigi @Sync
167❤️5🤙3🚀2❤️1👍1🔥1
DeAllen Young · 7w
I like it.
Sync · 7w
Next time you are bored try a cloning machine because we could use a couple more Arjen’s 🫶 amazing stuff
Derek Ross · 7w
Bad ass!
Arjen · 7w
The first load both caches it AND saves to your local relay/blossom setup. It comes with embedded relay and blossom. If you have your own configured it will use that instead. I've tested this on Ubuntu (24) and MacOS (Sonoma) btw.
Gigi · 7w
👀
fiatjaf · 7w
I don't get what is happening, are you running something or is it all in the browser? How do I test this? Regardless of that we should be doing nevent1-sites, immutable, not npub1-sites.
Justice Beaver · 7w
Am I missing something or is this not useful except for data that does not change? Nearly all of the websites I use have live or changing data, meaning if I access an offline version of my last visit, it’s useless.
sandwich · 7w
Local resolution is the goal, gateways were a stop gap. This is how the `nsyte run` command works, though it was built as an example and for debugging purposes. This is over nodns yeah?