Live data from Hacker News

Real Terminal, All Chrome

blog.koding.com

91–100 of 112 posts

Re: Real Terminal, All Chrome

#91
post #27
post #26

Earlier quoted context omitted.

you're right, but local bash in the browser is technically not possible for now. (if you don't hack or bridge the chrome). It can be an emulator or a connector like the secure-shell app by Google in Chrome store. Terminal app provides a free and full terminal with Koding VM.

ChromeOS has something, but I have a feeling that's the browser acting as a window manager and running the terminal from its underlying Linux OS. I do wonder what might be achievable with PNaCl... Not saying what you've done ain't cool! Just wasn't quite what I expected from the headline :)

ChromeOS is able to show terminal in the browser because the feature is built into the browser. i.e terminal extension (crosh extension) on ChromeOS has special privileges to access the underlying system.

if you want to dig deeper (grep for terminal_private_api here):

http://git.chromium.org/gitweb/?p=git/chromium.git;a=commitd...

Re: Real Terminal, All Chrome

#92
post #26
post #23

Earlier quoted context omitted.

I think he meant (and I initially assumed from the headline) effectively bash in the browser, running locally.

you're right, but local bash in the browser is technically not possible for now. (if you don't hack or bridge the chrome). It can be an emulator or a connector like the secure-shell app by Google in Chrome store. Terminal app provides a free and full terminal with Koding VM.

local bash in the browser technically is possible without any hacks. You need to write an NPAPI browser plugin to do forkpty() and the browser-javascript can access the pseudo terminal through the NPAPI plugin.

Re: Real Terminal, All Chrome

#94
post #48
post #41

Earlier quoted context omitted.

Oh, I mean I wasn't impressed with the terminal emulator itself. At least when I tried it, it seemed to have problems with some ctrl-sequences (as in, other things would get them instead of whatever I was running in the terminal emulator). I also was not very impressed with the weird cursor fading thing it does. Right now I'm running Debian Wheezy on my Pixel with a recent kernel that I built myself (the 3.0.whatever…

>> Oh, I mean I wasn't impressed with the terminal emulator itself. At least when I tried it, it seemed to have problems with some ctrl-sequences (as in, other things would get them instead of whatever I was running in the terminal emulator). This is true, my go-to text mode editor (yes you can laugh) nano has Ctrl-O for write-out and that brings up the ChromeOS open dialog instead. It's most irritating. I might wait…

This is interesting. I am the author of Gate One (https://github.com/liftoff/GateOne) and I learned early on that Chrome doesn't let JavaScript override Ctrl-T, Ctrl-W, and Ctrl-Tab but Ctrl-O? That's silly. There's no reason why they couldn't override that.

Note: You can work around the Ctrl key override problem by opening up any web app via an "application shortcut". Menu-Tools->Create application shortcut.

Re: Real Terminal, All Chrome

#95
post #81
post #65

Earlier quoted context omitted.

It's certainly possible to run a GNU userland on top of NaCl, though it would be highly nontrivial.

i already told that it's possible but "connecting to local terminal from chrome" is not that possible. maybe you can do it over local SSH connection.

Well, if you're using Chrome on Linux you can just run Gate One (https://github.com/liftoff/GateOne) on your desktop and connect to https://localhost/. That'll let you access SSH or whatever terminal program you like. I use it every day!

(full disclosure: I wrote Gate One =D )

Re: Real Terminal, All Chrome

#96
post #89

Earlier quoted context omitted.

You took the words out of my mouth. Oh and my HP48 has done many hours as a primary computation device.

I also learned to program with my HP48GX and my HP49G. When we couldn't imagine we would have smartphones, we already had programmable computers in our pockets :-)

Yes and bar the internet connectivity and the phone part, the HP48 series are far more powerful than any smartphone as a computer!

http://my.opera.com/vladrodr/blog/2008/11/11/convertir-progr... <-- says it all

Re: Real Terminal, All Chrome

#97
post #6

Would you really SSH through this to your server? I mean, what about security...

While I personally would trust the Koding folks to be responsible with my credentials/SSH sessions, if you want a terminal in your browser using a server that you control why not use Gate One? (https://github.com/liftoff/GateOne)

It'll let you run whatever terminal app you like (defaults to SSH w/advanced features like session duplication).

Full disclosure: I am the author of Gate One.

Re: Real Terminal, All Chrome

#98
post #2

Really cool. A little slow to load, perhaps, but I say that with no knowledge of how much is going on behind the scenes. I have only one real complaint, and it's unique to me. I use a blank page as my new tab page instead of the default, and I could find no way to launch this extension other than setting my new tab page back to the default. Edit: what's the password for sudo?

There's two ways that I'm aware of to launch a Chrome app without using the "new tab tab":

1) Use a bookmark. Chrome apps are just bookmarks, after all. If you want to be really clever about it you could even use a (personal, non-social) bookmarking web app like http://bookmarked.us/

2) Install an app that lets you launch other apps. I'm thinking of this one: https://chrome.google.com/webstore/detail/app-launcher/odmpa... (App Launcher)

Re: Real Terminal, All Chrome

#99
post #85
post #84

PSA: Don't count on this to be secure. Not just because Koding can obviously monitor everything you do, but because the implementation appears to rely on some more or less flimsy kernel container isolation (user namespaces etc). This means hackers can break out of one instance of this and enter others. So please, don't use this as a bouncing point to SSH to other servers or for anything else that might be even a litt…

I have $1000 here waiting for you if you can break from one container to another. I need valid proof in the form of source code for your exploit. send it to hello @ koding.com and we will paypal you the money.

That's not very much money for an LXC 0day.

Re: Real Terminal, All Chrome

#100

So is http://koding.com a http://nitrous.io competitor? Can't really tell at the moment since all the main page says right now is: A new way for developers to work. Software development has finally evolved. It's now social, in the browser and free. And then throws an error about not being able to connect to the backend. [edit] Hope it is since nitrous.io seems a bit expensive.

There's a lot of companies offering web-based IDEs with built-in terminals now. They've already started to differentiate themselves with unique features too! For example:

http://wakari.io/ - Focus: Scientific computing and analytics. They also offer a great implementation of IPython Notebook (really, the integration with Anaconda/conda is awesome). It's run by the folks at http://Continuum.io (Anaconda, conda, Numba, IOPro, Bokeh, etc).

http://www.devtable.com/ - A really slick (love the default dark theme) Web-based IDE. The GUI is really nice (minimal--the good kind) and doesn't "get in the way" like some of the competition. They also have lightning-quick deployment of your apps to GAE (the speed at which you can deploy/test your code impressed me). They also have an interesting LaTeX project option which also has instant deployment/testing. Useful because getting the LaTeX tools setup on a workstation can be a real pain (and they're SLOOOOOOW).

Post reply on HN