News for hackers. Stuff that matters.

Ask HN: Web-based coding text editors? (for coding on the cr48)

All of this talk about the new Chrome notebook has me thinking about moving coding to the cloud.

Almost all of the coding I do now is stuff that is hosted at github. I don't see any reason that couldn't be done in a browser. It looks like Mozilla has a project targeted at this (https://mozillalabs.com/skywriter/ formerly Bespin).

Are there any others? Are any HNers coding this way already? And yes, I know that vi/emacs + ssh is viable, but that is not the topic ;)

( 56 comments | 75 points | on HN )
Re:Ask HN: Web-based coding text editors? (for coding on the... by AntiRush on Friday December 10, 2010 @12:45PM (#1992438)
Cloud9 IDE (http://www.cloud9ide.com/) is a neat looking project. It's Javascript-centric right now but I believe it will be more generally useful.
Re:Ask HN: Web-based coding text editors? (for coding on the... by clyfe on Friday December 10, 2010 @06:04PM (#1993563)
This project is pretty active on github
Re:Ask HN: Web-based coding text editors? (for coding on the... by gaoshan on Friday December 10, 2010 @11:37PM (#1994180)
I've never used github so this is my first foray into using it and it is down! Does that happen often with github? I've been unable to clone from it (or even connect to the website) for a few hours now.
Re:Ask HN: Web-based coding text editors? (for coding on the... by IdeaHamster on Friday December 10, 2010 @12:28PM (#1992359)
This seems like a promising implementation of Vi in Javascript: http://gpl.internetconnection.net/vi/
Re:Ask HN: Web-based coding text editors? (for coding on the... by Groxx on Friday December 10, 2010 @03:46PM (#1993103)
Works pretty well, but doesn't seem to like my esc key...

/saves for later; thanks for the link!

Re:Ask HN: Web-based coding text editors? (for coding on the... by duncanj on Wednesday December 15, 2010 @01:42PM (#2009248)
It seems to accept C-[ as a replacement.
Re:Ask HN: Web-based coding text editors? (for coding on the... by hasenj on Friday December 10, 2010 @12:32PM (#1992386)
Nice, but heads up: it doesn't play nice with Vimium (chrome extension).
Re:Ask HN: Web-based coding text editors? (for coding on the... by jamwt on Friday December 10, 2010 @02:39PM (#1992839)
Just go into the Extensions window and then Vimium preferences; you can add this vi page to the list of "excluded URLS".
Re:Ask HN: Web-based coding text editors? (for coding on the... by wwortiz on Friday December 10, 2010 @12:57PM (#1992479)
If it was done in a similar way to vimperator there should be a passthrough mode (ctrl-z in vimperator)
Re:Ask HN: Web-based coding text editors? (for coding on the... by rbxbx on Friday December 10, 2010 @04:29PM (#1993244)
In vimium you can press 'i' to go into 'insert mode (sort of)' which works similarly (albeit not as well as) vimperator's passthrough mode.

Adding the exclusion is probably the best route though.

Re:Ask HN: Web-based coding text editors? (for coding on the... by bretthoerner on Friday December 10, 2010 @12:41PM (#1992420)
This is what I do on mine,

Control + Alt + T; ssh user host; emacs -nw

Re:Ask HN: Web-based coding text editors? (for coding on the... by jaxn on Friday December 10, 2010 @01:23PM (#1992577)
Yes, as I said in the initial post, I know that is possible, but it misses the point. This requires a host that you want to develop on and as I move more to the cloud (i.e. hosting on Heroku), I am less likely to have a server to SSH into.
Re:Ask HN: Web-based coding text editors? (for coding on the... by loire280 on Friday December 10, 2010 @02:36PM (#1992829)
It's worth having a VPS around as your dev environment. The laptop you're carrying around is extremely likely to get lost, stolen, dropped, or otherwise damaged. A VPS isn't a backup solution, but it's not at constant risk of physical harm.

Work in a screen session and you'll be able to pick up where you last left off --from any machine. Not to mention your VPS is almost certainly faster than your laptop and connected to a bigger pipe than whatever wifi you're borrowing, so downloading a .tar.gz or a git clone will be fast, and compiling won't eat up your battery life.

Re:Ask HN: Web-based coding text editors? (for coding on the... by loire280 on Friday December 10, 2010 @03:19PM (#1993004)
It's probably worth plugging http://prgmr.com/xen/, run by fellow HN member lsc. If you prepay for the year, a 256MB VPS is only $6.40/mo. I've had good luck with it so far; it's a perfect always-on dev environment.

(I'm just a customer, no affiliation)

Edit: looks like they're not accepting new customers right now. sorry.

Re:Ask HN: Web-based coding text editors? (for coding on the... by kamme on Saturday December 11, 2010 @06:04AM (#1994623)
They where having some issues with their billing pages it said for some time. You can always email them and ask to keep you updated when you can place an order again. Even tough they seem to cut costs by not having a regular helpdesk, they are very fast responders and seem to know their bussiness very well.

I'm a new customer of their service and very happy with the price/quality, but you do have to have a technical background.

Re:Ask HN: Web-based coding text editors? (for coding on the... by peregrine on Friday December 10, 2010 @03:34PM (#1993065)
It appears that they are full or not accepting new customers at the moment because I cannot find a "Buy" button.
Re:Ask HN: Web-based coding text editors? (for coding on the... by jnorion on Friday December 10, 2010 @02:17PM (#1992766)
I'm assuming this is on the CR48? So this means there is a built-in terminal system? I was wondering about that, if they'd allow you past the browser front-end or not.
Re:Ask HN: Web-based coding text editors? (for coding on the... by jlees on Friday December 10, 2010 @03:24PM (#1993023)
There is a very restricted terminal, basically allowing SSH and a couple of other things. If you flip the developer mode switch, you get full VT and shell access: http://www.chromium.org/poking-around-your-chrome-os-device
Re:Ask HN: Web-based coding text editors? (for coding on the... by grandalf on Friday December 10, 2010 @01:13PM (#1992549)
Re:Ask HN: Web-based coding text editors? (for coding on the... by duncanj on Wednesday December 15, 2010 @01:39PM (#2009237)
Unfortunately, Chrome OS seems to trap C-n before it makes it to the browser.
Re:Ask HN: Web-based coding text editors? (for coding on the... by bobds on Friday December 10, 2010 @02:51PM (#1992900)
http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_...

I'm always amazed at what can be found on wikipedia.

Re:Ask HN: Web-based coding text editors? (for coding on the... by Groxx on Friday December 10, 2010 @03:53PM (#1993125)
Indeed, though those comparison pages tend to be very out of date and missing major players while including ones that existed for months at the most.
Re:Ask HN: Web-based coding text editors? (for coding on the... by shaunxcode on Friday December 10, 2010 @11:50AM (#1992213)
I saw http:///www.coderun.com posted here the other day.
Re:Ask HN: Web-based coding text editors? (for coding on the... by gawker on Friday December 10, 2010 @12:14PM (#1992295)
I'm curious about how would you sandbox the code that users write so that it won't affect the system?

Would love to see an open source implementation!

Re:Ask HN: Web-based coding text editors? (for coding on the... by jaxn on Friday December 10, 2010 @11:59AM (#1992245)
All of the images on that page are broken (in Safari). That doesn't exactly instill confidence.
Re:Ask HN: Web-based coding text editors? (for coding on the... by ihodes on Friday December 10, 2010 @02:05PM (#1992732)
Re:Ask HN: Web-based coding text editors? (for coding on the... by jaxn on Friday December 10, 2010 @02:26PM (#1992800)
whoa. Weirdness.

The clickable link above has three slashes after http instead of two. Somehow this results in a link to http:/www.coderun.com (one slash) which results in broken images in my safari: http://grab.by/7PQT

Re:Ask HN: Web-based coding text editors? (for coding on the... by melvinram on Friday December 10, 2010 @12:40PM (#1992410)
Heroku had launched initially with an online code editor though they phased it out. Not sure if it's available online anywhere now days.
Re:Ask HN: Web-based coding text editors? (for coding on the... by jaxn on Friday December 10, 2010 @11:53PM (#1994205)
That would be particularly cool if Heroku added a "staging environment" to test the code prior to deployment.
Re:Ask HN: Web-based coding text editors? (for coding on the... by makeramen on Saturday December 11, 2010 @02:11AM (#1994399)
yeah, I've always wondered why they took that down.
Re:Ask HN: Web-based coding text editors? (for coding on the... by jscheel on Friday December 10, 2010 @12:11PM (#1992283)
I haven't used skywriter, since it was bespin, but I was impressed with the progress at the time. http://kodingen.com/ looks pretty nice though.
Re:Ask HN: Web-based coding text editors? (for coding on the... by jeffclark on Friday December 10, 2010 @12:43PM (#1992429)
I wish Kodingen was a little more focused on development and less on the "social" stuff. It has such amazing potential.
Re:Ask HN: Web-based coding text editors? (for coding on the... by kluikens on Friday December 10, 2010 @12:41PM (#1992421)
Re:Ask HN: Web-based coding text editors? (for coding on the... by nir on Friday December 10, 2010 @02:53PM (#1992912)
I have a working (but far from perfect) App Engine based one here: http://qkhack.appspot.com/

Only Firefox for now, due to the editor UI. If you'd like to help integrate Skywriter/Bespin, I'd love to collaborate. The code is here: https://github.com/niryariv/weblets

Re:Ask HN: Web-based coding text editors? (for coding on the... by kat on Friday December 10, 2010 @12:54PM (#1992473)
http://jsfiddle.net/

Its not a complete IDE, but its a nice web dev sandbox.

Re:Ask HN: Web-based coding text editors? (for coding on the... by fjabre on Friday December 10, 2010 @04:16PM (#1993217)
I wrote about this a while back: http://teabuzzed.com/2009/09/its-time-the-case-for-a-browser...

It still baffles me that Google hasn't tackled this already.

Re:Ask HN: Web-based coding text editors? (for coding on the... by vanstee on Friday December 10, 2010 @01:11PM (#1992541)
Re:Ask HN: Web-based coding text editors? (for coding on the... by jackolas on Friday December 10, 2010 @02:41PM (#1992851)
What I see as a bonus here is that it offers multiple editors, that'd be useful if I wanted to use them on my phone and on a full machine too.
Re:Ask HN: Web-based coding text editors? (for coding on the... by slug on Friday December 10, 2010 @02:52PM (#1992905)
http://mbed.org/ has a full ide for embedded C programming.

It's as easy as writing your code (in your browser), launch the compilation process in their systems (cloud) and automatically downloading the resulting binary file, which can be easily transfered to the device by drag&drop, since it's recognized as a usb storage device.

I got mine for free a while back and it took me few minutes to develop a simple multi-threaded application to control a few LEDs and Servos.

Re:Ask HN: Web-based coding text editors? (for coding on the... by James_Law on Saturday December 11, 2010 @07:18AM (#1994691)
Hi - we're working on http://buildorpro.com which is focused on html/css markup as opposed the more codey focused IDEs.

It gives you a great mix of html/css editors with a Coda/Espresso style CSS design tools and a bunch of other advantages that developing in the browser brings you.

The beta's there for sign up if you fancy giving it a spin.

PS - FireFox only at the mo. but Chrome support is hot on its heels.

James Law @ Buildor

Re:Ask HN: Web-based coding text editors? (for coding on the... by clyfe on Friday December 10, 2010 @06:05PM (#1993566)
Executable pasties: http://codepad.org/

Supports: C C++ D Haskell Lua OCaml PHP Perl Plain Text Python Ruby Scheme Tcl

Re:Ask HN: Web-based coding text editors? (for coding on the... by rwl on Friday December 10, 2010 @05:03PM (#1993367)
I was wondering about this too. But what good is being able to code in a browser unless you can actually [compile and] run your code somewhere? I can see how a browser-based editor could be great for editing JavaScript. But unless the browser also hosts or provides access to a platform for the language you're working in, what is there to be gained by coding in a browser?
Re:Ask HN: Web-based coding text editors? (for coding on the... by travisglines on Saturday December 11, 2010 @04:53AM (#1994570)
I started constructorizer this summer but haven't had the time to do much with it. Someday I'll get back into it and integrate git repositories and finish features etc.

http://www.constructorizer.com

Re:Ask HN: Web-based coding text editors? (for coding on the... by aurynn on Friday December 10, 2010 @12:53PM (#1992469)
This will also be very useful for those of us with iPads, who want to code on the go. :)
Re:Ask HN: Web-based coding text editors? (for coding on the... by omaranto on Friday December 10, 2010 @01:40PM (#1992643)
To code on my iPod Touch (I learned some javaScript and) had a little HTML page with an input box and a button that would eval() the contents of the box and print the result. With HTML5's offline capabilities it even worked without connection. That worked but wasn't very pleasant, now there's JavaScript Anywhere, jsconsole and ExecScript. If you want to program in JavaScript one of those might suit you.
Re:Ask HN: Web-based coding text editors? (for coding on the... by olalonde on Friday December 10, 2010 @04:24PM (#1993232)
I'd rather code with a pen and paper than on an iPad!
Re:Ask HN: Web-based coding text editors? (for coding on the... by prestia on Friday December 10, 2010 @03:56PM (#1993142)
For web development, http://buildorpro.com/ is a newer option. It currently only works in Firfox, but seems to be coming together pretty nicely.
Re:Ask HN: Web-based coding text editors? (for coding on the... by pluies on Friday December 10, 2010 @12:48PM (#1992448)
railsforzombies.com used Skywriter. I don't really know how the guys at Envylabs integrated the code or if they modified it at all, but the end result was definitely awesome.
Re:Ask HN: Web-based coding text editors? (for coding on the... by tcc619 on Friday December 10, 2010 @01:02PM (#1992499)
Is there an easy way to access a terminal shell in chrome os?
Re:Ask HN: Web-based coding text editors? (for coding on the... by Groxx on Friday December 10, 2010 @06:02PM (#1993554)
Two ways:

* ctrl+alt+t (limited-functionality)

* switch to "developer mode" (hardware switch in battery compartment, erases all "personal information" when toggled)

Re:Ask HN: Web-based coding text editors? (for coding on the... by s3graham on Friday December 10, 2010 @04:55PM (#1993332)
I thought it'd be nice to make a build of Vim on NaCl. It seems like a hacked up version of netrw could just read and write directly to github/googlecode/whatever.
Re:Ask HN: Web-based coding text editors? (for coding on the... by cjoh on Friday December 10, 2010 @04:43PM (#1993288)
Re:Ask HN: Web-based coding text editors? (for coding on the... by ameyamk on Friday December 10, 2010 @04:00PM (#1993157)
Besides everything people mentioned, I use www.collabedit.com This one is really useful.
Re:Ask HN: Web-based coding text editors? (for coding on the... by Vidura on Friday December 10, 2010 @10:51PM (#1994109)
Bram Moolenar works for GOogle, why won't Google Develop a text editor cloud of vim with realtime collaborative feature it would be great for Chrome OS also.
Re:Ask HN: Web-based coding text editors? (for coding on the... by rahulchaudhary on Friday December 10, 2010 @01:24PM (#1992582)
Here is a list of some of them http://bit.ly/gxM8Wj
Re:Ask HN: Web-based coding text editors? (for coding on the... by jerhinesmith on Friday December 10, 2010 @01:51PM (#1992687)
Since HN tends to frown on url shorteners, here's the full url:

http://www.smashingapps.com/2010/12/07/11-robust-web-based-e...