It seemed like a cool enough concept to warrant taking a break from that project and indulging in an all-night coding marathon to get it finished. Work the next day was painful, but I’m pretty pleased with how version 0.1 came out.
The 0.1 release features a pretty design, up/down command history (with localStorage saving), basic syntax highlighting for output and some other cool features.
It’s seriously easy to style with CSS (I’ll add some extra skins soon) and to install on your library/plugin’s homepage. Do it! Your users will thank you.
What’s more, it’s entirely programmable through the global
sandbox object, so you can manually feed it commands for the user to try (as on the demo.)
Oh, and it’s not tested in IE, as of publishing, because I don’t have my windows laptop with me.
The idea is inspired by jsconsole.com and was built with Backbone.js and jQuery, in a strange and terrible all-night code-off. Then tidied up a bit the next day.
Make sure to hit ‘watch’ on the repository, as it will be getting a bunch of fixes and improvements in the next few months. Please make issues if you find any bugs or have suggestions, and feel free to contribute code.