@elsetech/xproc
v0.2.0
Published
Procfile-based multi-process runner with a live web UI for logs
Downloads
317
Maintainers
Readme
@elsetech/xproc
Procfile-based multi-process runner with a live web UI for logs.
Run all your dev processes with one command, and watch their logs in a browser — per-process pages, real-time streaming, and search.
Install
npm install -g @elsetech/xproc
# or per-project:
npm install -D @elsetech/xprocUsage
Create a Procfile in your project root:
web: pnpm dev
api: node server.js
worker: node worker.jsThen:
xproc runThis starts every process in the Procfile and opens http://localhost:12345:
- The left sidebar lists all processes with a live status dot, pid, and command.
- Click a process to open its detail page: full logs since start, streaming in real time (auto-scroll sticks to the bottom; scroll up to pause following).
- Press
/to search the current process's logs, and filter by stream with theall / out / err / syschips. PressEscto clear the search. - The header shows live PID / CPU / MEM for the selected process, plus
restartandstop/startbuttons.
When xproc run exits (Ctrl-C, SIGTERM, terminal closed), every process it
started — including grandchildren — is terminated: SIGTERM first, SIGKILL
after 3 seconds.
Options
xproc run [options]
-f, --procfile <path> Procfile path (default: ./Procfile)
-p, --port <port> Web UI port (default: 12345)
--no-open Do not open the browser automaticallyNotes
- Log buffers are in-memory and capped at 5000 lines per process.
- The web server binds to
127.0.0.1only. - Requires Node.js >= 18.
License
MIT
