Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A pusher like nodejs implementation built on top of
Branch: master
Failed to load latest commit information.
node_modules first commit
public add installation instructions
.DS_Store first commit
server.js first commit


A pusher like nodejs implementation built on top of, to build real time apps.

It is a self hosted replacement of pusher.

It is in beta and not production ready yet.


Dependencies: Node.js(

express js(

After installing the above download the narad code, and cd into the narad folder.

Open the file public/narad.js and replace your host in the 2nd line

narad.url = ''; // replace with your host

Start the server

node server.js

Publish data to server

Sent post request to

/publish/:channel_name/:event_name data = {}

Subscribe to Channels

include the following javascript files at client

replace host:port by the host and port where you would run naiad

<script src="host:port/"></script>
<script src="host:port/narad.js"></script>

Subscribing to channels

var channelName = "event";
var eventName = "chat_room"
var channel = narad.subscribe(channelName);
channel.bind(eventName, function (data) {
        console.log("data: ", data);

Running in Daemon mode

use the forever library

npm install forever -g


in the narad directory

forever start server.js

forever stop server.js

Pending Items

publishing from client

configuring the host url

Adding npm

do not pollute the global namespace

add custom port

Securtiy: Channel authentication



Something went wrong with that request. Please try again.