Hacker News new | ask | show | jobs
Show HN: Lohost – Distributed, decentralized, anonymized local website hosting (lohost.io)
10 points by gmarland 1630 days ago
4 comments

I like it a lot... One thing tho' you can actually take over the www https://www.lohost.io/
thanks!! haha that definitely does seem like a weakness I need to patch :)
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.

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
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 :)

seems like this is basically ngrok?
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 :)

ngrok doesn't have the distributed routing you're talking about, but (b/c its a tunnel?) it can forward non-http traffic (which I use to host a local proxy service to MITM debug mobile apps).
the non http traffic is really really powerful. I feel like currently lohost is limited in serving static content too. its definitely something I would like to improve on in the future!