Say goodbye to backends. No more Rest APIs. No more spinning up API Gateways, buggy initd scripts, misconfigured K8s and weird DSLs to reproduce complex infrastructure designs. I can just do #html and #JavaScript — https://sockets.sh
@lutindiscret gundb is a database (engine), socket is a runtime on which you could use gundb to build apps
@lutindiscret I think @heapwolf had the right take. GunDB has a data model and a replication protocol that's pretty useful for graphs and "subscribing to data", but it's networking layer could use some more love since it's mostly servers and WebRTC at the moment. Socket would be a good way to make it work over local networks and have a nice path for deploying the app to mobile/desktop.
@lutindiscret @mauve it would be correct to say that our p2p is very low level, its a *network* protocol: we handle NAT traversal (hole-punching/creating connections) and packet delivery. Our goal is to help *web developers* create p2p software, we're excited to see people using things like GunDB, Hypercore, YJS, and other protocols and libraries.
@mauve @lutindiscret to add to that, Socket is the *only* solution that can enable the *average* web developer to use GunDB on mobile as 100% p2p (without servers or WebRTC, etc).
@heapwolf @mauve @lutindiscret can it also support hypercore on the mobile? I see holepunchers struggling to release the mobile version of keet so I wonder if it would already work on socket?
@ninabreznik @heapwolf @lutindiscret The main difference is that you'd need to run the js versions of most modules and replace hyperswarm with something socket-specific
@mauve @ninabreznik @lutindiscret yes exactly, just swap hyperswarm for stream-relay (stream-relay isn’t based on node streams but could easily be used as a stream source)
@ninabreznik @mauve @lutindiscret *technically* it already works on mobile and desktop (since udp works) and all the hyper modules are transport agnostic, they’re just stream interfaces. stream-relay would be pretty easy to swap for hyperswarm. hypercore is neat, we will definitely do a PoC with it
@mauve thanks!
@heapwolf sorry: I think I was confused as why you provide such a library while nor electron, nor Tauri does that. It looked off-topic/strange to me but from @mauve message I understand that your library is quite low-level and about providing an alternative to enable people building there own "backend" be it a DB or anything else above it and socket make it work on every device. I may not be clear but it's more clear to me now 😅