Would prefer ngrok over localtunnel, but hey, it's open source. Guess I'll do it myself!
pip install twisted twistd -n web --path .
Of course there are many options to do the same thing - but this is a simple, clean and elegant start to a potentially really nice tool.
The fact that it has a nice GUI makes adoption much more likely, going to play with this tonight :)
Edit: https://yvrwzxiyog.localtunnel.me Cool!
It looks good though.
python -m SimpleHTTPServer
though.I actually setup a Tmuxinator session for such projects. It launches the static file server, the continuous build process, and a shell in the source directory.
Why not just run static files from disk? Most browsers refuse to execute JavaScript from file:/// Urls for security reasons (understandably).
<script src="app.js"></script> Should work in all browsers, at least on windows. It just looks for app.js relative to the root html file.
In other words, I can setup a local site but instead of going to localhost:81 ... I can go to something like site1.dev or site1.local
I would love this.
One small nit: when loading up the page on a mac, I see OS X window chrome around the examples, but Windows style C:\ file paths
I don't think SSH means what they think it means
"Fenix features the ability to share local sites immediately, securely, and temporarily. With one click, SSH tunneling will proxy your local server to a privately assigned (HTTPS) URL. There’s even a copy link that can be sent to collaborators. Presto! Your laptop is now a public web server. Possibly even a few if you share multiple sites at once."[1]
I guess they are providing the reverse tunneling as a service?
1. https://medium.com/tech-recipes/love-localhost-f488940f3e38
python server.py
Running on http://127.0.0.1:5000