One command from a clean checkout
Once you have a stack defined, starting a new feature is as simple
as running pot up <profile> --thread <feature_name>.
Work across multiple repositories without friction with worktrees and devenv. Spin up multiple threads and branches across multiple projects. Launch only what's needed thanks to profiles.
curl -fsSL https://pot.slopkit.dev/install.sh | sh
api web ui
demo second
stack/<thread>
Both threads run at once. demo owns 8080, 4321, and .pot/threads/demo; second owns 8081, 4322, and .pot/threads/second.
A single feature can span across multiple repositories. Some projects solve this by creating large monorepos, using git modules or hand-rolled solutions. Pot is an alternative that builds on strong foundations of other projects: worktrunk and devenv.sh.
Once you have a stack defined, starting a new feature is as simple
as running pot up <profile> --thread <feature_name>.
Run only what's needed for the current feature. Working on the UI? Launch the web app without API and use a mock. Need to change backend? Launch database and API as well.
Each thread is entirely independent and has its own ports,
processes, .devenv state, dependencies and worktrees.
Start a second task while the first is running. The API and web app
get different ports and checkout, not a conflict.
Releases, git history, CI, and merge requests stay in their repositories. pot does not merge them into a monorepository. Instead, it removes friction.
pot clean saves disk space and ensures your work is
never lost. It refuses removal of dirty worktrees, commits that are
not on the default branch, or a stack that is still running.
The demo stack is a Rust API, an Astro web app, and a React package.
One profile imports all three. You can start working on a feature
end-to-end with a single
pot up demo --thread new-feature.
$ 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.
Agents need a clean home for their work. Single repository features and monorepos work well. Trouble starts when you don't own all of the components or monorepo is a no-go.
I am using the tool heavily for my own development and recommend this workflow to everyone. Try it out now - it's free and open source!