RangerMauve / dat-gateway

Visit https://github.com/garbados/dat-gateway/ instead
19 stars 4 forks source link

Provide discovery-swarm over WS #17

Open RangerMauve opened 6 years ago

RangerMauve commented 6 years ago

I think the gateway would be way more useful (and potentially more private) if instead of provoding WS for replicating a hyperdrive, it provided a WS interface to discovery-swarm.

I'm thinking this should be built as a separate module first.

The client-side should take a stream as an argument and expose the same API as discovery-swarm