3 ms·
WASM, yes. Tailscale, yes. In the browser, sure, I'll take it. But what I really want is a capability-based WASM sandbox runtime (like wasmtime or workerd fr
by VikingCoder 4y ago
WASM, yes. Tailscale, yes. In the browser, sure, I'll take it.
But what I really want is a capability-based WASM sandbox runtime (like wasmtime or workerd from Cloudflare) that provides an API that lists people that it can send messages to (through Tailscale.)
I configure the runtime with my contacts, and say which apps can communicate with which people.
And then a Dynamic DNS-like system for me to have an identity key, and look up the servers to find them. In case my contacts need to migrate to a new server. Maybe Tailscale already does this?
The runtime keeps the apps updated (like Sandstorm.io).
- MuffinFlavored 4y agowhy do you want this?
- VikingCoder 4y agoI'm supremely impressed by Sandstorm.io, but I think it was designed kind of like an old BBS. One server, letting users come to it. What I'm describing, I think could be the basis for federated services. I imagine implementing RSS feeds and RSS Aggregators on top of a system like this. And lots of other services, too. I like the idea of it being capability based and sandboxed, because then I can feel safe running a service you wrote on my machine. And I like the idea of all of the networking being in the framework, rather than being implemented in each app. Just like Sandstorm.io takes a lot of the problems of sharing out of each app. The way this article ended up with WASM + Tailscale in the browser seems like a great way for a client to talk to a server based on WASM + Tailscale, like I want. So then my phone can connect to my home PC, running these federated services. I can picture implementing Google Photos on top of that. With sharing, too.
- infogulch 4y agoMaybe it would be nice if tailscale could "peer" with other whitelisted networks that agree and share selected services/endpoints between peers. Given this plus a namespace system (DNS?) you'd be pretty close to a usable, secure, decentralized, p2p mesh network. Edit: oh it's already a thing now? https://tailscale.com/kb/1084/sharing/ https://tailscale.com/kb/1084/sharing/
- modarts 4y agohttps://matrix.org/ https://matrix.org/
- npmccallum 4y agoWe at the Enarx project (https://try.enarx.dev https://try.enarx.dev) plan to implement precisely such a network policy in the very near future.
- pmarreck 4y agocool idea, alien-feeling name