One command from a clean checkout
pot up clones any missing repo, creates the
worktrees, and starts the stack. Name the thread after the task.
$ pot up demo --thread new-feature
pot runs a stack of repositories as one devenv environment. Each task gets a branch and a worktree in every repo, plus its own ports and processes, so two tasks run side by side without colliding.
curl -fsSL https://pot.slopkit.dev/install.sh | sh
[profiles.demo]
repos = ["api", "web", "ui"]
Both threads run at once. demo owns 8080, 4321, and .pot/threads/demo. Ports are from a demo run; devenv picks the next free ones.
A feature often touches an API, a web app, and a shared package. Monorepos, git submodules, and setup scripts each solve part of that. pot keeps the repositories separate and gives every task a branch, worktrees, and a running environment across all of them. It drives git worktrees and devenv.
pot up clones any missing repo, creates the
worktrees, and starts the stack. Name the thread after the task.
$ pot up demo --thread new-feature
A profile names the repos and the devenv project for one kind of task. A UI task can use a profile without the API; a backend task can use one that includes it.
Every thread has its own worktrees, ports, processes, and
.devenv state. Start a second task while the first
runs and the API and web app take the next free ports, on a
separate checkout.
History, CI, releases, and merge requests stay in each repository. pot does not merge them into a monorepo or open merge requests.
pot clean refuses dirty worktrees, commits that are not
on the repo's base ref yet, and a stack that is still running.
--force overrides the first two.
A Rust API, an Astro web app, and a React package, with one profile
that includes all three. Clone it and run pot up demo.
pot up demo --thread second starts a second copy next to
it.
[stack] default_branch = "main" [repos.api] url = "https://gitlab.techtailors.net/slopkit/demos/api.git" # [repos.web] and [repos.ui] follow the same shape [profiles.demo] repos = ["api", "web", "ui"]
$ git clone https://gitlab.techtailors.net/slopkit/demos/stack.git $ cd stack $ pot up demo # devenv prints the ports; the page is on 4321 when it is free.
An agent in a shared checkout can collide with you or another agent on files, branches, and ports. A thread gives it its own branch and worktree in every repo, and its own ports and processes.
pot up creates the worktrees and pot clean removes them..devenv state belong to the thread.pot status --json reports branch, dirty state, and commits ahead for every repo.copy_ignored_from seeds node_modules and build caches from a thread you keep warm.I use pot heavily for my own development. It is free and open source under the EUPL-1.2, pre-alpha, and Linux x86_64 only for now.
curl -fsSL https://pot.slopkit.dev/install.sh | sh