Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Runnable – Edit, run, and share code in your browser (runnable.com)
142 points by sundip on March 8, 2013 | hide | past | favorite | 55 comments


At the risk of giving away a million dollar idea; nobody's gonna wanna really edit things in the browser. Too risky and missing features of whatever their favorite editor is.

But how about letting people push their code up via git? So you could have a runnable browser window open, push your changes up to your runnable repo and then hit run?

If this does turn out to be the key that breaks this open please remember it was my idea.


Here's another idea. JSBin is doing something pretty awesome: it uses the HTML5 File API so that you can select a file from your computer and it syncs to different instances of the same bin while you edit it in your favorite editor. Check it out: http://www.youtube.com/watch?v=mY56fNmn2cE (keep in mind the video was taken during development, now it's pretty stable).

BTW some people like editing in the browser and that's why Cloud9IDE is alive.


Drag-and-drop support for files is coming really soon :)


Soooort of off-topic, but I've actually had a lot of success using Cloud9 IDE (https://c9.io/) as an in-browser editor. It really closely mirrors Sublime Text 2 as far as default functionality and appearance goes. Of course, I'm coming from a Visual Studio IDE background rather than a Vim/Emacs background, so I can't vouch for its usefulness for users more accustomed to that type of work environment.

Note: not affiliated with Cloud 9


Was this an intended joke on Heroku?

Heroku started out as "develop Rails in your browser", but quickly pivoted into "host Rails in the cloud".


We're not trying to be a cloud ide :) Think content, and lots of it..


Stay tuned :) We already offer this in our private beta.


I have to remember that line ;^)


Support for git would be awesome, but I think the product now is pretty great. I'd love to be able to hack away on APIs without doing the set up work.


Git support is available in private beta.


Git is going to be coming, very very soon ...


At first I thought this was some sort of JSFiddle but for server backends. Is this what it is aimed at? Or is it more cloud development for teams?


First reaction sounds about right. We want to make it easy for anyone to share runnable code, across multiple stacks and platforms


I want to sign in with GitHub and see my projects run.


+1 for running my projects. Seems like this has all the pieces already, at least for Node stuff.


In some of the examples that use OAuth, the tokens are things like GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.

  var params = {
  	code: code,
  	client_id: 'GOOGLE_CLIENT_ID',
  	client_secret: 'GOOGLE_CLIENT_SECRET',
  	redirect_uri: callbackURL,
  	grant_type: 'authorization_code'
  };
Are these replaced somehow with real values? Where does that happen?


They are replaced with real values on a proxy server, outside of the node.js process.


Thought so! As I was walking to work I realized this was the easiest way to protect the integrity of the tokens.


They are way more stable than a few years ago but I just never trust browsers to write anything at all.


Seems awfully similar to http://webshell.io/


Not really, webshell looks like there are trying to become an All-in-one API of APIs. Runnable is trying to be a platform for sharing code examples for APIs, modules, and any other full-stack code snippets.


Looks like Webshell is integrating APIs into your site, while Runnable is about API discovery, prototyping, learning from others (more of a Stack Overflow direction).


Here's what I've been looking for: let me put a badge on my open source project on GitHub which launches a Runnable with the project so that people can play with it without having to pull the source and set it up themselves.


I am currently trying to set up a demo for a project, and a simple 'plug and play' would be great.


For a learning and code sharing facility I think it is very cool. I can try out and hack some code on technologies I have not experimented with yet.


Glad to hear!


Runnable.com is hiring. Come help us build something really cool http://runnable.com/about


If you find Runnable.com to be slow, please bear with us. We're getting slammed right now and it should get a lot better with the day.


Copy pasting huge amount of JS libraries does not seem to work for me. Is there a way of uploading files from my local hard drive?


Sourcing the files from other servers solved that for me. I am still thinking in terms of a locked down jsfiddle I guess.


No code completion... so it's basically a colorful textbox. And it's the nth one I see. Some devs are just bored I guess.


Looks really nice, and seems well done. Congrats. I like this a lot...like plnkr.co / jsfiddle for full stack examples.


You got the right idea :) What kind of full stack examples would you like to see?


Does this color scheme look a lot like sublime text?

http://www.sublimetext.com/


What would be the price of your service or the business model?

It seems you will sell our developers APIkey registration...


Looks cool. is there a way to add dependencies and packages (npm?)?


Yes, just edit package.json


great! thanks


Does anyone know to make the cursor stop blinking in their editor?


setterm -cursor off

Also put this in ~/.bashrc for a solid yellow non-blinking cursor:

echo -n -e '\e[?17;14;224c'


Looks really awesome. Good job guys!


and it's dead.. means it's not ready for hacker news invasion =))))


working for me. In the future: http://www.downforeveryoneorjustme.com/


Can you try again please?


it's up for me


Is this javascript only?


node.js (backend javascript), and frontend javascript and css. Looking to support more backend languages in the near future (Ruby, Python, PHP, more)


Check out jsrepl. It's what I used for http://replpad.com (collaborative python editing/execution)


cool


cool..


I was able to see the homepage but then the site went down before I could get any further.


The Ballmer video on maintenance page more than makes up for any issues, though.


Should be fixed now, are you guys still seeing the issue?


Works for me now. Thanks!


Works for me now as well!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: