1. Balazs Nadasdi
  2. jsRDC

Overview

jsRDC

jsRDC is a Remote Debug Console and usable for handling errors, notices or something else.

Required

  • Node.js && npm
  • coffee-script @1.2.0
  • coffeekup @0.3.1
  • express @2.5.5
  • socket.io @0.8.7

Start and using

install as global package (-g) for scripts

npm install -g coffee-script

clone the source

git clone https://yitsushi@bitbucket.org/yitsushi/jsrdc.git
cd jsRDC

install dependences

npm install

start the server

coffee app.coffee

Now you have a jsRDC server on port 3000 (default). Open it: http://localhost:3000/. Now you can test it if you run PHP/php_error.php. This file is a random error/notice/message generator in PHP.

cd PHP
php php_error.php

Now you can see the error/notice/debug message in your browser. If you run it again then you get a new error =) Is it cool? Yeah. If you don't see these messages then sorry =/ after some feature I would fix bugs and build a better lib for PHP and some other languages.

Host in Heroku

git clone https://yitsushi@bitbucket.org/yitsushi/jsrdc.git
cd jsRDC
heroku create --stack cedar jsrdc
heroku info  # you can get the domain of the app like http://jsrdc.herokuapp.com/

Now change connect in public/javascripts/index.js line 51

From: var socket = io.connect('http://localhost:3000');
To: var socket = io.connect('http://jsrdc.herokuapp.com');

git commit -am 'commit -m 'change host''
git push heroku master
heroku ps:scale web=1

Demo: http://jsrdc.herokuapp.com/.

Screenshot

Screenshot 1

Planned features

  1. Registration/Login
  2. Redis to store messages for a short time (e.g.: 6 hours)
  3. Separated application namespace. So when you are logged in you can create a new application namespace or choose an existing.
  4. Dashboard (see 3rd)
  5. Plugin system (e.g.: send me an email when XYZ or send me an SMS when ZYX)
  6. Customizable server side highlighting.