GithubHelp home page GithubHelp logo

teletunnel's Introduction

teletunnel (0.0.9)

telehash http proxy utility for node.js.

Note

These first releases are primarily concerned with debugging thtp in telehash-js, so aren't super configurable via the cli. The server component will accept ALL requests for proxying, a real configuration likely will come out with v0.1.X

Usage (node v0.10.X)

npm install teletunnel

To set up a teletunnel server (on example.com)

   $ teletunnel-server -p 8000

To proxy a subdomain on a teletunnel server to a local port (3000 here)

   $ teletunnel -p 3000 -u http://example.com

the command line will spit out your subdomain (e.g. http://gtety6wv.example.com:8000/), go visit it in your browser and it will proxy over telehash to your local port 3000 :)

Note: This module runs with express-subdomain, and Express parses the request URL for a top level domain, so developing locally without one won't be possible because Express will treat the subdomain as the domain, and the actual domain as a TLD. you can get around this by spoofing a 'real' local domain like local.net with dnsmasq or by modifying etc/hosts

HACKING

MIT license, go nuts. email Ryan Bennett ([email protected]) or post an issue if you run into trouble.

teletunnel's People

Contributors

rynomad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

teletunnel's Issues

Is this in a working condition?

Thanks I came across this project when I was tinkering with a similar idea. I downloaded this and fooled around but wasn't able to get it to reply back with a web page. Is this a working version? If so how can I figure out how to get it to work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.