News for hackers. Stuff that matters.
Re:Showoff by moe on Wednesday April 20, 2011 @01:18PM (#2467475)
If you have a public facing server then this can be had for free:

  ssh -nNT -R 8080:localhost:3000 myserver.com
Et voilà, myserver.com:8080 now points to localhost:3000.
Re:Showoff by tekacs on Wednesday April 20, 2011 @02:11PM (#2467684)
Hmm I've been using the following: https://gist.github.com/932137 for some time now - it's just a bash function which lets me type:

$ show 3000 test

and get http://test.tekacs.com/ -> port 3000 on my computer using just SSH, assuming you have root access to the server (which you would need to set up forwarding on port 80 anyway...)

$ ssh -tR 1080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:1080 localhost"

being the functional line...

Re:Showoff by aliukani on Wednesday April 20, 2011 @03:49PM (#2468084)
Thanks for this!
Re:Showoff by senex on Wednesday April 20, 2011 @01:28PM (#2467520)
Yup, this is basically what showoff is doing. Showoff is nice because it gives you:

* HTTPS * Works without access to public-facing server. * Pretty URL * Eventually will support more stuff besides just port-forwarding :)

Re:Showoff by tekacs on Wednesday April 20, 2011 @02:04PM (#2467666)
Ah, that last bit sounds good - look forward to it... :)
Re:Showoff by d0m on Wednesday April 20, 2011 @03:43PM (#2468069)
It's a bit like saying: if you have a private server you can use: git push blah instead of using DropBox. (This doesn not invalidate your point; far from it, I'm just saying that because it's somewhat trivial for us geek doesn't mean it's not something that other folks would pay for.
Re:Showoff by 18pfsmt on Wednesday April 20, 2011 @05:01PM (#2468359)
What non-technical person runs a server on their laptop?
Re:Showoff by HerraBRE on Wednesday April 20, 2011 @06:36PM (#2468671)
Ever heard of Skype? Bittorrent?

Servers are awesome. :-)

Re:Showoff by fps on Thursday April 21, 2011 @10:25AM (#2470711)
Neither of those are technically servers, and both do NAT traversal on their own.
Re:Showoff by emehrkay on Wednesday April 20, 2011 @02:37PM (#2467799)
I came in here to start a sentence like " I dont want to be a dick, but..." and you've answered. Thanks.

Showoff is a great idea though, best of luck!!

Re:Showoff by bobwaycott on Wednesday April 20, 2011 @01:36PM (#2467552)
And there's still that ugly port number in the URL. Vast majority of clients would neither like nor understand this -- most of them don't even know what a port number is.

EDIT: Also, Showoff isn't suggesting it's doing something you couldn't do before. It just does it in a simpler & pain-free way.

Re:Showoff by chrismetcalf on Wednesday April 20, 2011 @01:40PM (#2467573)
Set up an Apache mod_proxy from port 8080 on your server's localhost to a vhost at showoff.yourdomain.com.

You'll have to make sure to build your app to not make any assumptions about where it's running (ex: links to "http://localhost:3000/path), but you should be doing that anyway.

Re:Showoff by bobwaycott on Wednesday April 20, 2011 @01:48PM (#2467589)
Yep, that's definitely possible. And yet, again, you have to "setup" something. It's totally okay to do things that way. Two thoughts:

You have to have Apache setup (which, when developing a new project, you may likely not have even reached that point).

You can also save your current file by going to File > Save. But Ctrl/Cmd+S is easier (and probably what you use every day).

Re:Showoff by tekacs on Wednesday April 20, 2011 @02:08PM (#2467677)
With just the most minuscule bit of initial setup a simple bash function using just SSH can replicate all of the functionality (and more) of showoff.io, with just as much ease ('show 3000 subdomain') but hopefully the upcoming features will make it a more viable proposition... :)

Then again, I'm quite happy with a VPS setup since I get all of the extra benefits of having the server around...

Re:Showoff by mishmash on Wednesday April 20, 2011 @02:06PM (#2467671)
> You have to have Apache setup (which, when developing a new project, you may likely not have even reached that point).

Showoff project is definitely cool, but instead of apache, nginx installs in one command and can easily proxy like this with about 10 lines of easily googled config using 1/10 of the resources on a simple prgmr account or the like.

Re:Showoff by bobwaycott on Wednesday April 20, 2011 @06:13PM (#2468608)
Absolutely. The win here is that you get to stop at "installs in one command". No googling. No configuration. Job is done; share your URL.
Re:Showoff by wildmXranat on Wednesday April 20, 2011 @01:24PM (#2467501)
Do you accept upvotes as currency? I was thinking that ssh should be able to do this.
Re:Showoff by kordless on Wednesday April 20, 2011 @01:31PM (#2467529)
There's this bit about the 'show' command on your computer. I'm wondering if that's a bash script, or a standalone bit of software to forward data to their servers?
Re:Showoff by bobwaycott on Wednesday April 20, 2011 @01:34PM (#2467543)
`show` is just the command that sets up the ssh tunnel. Doesn't forward data or anything like that.

EDIT: It's not a bash script. It's a Ruby wrapper.

Re:Showoff by colanderman on Wednesday April 20, 2011 @05:13PM (#2468403)
And if you need a public facing server, teensy VPNs can be had for $5/mo.