Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web based console - for presentations and workshops
JavaScript CSS
Branch: master

Merge pull request #54 from stan-kondrat/master

Add support logging console.time() end console.endTime
latest commit 95e90cf256
@remy authored
Failed to load latest commit information.
app app page
.gitignore readying for heroku
EventSource.js Sending XHR header to allow server to handle closing connection if we…
MIT-LICENSE.TXT Added license - use as you like
Procfile readying for heroku
README.markdown Typo
codecomplete.js Fixing damn random keys the iPhone uses for & and ) - also tweaking s…
console.css fix for drifting gutter in latest chrome
console.js fix pass arguments to console.info and console.warn
favicon.png Tweaks to UI and added :help shortcut
index.html app bar style=black
inject.html Tweaking instructions
inject.js Use cached variable, add semicolon.
iphone.css Fixing damn random keys the iPhone uses for & and ) - also tweaking s…
jsconsole.appcache back to old manifest - it was correct before - filing bug in chrome
link.png link image
link@2x.png iPhone 4 image ::sigh::
package.json update package to ensure we get the right version of connect
phonegap.js Fixing damn random keys the iPhone uses for & and ) - also tweaking s…
prettify.js First version of console - need to add directions (though it's fairly…
prettify.packed.js First version of console - need to add directions (though it's fairly…
remote-debugging.html remote debugging now supports queuing of logs, warn, info, etc - and …
remote.html included url in connection, also using a setTimeout on creating event…
remote.js Add support logging console.time() end console.endTime
server.js readying for heroku
startup.png making it installable

README.markdown

JS Console

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

Also available as a native iOS app from the iTunes store.

Features

  • Remote device debugging using "listen" command (more info)
  • 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 (YQL - I thank you again)
  • Permalink to individual executions

Hosting jsconsole yourself

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

npm install

This will install the dependencies (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 jsconsole on:

jsconsole running locally

Something went wrong with that request. Please try again.