Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript Remote Web Console
JavaScript HTML CSS
tag: v0.1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Console.IO is a NodeJS project. It provides Remote Web Console for websites and web applications. It uses (express & to provide user real time experience.

It works pretty much on all modern browsers, mobile devices, Smart TVs, etc

Tested on:

  • Toshiba TV (2011, 2012)
  • LG NetCast TV (2011, 2012, 2013)
  • Philips NetTV (2011, 2012)
  • Samsung TV (2010, 2011, 2012, 2013)
  • Technika Avtrex STB
  • Firefox, Safari, Opera, Chrome, Maple and IE
  • iPhone, iPod, iPad, Android browser, windows 8 phone etc

Node NPM package

Install and start Console.IO server

npm install -g

Install from Source

Install and start or execute install.bat and start.bat (window user only)

npm install redis
node ./server/main.js

Include scripts in your web page

include inject.js scripts with config parameters

<script type="text/javascript" src="inject.js?url=http://nodeserver:port&web=true&..."></script>

OR create a create ConfigIO global object with config options

<script type="text/javascript" src="configIO.js"></script>
<script type="text/javascript" src="inject.js"></script>


window.ConfigIO = {
    //URL to connect back
    url: 'http://nodeserver:port/',

    // set it to true to enable WebIO (web console)  (optional)
    web: true,

    // WebIO config (optional)
    docked: false,
    position: 'bottom',
    height: '300px',
    width: '99%'

OR you can include all files individually

<script type="text/javascript" src="<Local Folder OR Node Server/>/"></script>
<script type="text/javascript" src="<Local Folder OR Node Server>/"></script>
<script type="text/javascript" src="<Local Folder OR Node Server>/socket.js"></script>
<script type="text/javascript" src="<Local Folder OR Node Server>/web.js"></script>
<script type="text/javascript" src="<Local Folder OR Node Server>/inject.js?url=http://nodeserver:port"></script>
<link type="text/css" media="all" href="<Local Folder OR Node Server>/resources/console.css" />

Visit http://nodeserver:port/ for ConsoleIO interface (Tested on Chrome Browsers)

Screen shot


  • Online icons Device is registered and connected.
  • Offline icons Device is registered but offline.
  • Subscribe icons Device is subscribed (double click on Online icon to subscribe).
  • WebIO icons WebIO (web console) icon to enable/disable WebIO remotely.

Console.IO Editor

You can execute commands on remote client from Console.IO. You can execute single & multilines javascript code.


  • Ctrl+Enter: execute command
  • Ctrl+Space: autocomplate
  • Ctrl-Q: toggle comments
  • Shift-Ctrl-Q: fold/unfold code

Note: All multilines code should be wrapped within self executable function. E.G

(function doSomeThing(){

Console.IO Device and Tabs

  • Files: Show all attached javascript and css files in the web page
  • Status: Device Status and some basic information
  • Source: Double click on a file in file explorer to view file content
  • Preview: HTML dom structure
  • Console: Remote console
    • Pause incoming logs
    • Clear logs
    • Export logs
    • Change page size
    • Search word or use regex to filter logs
    • Filter logs by type

Console.IO WebIO (web console)

  • Control it remotely
    • Pause incoming logs
    • Clear logs
    • Change page size
    • Search word or use regex to filter logs
    • Filter logs by type
  • TODO
    • Ability to configure height, width, position & remote control.
    • Control logging speed
    • Scroll through logs (Smart Tv/mobile/tablets)

Console API methods supported

  • console.assert(x)
  • console.count(key)
  • console.time(name, reset)
  • console.timeEnd(name)
  • console.debug(arguments...)
  • console.warn(arguments...)
  • console.log(arguments...)
  • console.dir(object)
  • console.dirxml(HTML Element)
  • console.error(error)
  • console.exception(error)
  • console.trace()
  • TODO
    • console.groupCollapsed()
    • console.groupEnd()
    • console.markTimeline()
    • console.timestamp()
    • console.profiles
    • console.profile()
    • console.profileEnd()

Configure Console.IO Server

All server side configurations are defined in server/config.js file. If you have install using npm -g then you will find it in C:\Users[USERNAME]\AppData\Roaming\npm\node_modules\\server folder

Server Port

You can change default (8082) port number

express: {
    production: {
        { 'port-number': 8082 },
        { 'session-key': '' },

SSL Support

Change following in server side config file to enable server to run over SSL and use "https" instead of "http" to inject files on client. To generate your own SSL Certificate please check this How to generate custom SSL certificates.

var config = {
    https: {
        enable: true, // change true/false to enable and disable SSL
        key: './certificates/server.key',
        certificate: './certificates/server.crt',
        ca: './certificates/ca.crt'
<script type="text/javascript" src="inject.js?url=https://nodeserver:port&web=true&..."></script>

Scaling server

Console.IO use and in order to scale you need to run redis server. Change following value in config file before starting the Console.IO server and on window platform (/redis/redis-server.exe) is started by server itself but on other platforms you have to start redis server manually.

redis: {
        enable: true, // <- true to enable scaling
        process: 6 // number of process to run

Example to setup AngularJS global $http error handler

angular.module('app', ['ngResource',])
    .config(function ($httpProvider)
        $httpProvider.responseInterceptors.push(function globalErrorHandling($q) {
            return function(promise) {
                return promise.then(function(successResponse) {
                    return successResponse;

                }, function(errorResponse) {
                    return $q.reject(errorResponse);


  • Update Readme with full feature list
  • Add JSDoc & Unit Tests
  • Add IISNode configuration steps

Copyright and license



Something went wrong with that request. Please try again.