Dletta / dht-proxy

A proxy to bridge discovery over DHTs of all kinds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dht-proxy

A proxy to bridge discovery over DHTs of all kinds for the Gun Protocol

TRY IT OUT HERE: https://dletta.github.io/dht-proxy/

How it works

Gun uses websockets to communicate with other nodes. Overwriting the websocket, we can add any transport we want using the facade pattern.

Doing this we can use truly decentralized entry points to connect to each others data.

Roadmap and Goals

The main goal is a decentralized DHT / Discovery mechanisms. Gone are the days of having to start your own bootstrap relay peers just to use as a gateway to other peers. How about just connecting to a common gun networking hash and discovering all the data found there? Sounds too good to be true?

Sorry to disappoint, but it actually works.

  • Trystero Gun DHT App with Room (Mesh)
  • Trystero Add configurable Mesh Name
  • PeerJs Gun DHT integration
  • HyperDHT integration

Connecting across these technologies, we no longer need to worry about 'finding' or having 'access to' gun peer urls.

ezgif com-gif-maker (26)

A gun walks into a bar and the barman asks: "Which protocol do you speak?" The gun answers: "Any."

Contributions welcome

Fork it, PR it, make it better for all of us.

License

MIT (C) Dletta 2021

About

A proxy to bridge discovery over DHTs of all kinds


Languages

Language:HTML 56.3%Language:JavaScript 35.8%Language:CSS 7.9%