EtherDream / http-server-online

Start a local HTTP server without any tools, just open a web page.

Home Page:https://hs.etherdream.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposal/Questionning: "Tunnel (expose local server to the Internet)"

ariary opened this issue · comments

I see that the tunnel feature is on the roadmap, and I am really interested in it!

Maybe I'm wrong, but a simple approach would be to ease (or detail) a local set up of the server and then populate it using ngrok (or any alternative)?

Programs like ngrok are not feasible, because JS cannot provide an HTTP server port. The proxy module must be in the web page.

user 1
user 2  <--http--> backend <--ws--> webpage <--file api--> disk
...
user N

In fact, this feature is not difficult to implement, just worried about risks, such as network attacks, illegal content, etc. That's the hard part.