{"_id":"http-tunnel","_rev":"53-836136a8d404ec3d28a5d20f4b938caa","name":"http-tunnel","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","dist-tags":{"latest":"0.6.2"},"versions":{"0.5.4":{"name":"http-tunnel","version":"0.5.4","description":"Initializes a tunnel to a local webserver through a public hosted server.","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./http-tunnel.js","http-tunnel-server":"./http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"# http-tunnel\n\nInitializes a tunnel to a local webserver through a public hosted server.\n\nIf you are on the road, behind fifteen firewalls, and want to share some webapp you're developing locally, or just share a set of files with someone quickly, this tool will do the job.\n\nIt is capable of either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file).\n\n## Testing through public server\n\n`./http-tunnel.js --server pub.2x.io -d -s`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument).\n\n`./http-tunnel.js --server pub.2x.io -d -s -i myhost`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument), and also attempt to host it at the myhost prefix. In case of the example, that would be myhost.pub.2x.io, should that be currently available.\n\n## Custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","_id":"http-tunnel@0.5.4","dist":{"shasum":"b6351b7add76f7fe237e170ed3467b497c1cff6e","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.4.tgz","integrity":"sha512-SvgStHoW2hQVlMYjGnUheYi40LivAvUgjQBT1Od7MAdokMOzkWIw3NsS76NTLA/zwBAPOitAtO4kaE2dqSDt9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZ+XZ0C+emeu8TD5lj5Qrxk/bgmED1fPAd17s/WOOTfAiA552F9+KeYIgpjE5ASoauyf76zvgh7+7OOaLrPh8avBw=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.5.5":{"name":"http-tunnel","version":"0.5.5","description":"Initializes a tunnel to a local webserver through a public hosted server.","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./http-tunnel.js","http-tunnel-server":"./http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"# http-tunnel\n\nInitializes a tunnel to a local webserver through a public hosted server.\n\nIf you are on the road, behind fifteen firewalls, and want to share some webapp you're developing locally, or just share a set of files with someone quickly, this tool will do the job.\n\nIt is capable of either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file).\n\n## Installation\n\n`npm install -g http-tunnel`\n\n## Testing through public server\n\n`http-tunnel --server pub.2x.io -d -s`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument).\n\n`http-tunnel --server pub.2x.io -d -s -i myhost`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument), and also attempt to host it at the myhost prefix. In case of the example, that would be myhost.pub.2x.io, should that be currently available.\n\n## Custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","_id":"http-tunnel@0.5.5","dist":{"shasum":"6a01cb22f3b8a3a57a1aa8b539ad7ba9e9aa9b74","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.5.tgz","integrity":"sha512-RfebAWyDA0mMtw4QcrkISyCt7nhak0YJXrdBD4cpO+Z7mqaxKbMla5wkGMEbKyUHHuNPE2KPgo7Q912NqUNk3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl3bPbLyL5EPsux656ET2NAXBt+/q/9Yw6eExxO66FCwIgcOVj+HcNZtqb9aHiLO624z9As2uvz1jGIY1tyw47oTw="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.5.6":{"name":"http-tunnel","version":"0.5.6","description":"Initializes a tunnel to a local webserver through a public hosted server.","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./http-tunnel.js","http-tunnel-server":"./http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"# http-tunnel\n\nInitializes a tunnel to a local webserver through a public hosted server.\n\nIf you are on the road, behind fifteen firewalls, and want to share some webapp you're developing locally, or just share a set of files with someone quickly, this tool will do the job.\n\nIt is capable of either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file).\n\n## Installation\n\n`npm install -g http-tunnel`\n\n## Testing through public server\n\n`http-tunnel --server pub.2x.io -d -s`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument).\n\n`http-tunnel --server pub.2x.io -d -s -i myhost`\n\nThis will serve the current directory (the -s argument), along with a directory index (the -d argument), and also attempt to host it at the myhost prefix. In case of the example, that would be myhost.pub.2x.io, should that be currently available.\n\n## Custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","_id":"http-tunnel@0.5.6","dist":{"shasum":"0f6ce61280901a9bb84a4d1832b0bc8746dac2aa","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.6.tgz","integrity":"sha512-W6NC7/ivwW3NMzAtRMxD8AbvLF7gcd4UTqVr1nnXvgHqgNpxRTt6NeZsnw340/NohVqgIHl/YgGx0LME6fISCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEX0BRtk2p4wMa+ur5J2MspMzv7QRu/nsADpdguyzGuAiEAoNLv2KLh7X2+Nz8JdQPflQDoQTmOJYF/AjUpShxopsk="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.5.7":{"name":"http-tunnel","version":"0.5.7","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p 8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.","readmeFilename":"README.md","_id":"http-tunnel@0.5.7","dist":{"shasum":"c09bd8867a7a722e20d9cd7c150a2927be81b3b1","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.7.tgz","integrity":"sha512-KqAGIMTkLcl40NlsrXis51LoyQwZlGQhUrNdHUlPiWTQx+TpYt4JYg8+Z07cReU1JhO3lepymPAbN6LXorLtBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr9a5dP7DkFrRTHT0RqSVkylJ34O0BtoJLe1Bifw0OtwIhAIwkKBQztjdHU9EJa9z7TY8iLxPjZ7qQJFcjBsN10BOT"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.5.8":{"name":"http-tunnel","version":"0.5.8","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p localhost:8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","readmeFilename":"README.md","_id":"http-tunnel@0.5.8","dist":{"shasum":"38d6e037edc5e176e400ad5c7260dd3d69be6d19","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.8.tgz","integrity":"sha512-29PR3B/nzzgBrr9eTxW7UU+izcrFoUzVSlV8cUq6HoKl+upqMaVmnAkB96NF+rQHif9r9EyrIs2xr84mI2yedw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmr+qLjBGvW6vdY3Tbqp4GD/7DEqcI0bfarZCgITiKpQIgda3hr7mmOFASC3/G/IMsNl9ghfgbSz/sOUUc1mZV9fg="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.5.9":{"name":"http-tunnel","version":"0.5.9","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p localhost:8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","readmeFilename":"README.md","_id":"http-tunnel@0.5.9","dist":{"shasum":"010cf1ac7797bd963fcd002b65ada5fbe7ba5a17","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.5.9.tgz","integrity":"sha512-09Iu9NdyN+SpHkATBCypzvlvw/NZcyrXvUoXsBEjqgtPfoegWY3n4Si9go1Cfhl8Hw6zM9rn8Ly+8SpwB6uDxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOFxWHQ4TN/05NxQnm9DnUnZnJ4VsZpaihtpIa5HvL3AiBA0XSjqVXrg/DRsApu740MvW+a1U7mN4Ca/IkitfZNKg=="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"directories":{}},"0.6.0":{"name":"http-tunnel","version":"0.6.0","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p localhost:8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","readmeFilename":"README.md","_id":"http-tunnel@0.6.0","dist":{"shasum":"cfe690b7e2be904abcf7a83f33889eee40802c44","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.6.0.tgz","integrity":"sha512-sMlYufMQ/wBSIEJzbxRhGuavTf85HRsWTs5H1SBrpAobsg9WVK3zO/nxP6IlK3BHutB6/l9tPESkYd+MADAdfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDODuQYL3vbpRs/bxggJKHIsHMoDTKW4dUJOKzKXN7HAiEA+49xOarVXR/MUg6wbfDT1jnov5LZBDfp/9o+HJEnNks="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}]},"0.6.1":{"name":"http-tunnel","version":"0.6.1","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p localhost:8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","readmeFilename":"README.md","_id":"http-tunnel@0.6.1","dist":{"shasum":"e7e7795b8544ac3415e4c91efef0723303f62d21","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.6.1.tgz","integrity":"sha512-4nvdkfAHm7GwEBB+dbs8XLrP38DsmUitjzG0FjHONeY+WeJ/pxq7bsQqh8Pim+tjo6tMq3Poi6my5M7Rhkit/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgY0cHtD3eaYAGDbpdWdIEx19Gy4NNmQpHPBLCGA1tpQIgdfy6Nkibz7KNRRykF7CZUD6Ky+XGolsqoTDHl1BHJxA="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}]},"0.6.2":{"name":"http-tunnel","version":"0.6.2","description":"If you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!","main":"Channel.js","dependencies":{"commander":"~1.0.4","express":"~3.0.0rc4","ratelimit":"0.0.4","winston":"~0.6.2"},"bin":{"http-tunnel":"./bin/http-tunnel.js","http-tunnel-server":"./bin/http-tunnel-server.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"license":"BSD","readme":"## In brief\n\nIf you are on the road, behind fifteen firewalls, and want to share some web application you're developing locally, or just share a set of files with someone real quick; this tool will do the job!\n\n`http-tunnel` will either forwarding incoming connections to a locally running webapp, or serve the current working directory (with an optional directory listing as well, if you don't have an index file) through an adhoc express instance.\n\nAnd yes, it supports WebSockets.\n\n## Installation and usage\n\n### Install? Easy!\n\n`$ npm install -g http-tunnel`\n\n### Share a folder as a website?\n\n```\n$ mkdir somefolder\n$ cd somefolder\n$ echo hi > file.txt\n$ http-tunnel --server pub.2x.io -d -s\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and serve the content of the `somefolder` directory (the `-s` argument), along with a directory index (`-d`).\n\nAnd if you want to use a custom hostname, try `-i foobar`, or anything else to your liking. That would e.g. result in `http://foobar.pub.2x.io`. If the name is currently available, it'll be serving you.\n\n### To serve a locally running web application?\n\n```\n$ http-tunnel --server pub.2x.io -p localhost:8080\n```\n\nThis will create a tunnel through a public url, such as `http://foofy.pub.2x.io` and proxy requests to and from port 8080 (the `-p` argument).\n\n## Note\n\nThe demonstration server, `pub.2x.io`, is at the moment rate limited. Should you wish a higher bandwidth permanent solution, get in touch with me for pointers.\n\n## Hosting on a custom server\n\nThis can be hosted on any server, but really ought to be one with a wildcard dns pointed to it. In case of the testserver above, it is running HAProxy with an SSL terminator in front. If you're curious about the HAProxy config, leave an issue or drop me an email.\n","readmeFilename":"README.md","_id":"http-tunnel@0.6.2","dist":{"shasum":"319fa1a9f95cb32173341ec241dd43035d420b36","tarball":"https://registry.npmjs.org/http-tunnel/-/http-tunnel-0.6.2.tgz","integrity":"sha512-6C8p0bYGWws3Nvwq1JQlVJKMu9/uwlwgz+eNwH1+A/AuZh8bd0WhUbLglTsNrG+LxSOePiiDuMUjQdy9JYMY5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8GvRcvyGwAUAvndzTVcYx83W4y4vQH2eEFMjQHpwlnQIgNNOnSFDHnb7uoxwzu4ugmA0lZpv0ZsR02DTtEPQlZ8g="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"einaros","email":"einaros@gmail.com"},"maintainers":[{"name":"einaros","email":"einaros@gmail.com"}]}},"readme":"http-tunnel\n","maintainers":[{"name":"einaros","email":"einaros@gmail.com"}],"time":{"modified":"2022-06-18T22:18:01.365Z","created":"2012-10-02T10:41:14.339Z","0.5.0":"2012-10-02T10:41:15.935Z","0.5.1":"2012-10-02T10:56:34.576Z","0.5.2":"2012-10-02T11:59:27.967Z","0.5.3":"2012-10-03T12:46:47.550Z","0.5.4":"2012-10-03T13:13:49.129Z","0.5.5":"2012-10-03T13:50:59.107Z","0.5.6":"2012-10-03T15:53:39.377Z","0.5.7":"2012-12-29T10:43:20.996Z","0.5.8":"2013-01-07T10:26:29.491Z","0.5.9":"2013-01-07T13:17:12.697Z","0.6.0":"2013-01-08T13:53:37.600Z","0.6.1":"2013-01-08T14:13:28.270Z","0.6.2":"2013-01-08T14:21:31.440Z"},"author":{"name":"Einar Otto Stangvik","email":"einaros@gmail.com"},"repository":{"type":"git","url":"git://github.com/einaros/http-tunnel.git"}}