ExoSphere Communication Server
This is the development version of the ExoSphere Communication Server.
Installation
$ npm i -g exocom-dev
APIs
ExoCom can be used via 2 separate APIs.
Command-line API
This is the main way to use ExoComDev by end users (ExoSphere developers).
$ exocom
The default port is 3100. To run it at another port:
$ exocom --port <port number>
More details around configuring the port here.
JavaScript API
You can integrate ExoCom into your own NodeJS application through its JavaScript API.
The CLI is implemented using the JavaScript API.
new ExoCom
..on 'error', (err) -> # boo!
..on 'listening', (port) -> # woohoo!
..listen 3100
Functionality
ExoCom broadcasts messages to other services.
Services have to register with it first
to tell it which messages they want to send and receive.
Architecture
Development
See our developer guidelines