Skip to main content
DEJA.js ServerDEJA.JSServer

One command to install. One to start.

The quiet bridge between your browser and your DCC-EX EX-CommandStation — at home on a Mac, a Linux box, or a Raspberry Pi.

install.dejajs.com
$ curl -fsSL https://install.dejajs.com | bash
Installing DEJA.js Server...
Installed to ~/.deja
$ deja start
Server running on ws://localhost:8082
Capabilities

A small process with a big job

Single-command install

Paste one curl command and DEJA.js Server is running. No Docker, no Python virtualenv, no yak to shave.

🖥️

Mac, Linux, and Raspberry Pi

Runs natively on macOS, Linux, and a Raspberry Pi. Plug in USB, start the server, start driving.

🔌

Bridges every protocol

Connects your browser, your layout devices, and your DEJA Cloud roster over the right channel for each job.

🕹️

WiThrottle server built in

ProtoThrottle, Engine Driver, and other JMRI-compatible throttles connect directly — with mDNS discovery and exclusive loco locking.

🛡️

Managed with the deja CLI

Start, stop, update, inspect, and configure your server with a single `deja` command — including an interactive `deja config` for ports, protocols, and sync.

Install

One command. Up and running.

DEJA.js Server installs into ~/.deja/ as a self-contained Node.js process. No Docker, no system-level packages, and nothing you need sudo to remove.

  • Installs under ~/.deja/ — no root required
  • Connects to your DCC-EX serial port
  • Managed with the `deja` CLI: start, stop, status, config, update
terminal
$ curl -fsSL https://install.dejajs.com | bash
Installed to ~/.deja
$ deja start
Detected DCC-EX on /dev/ttyUSB0
Server running on ws://localhost:8082
Architecture

Just a bridge. Nothing more.

Your browser talks WebSockets to the server. The server talks serial to DCC-EX, MQTT to your IO devices, WiThrottle to your hardware throttles, and syncs everything to DEJA Cloud. That's it. Open protocols at every layer.

browser ──WebSocket──▶ server
           │
           ├─Serial──▶ DCC-EX
           ├─MQTT────▶ IO devices
           └──Sync───▶ DEJA Cloud
One platform

Sign in once. Use everything.

DEJA.js isn't a single tool — it's a connected platform for driving, managing, and expanding your layout.

Free plan. No trial timer.

Spin up DEJA.js on your layout today — no credit card, no download for the web apps.

Create an account

Bridge your layout to the browser in minutes.

Paste one command, plug in USB, and your layout is online.