Files
server/views/index.html
Roman Shtylman d15e568cea refactor server
* shows some basic statistics on main page
* move tcp proxy setup into separate file
* migrate github page theme to be hosted locally
2013-06-18 23:00:45 -04:00

99 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="localtunnel : expose yourself to the world" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/style.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/grid.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/widgets.css">
<title>localtunnel</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/shtylman/localtunnel">View on GitHub</a>
<h1 id="project_title">localtunnel</h1>
<h2 id="project_tagline">expose yourself to the world</h2>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<div class="row">
<div class="half">
<h3>Requests</h3>
<div id="request-count" class="flip-counter"></div>
</div>
<div class="half">
<h3>Tunnels</h3>
<div id="user-count" class="flip-counter"></div>
</div>
</div>
<p>Ever wish you could get feedback from friends or colleagues about a web project without deploying it? Localtunnel helps you do just that! Run the simple proxy and get a web facing url which you can share with anyone.</p>
<h3>install</h3>
<div class="highlight"><pre>npm install -g localtunnel
</pre></div>
<p>Lets say I have a local webserver running on port 8000. I can expose it to the world just by running</p>
<div class="highlight"><pre><span class="nv">$ </span>lt --port 8000
your url is: http://gqgh.localtunnel.me
</pre></div>
<p>You can now share <a href="http://gqgh.localtunnel.me">http://gqgh.localtunnel.me</a> with anyone. As long as your local instance of <code>lt</code> is running, this url will remain active. Any requests to that url will be routed to your service on port 8000.</p>
<h3>uses</h3>
<p>Beyond sharing with friends, localtunnel makes a great tool for testing with any service which needs to hit internet visible URLs.</p>
<ul>
<li>browserling.com</li>
<li>twillio testing</li>
<li>sendgrid web api</li>
</ul>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">localtunnel maintained by <a href="https://github.com/shtylman">shtylman</a></p>
<p>Theme from <a href="http://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
<script src="/js/index.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-574889-7']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>