Skip to content

localspace

Run isolated copies of a system that has many repositories, side by side on one machine.

The localspace dashboard with two workspaces of one template, one on main and one on a feature branch.

Workspaces from one template

A localspace.yaml file lists the repositories, the services and the resources. lo up makes the worktrees, the ports, the databases and the env, and starts all the services.

Your work is safe

localspace removes only the worktrees that it made. It refuses to remove a worktree with uncommitted or unpushed work.

Containers and processes

A service with a Dockerfile runs as a container. Each other service runs as a host process. localspace finds how a repository runs.

Resources for each workspace

Postgres, Redis, MongoDB, S3 and volumes. Each workspace gets a separate instance or a separate database on a shared server.

Public URLs over HTTPS

Each exposed service gets a URL such as https://storefront.shop-a.lo. A Caddy proxy serves it with a local certificate authority.

A web dashboard

lo ui shows all workspaces live, with logs, shells, CPU and memory. It does the same operations as the CLI.

Built for coding agents

lo skill prints the guide for an agent. lo mcp serves the operations of lo as MCP tools.

Plugins

Plugins add engines, resource kinds, secret stores, proxies, commands and MCP tools through gRPC. The pm2 engine plugin is in each release.

Write a template, then start two workspaces from it:

Terminal window
lo template validate shop
lo new shop-a --template shop
lo new shop-b --template shop storefront=feature/new-checkout
lo up shop-a
lo up shop-b
lo ls

Install localspace, then follow the tutorial to run your first workspace.