top | item 29827474

Show HN: Lohost – Distributed, decentralized, anonymized local website hosting

10 points| gmarland | 4 years ago |lohost.io

9 comments

order

gmarland|4 years ago

This was a project I worked on over the Christmas break. It may not come through in the video but this is serving the webite straight from your computer, not backdoor uploading files.

Here's a video showing it in action: https://youtu.be/DaK4d4Belwk

It's really just a fun project I wrote to see if it was possible.

btdmaster|4 years ago

Very cool!

Just so you know, I was able to build this under Arch Linux with dotnet-sdk 6.0.0.sdk100-2:

  dotnet restore
  dotnet msbuild

gmarland|4 years ago

Thanks!!! It's been an itch in the back of my brain for some time now!

That's also good to know! I'll try and put together a Linux installer too :)

itake|4 years ago

seems like this is basically ngrok?

gmarland|4 years ago

I can definitely see why you would say that! ngrok uses tunnels to connect to your computer, this uses websockets to load and serve the requested documents.

The reason for this is that I wanted this to be a distributed solution. You can shard up the different routes across as many computers as you like and the front end will route and patchwork it together at the front end.

Along with that you can run the client over any number of computers and they will act as backups for eachother. So, if you turn off one computer, one of the others will pick up the slack.

I'm not super familar with ngrok, but if it does all that then I guess, beyond the technology, there isn't a massive amount of difference :)