Live data from Hacker News

Servefolder.dev

servefolder.dev

11–15 of 15 posts

Re: Servefolder.dev

#11

Cool, Not seen the browser directory access permission before! Is there any browser behaviour different than when using a file:// uri?

I think mainly CORS stuff, e.g. you can't use images loaded with file:// for WebGL texture, but also curious if more

I think there might be some script loading rules, too. That prevents JavaScript from an internet loaded site accessing local content

Re: Servefolder.dev

#14
post #9

If you have node, "serve" does pretty much the same thing. `npm install -g serve` then `serve .` If you want a public URL you could try my side project, `expose` ( https://expose.sh ) in conjunction with `serve`.

This looks very interesting - thanks for developing/posting. Would it be feasible to allow different domains to be used - maybe for a fee?

Yep that is an option, you can subscribe at https://dashboard.expose.sh, set your api key (copy and paste what's shown) then run `expose` like `expose 80 as mysite.expose.sh`

Re: Servefolder.dev

#15

If you have node, "serve" does pretty much the same thing. `npm install -g serve` then `serve .` If you want a public URL you could try my side project, `expose` ( https://expose.sh ) in conjunction with `serve`.

Is this basically ngrok?

Yep, it's similar. I believe it can expose more than just web apps, for example SSH. I'm focusing my project on the web and making it easier to use.
Post reply on HN