Live data from Hacker News

Localtunnel.me

localtunnel.me

31–40 of 51 posts

Re: Localtunnel.me

#31

I'm confused, there is an existing project called localtunnel that does exactly the same thing and dominates search results for "localtunnel". At the very least, pick a different name. http://progrium.com/localtunnel/

[deleted]

Re: Localtunnel.me

#33
Author of the project here.

I want to clarify why this project exists (as many seem to point out that other projects or methods exist for doing this).

TL;DR; If you think of localtunnel as just a shitty ngrok (or name your project here), you are missing the point and probably don't have the same use cases I do.

1. It was made overnight at some hackathon because I was not satisfied with the other tunneling options I found. They required either an account or some stupid ssh setup. I got to thinking of ways to create a tunnel that simply had an CLI tool and instantly get a tunnel no setup. It worked, I kept it.

2. It is written as a library first, CLI tool second. This means it can be used to create tunnels in a test suite if you want to use services like saucelabs to run browser tests (see https://github.com/defunctzombie/zuul). This is leveraged by projects like socket.io and engine.io (among others). This is perhaps the main reason I keep it around despite there being alternative CLI tools.

3. Both the client and server code are availably and easy to install and use. Companies do this when they want to run their own tunnels for privacy (or whatever their reasons... I don't care).

4. Yes, I know the name is identical to the old ruby?python? one. Whatever. That one seems defunct now anyway.

Re: Localtunnel.me

#35

Author of the project here. I want to clarify why this project exists (as many seem to point out that other projects or methods exist for doing this). TL;DR; If you think of localtunnel as just a shitty ngrok (or name your project here), you are missing the point and probably don't have the same use cases I do. 1. It was made overnight at some hackathon because I was not satisfied with the other tunneling options I f…

Very cool.

ngrok doesn't have a programmatic API, but I'd love to add one soon. I've built out a library for this in https://github.com/inconshreveable/go-tunnel that will be the foundation for ngrok's next version providing a library in addition to the CLI tool.

Unfortunately, one of Go's weaknesses is that it doesn't embed into other languages like C, so I'd need a ground-up rewrite (in C, probably) with bindings to other languages.

If ngrok the command-line tool had a well defined programmatic interface (like RESTful JSON) would that useful, or is the burden of a separate binary/process to manage still too painful?

Re: Localtunnel.me

#36
post #9

I suggest you don't use it until they have upgraded OpenSSL... WARNING: server returned more data than it should - server is vulnerable! (Heartbleed)

I think it is alright to use it.. its just to share the work in progress so it doesnt matter if it is vulnerable

Once you let the public use it, there are certain expectations. That's like saying that an unfinished nightclub doesn't need fire safety because it's a work in progress. That's not acceptable if you're still letting people in to dance.

Re: Localtunnel.me

#37

Author of the project here. I want to clarify why this project exists (as many seem to point out that other projects or methods exist for doing this). TL;DR; If you think of localtunnel as just a shitty ngrok (or name your project here), you are missing the point and probably don't have the same use cases I do. 1. It was made overnight at some hackathon because I was not satisfied with the other tunneling options I f…

Very cool. ngrok doesn't have a programmatic API, but I'd love to add one soon. I've built out a library for this in https://github.com/inconshreveable/go-tunnel that will be the foundation for ngrok's next version providing a library in addition to the CLI tool. Unfortunately, one of Go's weaknesses is that it doesn't embed into other languages like C, so I'd need a ground-up rewrite (in C, probably) with bindings t…

To me the ease of having the library be installable with the "canonical" package manager of my platform is too convenient; just "feels" more natural and simpler. I actually thought about writing a node.js ngrok client but then gave up on the idea since localtunnel was working well enough and I personally didn't need the other features from ngrok which I didn't have in localtunnel.

I wouldn't worry about the whole rewrite in c thing. If your server protocol is simple enough, writing clients in the native languages will be better than writing bindings. Installing bindings trips up a lot of users that are not used to compiled software.

Re: Localtunnel.me

#38

Earlier quoted context omitted.

Very cool. ngrok doesn't have a programmatic API, but I'd love to add one soon. I've built out a library for this in https://github.com/inconshreveable/go-tunnel that will be the foundation for ngrok's next version providing a library in addition to the CLI tool. Unfortunately, one of Go's weaknesses is that it doesn't embed into other languages like C, so I'd need a ground-up rewrite (in C, probably) with bindings t…

To me the ease of having the library be installable with the "canonical" package manager of my platform is too convenient; just "feels" more natural and simpler. I actually thought about writing a node.js ngrok client but then gave up on the idea since localtunnel was working well enough and I personally didn't need the other features from ngrok which I didn't have in localtunnel. I wouldn't worry about the whole rew…

Make sense and I agree. Thanks for the feedback! Unfortunately, ngrok's new protocol is optimized very heavily for speed which comes with a cost in complexity of both the protocol and the clients that implement it.

Re: Localtunnel.me

#39
post #19

This seems like a bad idea or to phrase it correctly: use it wisely. Because, you will use this service for the development to give someone outside access to something. If you then close the tunnel, the service will forward any request to its own server either to the main pager or to an error page. That means, all data given with a request, either via GET or via POST, will be given to that service. That could include…

If you're testing 3rd party APIs with sensitive data, you're Doing It Wrong.

Re: Localtunnel.me

#40
post #7

Earlier quoted context omitted.

Is there a writeup somewhre of what happened? localtunnel v1 worked perfectly for me, localtunnelv2 never did (apparently no remote server was ever up) but it's weird that ngrok is a ruby project again.

ngrok is a Go project and has not changed

ah I was tricked by having it installed as a gem, thanks for the clarification.
Post reply on HN