Pot Home Getting started Documentation Demo stack Sources

Run the three-repo demo.

Install pot, start a Rust API and an Astro app from one manifest, then start a second stack on different ports without stopping the first.

The release artifact is Linux x86_64 and carries devenv, worktrunk, and git-twig. The demo needs Git and network access; there is no separate devenv or worktrunk install.

1Install pot

curl -fsSL https://pot.slopkit.dev/install.sh | sh

The script downloads the 0.4.0 artifact, checks its SHA-256, and installs it to ~/.local/bin/pot. If that directory is not on PATH, the script prints the line to add.

$ pot --version
pot 0.4.0

The artifact carries devenv 2.4 or newer, worktrunk, and git-twig. pot doctor names a missing layer and the command that fixes it.

2Clone the demo stack

The stack manifest points at three public repositories: a Rust API, an Astro web app, and a React package.

git clone https://gitlab.techtailors.net/slopkit/demos/stack.git
cd stack

3Start the stack

pot up demo

The first run clones the three repositories, creates the worktrees, compiles the Rust API, installs the web dependencies, and starts both processes. It can take a few minutes. Leave the terminal attached to devenv.

Open http://localhost:4321. The page shows the React badge from the ui repository and a greeting from the API on port 8080.

4Run a second thread

Leave the first stack running. In a second terminal at the stack root:

pot up demo --thread second

devenv allocates the next free ports. In the demo run, the first thread used 8080 and 4321, and the second used 8081 and 4322. Open http://localhost:4322 while the first page stays up.

5Check and stop

From the stack root, pot status prints one row per repository of every thread:

THREADREPOBRANCHSTATE
demoapistack/democlean
demowebstack/democlean
demouistack/democlean
secondapistack/secondclean
secondwebstack/secondclean
seconduistack/secondclean

The real table also prints AHEAD and the worktree PATH. ui is a package, so it has no process and no port. It still gets a worktree and a row.

Stop the second stack, then the first:

pot down demo --thread second
pot down demo

Worktrees stay on disk. When you no longer need the second thread, pot clean second removes its worktrees, branches, and project directory. Add --force only if you mean to remove dirty worktrees or commits that are not on the default branch.

The full command and manifest reference is at /docs/. The sources for the demo are in the demo group.