This page gives the terms of localspace. Each term has one meaning in all the documentation, in the dashboard and in the code.
| Term |
Meaning |
| Template |
A directory with a localspace.yaml file. The file lists the repositories, the services, the resources, the references and the defaults of a system. The name of the template is the name of the directory. |
| Workspace |
A named copy of a template. It has separate sources, ports, resources and environment variables. |
| Service |
One process or one container of a template. The key in the template identifies it, for example orders. |
| Resource |
A stateful dependency that localspace makes for each workspace, for example a Postgres database, a Redis server or a volume. |
| Unit |
A service, or the server of a resource, that an engine runs as a container or as a host process. |
| Template mode |
The mode of a workspace that lo new --template makes. Its services come from many repositories and many sources. |
| Worktree mode |
The mode of a workspace that lo up makes in a git worktree of a repository with a .localspace.yaml file. The workspace has one source and the name of the branch. |
| Term |
Meaning |
| Source |
The place where the code of a service comes from in a workspace. It is a ref, a worktree of the user, or a path. |
| Ref |
The git branch, tag or commit that a source uses. A branch is the most common ref. |
| Default ref |
The ref that a service uses when nobody selects one. The ref of the repository in the template sets it, else the defaults.ref key, for example main. |
| Owned worktree |
A git worktree that localspace made for a workspace. It is the only kind of worktree that localspace removes. |
| Term |
Meaning |
| Reference |
A ${...} placeholder in a template. localspace resolves it for each workspace, for example ${orders.internal_url}. |
| Internal URL |
The address that one service uses to reach a different service. Containers use the name of the service. Host processes use 127.0.0.1:<port>. |
| Public URL |
The address that a browser uses to reach an exposed service. It is a host name of the proxy, such as storefront.shop-a.lo. In IP mode, it is an address and the host port of the service. |
| Canonical ports |
The ports that the services of a template use when only one copy runs, for example 3000 and 5432. lo checkout binds them to one workspace. |
| Alias |
A fixed host name, such as sso.acme.com, that a service lists in aliases. One workspace answers it at a time. lo checkout points it to a workspace. |
| Remote |
A deployment of a service or a resource that runs off this machine. A URL gives it, and the service or resource lists it in remotes. localspace does not start or stop it. Each workspace selects the local copy or one remote. |
| External |
A part that the services use and that is external to the workspace, with no service or resource in the template. It goes in the top-level external field. It is one remote, or a list of sources. |
| Source of a part |
One place where an external part can come from. It is a workspace source, which is a service of a different workspace on this machine, or a remote source. The first source that is available wins. |
| Linked part |
An external part that resolved to a service of a different workspace. The workspace of the service stays separate. localspace starts it when the part has start: true. |
| Pin |
The choice of one workspace for an external part, with lo set <workspace> <part>=workspace:<name>. The choice auto removes it. |
| Term |
Meaning |
| Seed |
The data that a resource starts from. It is a dump file, a command of a service, or a template database. |
| Isolation |
The way a resource is separate in each workspace. With instance, the workspace has a server for the resource. With database, the workspace has a database on a server that workspaces use together. |
| Shared instance |
One running copy of a service, at one ref, that many workspaces use. The shared instance keeps its data. The data does not belong to a workspace. |
| Term |
Meaning |
| Machine settings |
The ~/.localspace/config.yaml file. It gives the engines, the proxy, the secret store and the port range of the user. |
| localspace home |
The directory where localspace keeps its files: machine settings, templates, worktrees, state, logs, plugins and secrets. It is ~/.localspace, or $LOCALSPACE_HOME if you set it. |
| Term |
Meaning |
| Kernel |
The small center that all modules connect to. It has the command tree, the injector and the lifecycle of the services. It has no business logic. |
| Contract |
The Go package internal/contract. It has the interfaces, the data types and the errors that the core, the modules, the CLI and the API of the dashboard share. |
| Module |
A Go package in the binary of lo that connects to the kernel. It gives services to other modules and can add commands. Examples are core, engine.docker and ui. |
| Core |
The module that plans and runs workspaces. It has the planner, the orchestrator, the reconciler, the state and the safety rules. It reaches all other modules through the kernel. |
| Engine |
The part that runs units. Docker or Podman runs containers. The native supervisor or pm2 runs host processes. The machine settings select one engine for each run kind, and each workspace keeps its selection. |
| Extension point |
A contract interface that plugins can implement. The extension points are Engine, Proxy, Secret and Resource. |
| Plugin |
An executable lo-plugin-<name> in ~/.localspace/plugins/. It runs as a separate process and talks to lo over gRPC. It can give engines, proxies, secret stores, resource kinds, commands and MCP tools. |
| Provider |
The built-in part, or the plugin, that implements one engine, one proxy, one secret store or one resource kind. |