btimby / ug

Web Underground browser-based website hosting platform.
MIT License
4 stars 0 forks source link

Incorporate Bugout #5

Open btimby opened 3 years ago

btimby commented 3 years ago

Add Bugout RPC / gossip protocol to engine. This will allow apps to send broadcasts or perform client / server interaction.

btimby commented 3 years ago

https://github.com/chr15m/bugout/issues/36

btimby commented 3 years ago

I have added bugout to the Server class. I still need to expose the RPC functionality within the runtime.

btimby commented 3 years ago

I need to separate the Server instance created by serve() from the Server instance created by fetch(). In fact fetch() should return a Client instance.

Also, I need to work out how the address / infoHash / identifier are used in Bugout so I can ensure the server and clients are capable of having fixed (localStorage) addresses.