/coffeeconsole

Injectable Coffeescript console

Primary LanguageJavaScriptMIT LicenseMIT

Coffeeconsole

CoffeeScript web console, useful for quick experimentation, debugging, presentations (for live coding) and workshops.

Coffeeconsole can be injected in any web page, using a bookmarklet.

Features

  • Remote device debugging using "listen" command
  • Resizable font (yep, biggest issue with Firebug in workshops)
  • Autocomplete in WebKit desktop browsers
  • shift + up/down for bigger console
  • Save history (based on session)
  • Add support for loading in a DOM
  • Permalink to individual executions

Coffeeconsole server-side

The server-side code is necessary only for the remote debugging feature.

This requires that you install node.js. Once installed, download this project (or clone it using git) and inside the new coffeeconsole directory run:

npm install

This will install the dependancies (in particular 1.8.x version of connect.js).

Once installed, run (on port 80):

node server.js

Or to run on a specific port (like 8080):

node server.js 8080

Then check your own ip address of the machine it's running on (using ipconfig for windows or ifconfig for mac and linux). Then on the mobile phone, just visit that IP address and port you're running coffeeconsole on (this example is from jsconsole, but should work equivalently for coffeeconsole)

jsconsole running locally

License, authors and contributors

You can read the MIT-LICENSE file for licensing information.

Coffeeconsole was forked from JS Console by Michele Bini (rev22)

JS Console was originally built by Remy Sharp (@rem)

In addition the following contributors helped to create jsconsole/coffeeconsole (ordered by first contribution, according to the Git repository log):

The list is incomplete and may have erroneous information, so it will benefit from your help, especially if you are one of the contributors!

See also: https://github.com/rev22/coffeeconsole/graphs/contributors