gotomypc / localtunnel Goto Github PK
View Code? Open in Web Editor NEWThis project forked from progrium/localtunnel
Expose your local web server to the Internet
Home Page: http://progrium.com/localtunnel
License: MIT License
This project forked from progrium/localtunnel
Expose your local web server to the Internet
Home Page: http://progrium.com/localtunnel
License: MIT License
DISCLAIMER: This is not the version running in production. It's an experimental new version in development. To see the version in production, use the v1 branch. License: MIT How to use v2: First: python setup.py develop (Alternatively you can do install instead of develop) Now run some web app locally on, say, port 8000. If you have nothing, run this in some directory: python -m SimpleHTTPServer 8000 Localtunnel does some stuff with the hostname, so you want to set up two hostnames. One for localtunnel registration, one for your localtunnel. Normally it expects a wildcard, but we'll just hardcode a hostname for this example tunnel. example.localtunnel.local -> 127.0.0.1 localtunnel.local -> 127.0.0.1 You can do this in /etc/hosts or use that fancy ghost utility. Now you can start the server. It's based on a configuration file in the config directory. You can make your own, but this one is configured to run the server on port 9999 and expects the hostname localtunnel.local ginkgo config/default.conf.py Like your web app or SimpleHTTPServer, you'll want to leave this running. The client is installed as a command called "lt". You use this to make the tunnel. We have to specify the broker address, and the name of the tunnel: lt --broker 127.0.0.1:9999 --name example 8000 Leave this running. Now you should be able to browse to: http://example.localtunnel.local:9999 And you should see the same thing as you would at: http://localhost:8000 THE END
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.