Skip to content

How Pipelab runs your work ​

The desktop app is made from an Electron shell, a Vue UI, and a local Node.js engine. Each Desktop launch runs the CLI server as a supervised child process, on an OS-assigned loopback port. The shell loads the UI only once the server reports ready, and startup fails with an error if it cannot start. If the server crashes, the shell kills whatever it left running, restarts it (on the same port when possible) and reloads the window, so a server crash does not close the app. In production, the server also serves the bundled UI. Each Desktop launch generates a random token that the window presents to the server, so other local processes and users on the same machine cannot connect to the loopback port and run workflows.

Pipelab desktop, UI, CLI server, and execution paths

Request paths ​

  1. The Vue UI sends engine requests over the local WebSocket connection.
  2. The Electron preload bridge exposes native operations such as file dialogs to the UI through IPC.
  3. The Node engine owns provider execution, file operations, and run history.

The standalone CLI can start the server with pipelab serve; its default address is 127.0.0.1:33753. Desktop does not reuse this fixed default or adopt an existing server. Binding beyond loopback in production requires an authentication token. See the CLI reference.

Workflow execution ​

The Release workflow planner validates sources, producers, destinations, artifact compatibility, and dependencies before compiling task steps for the workflow runtime. Ready workflow steps can run concurrently when their dependencies allow it. The CLI can run a saved workflow with pipelab workflow run.

For implementation ownership, package boundaries, and contribution setup, see Contributor architecture.

Released under the MIT License.