Skip to main content
DEJA.js ServerDEJA.JSServer

One install command. Runs anywhere.

The quiet bridge between your browser and your DCC-EX CommandStation. Runs on Mac, Linux, and 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

Small footprint. Big responsibilities.

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.

🛡️

Managed with the deja CLI

Start, stop, update, and inspect your server with a single `deja` command. PID files and graceful shutdown built in.

Install

One command. Running in seconds.

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, 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

The thinnest bridge we could build.

Your browser talks WebSockets to the server. The server talks serial to DCC-EX, MQTT to your IO devices, and syncs everything to DEJA Cloud. That's it. No proprietary protocols. No lock-in.

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

One account. Every app.

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

Free to try. 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 under a minute.

Paste the install command. Plug in USB. You're live.