Pot Home Getting started Documentation Demo stack Sources

Home repository for work

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

Pre-alpha. pot 0.5.0 for Linux x86_64.

pot.toml demo stack
[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.

One task, one branch name in every repo

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.

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

One manifest, several profiles

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.

Many threads at once

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.

Repositories stay independent

History, CI, releases, and merge requests stay in each repository. pot does not merge them into a monorepo or open merge requests.

Clean up without losing work

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.

The demo stack

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.

pot.toml, abridged
[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"]
terminal
$ 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.

A separate workspace for each agent

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.

Install pot

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