Skip to content
emidhunPublic

About

Canopod - menu-bar git-worktree + dev-service manager. Every branch checked out, provisioned, and running side by side.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Canopod brandmark — a git fork: two parents converging into one branch

canopod

A lightweight menu-bar git-worktree + dev-service manager.
Every branch checked out, provisioned, and running — side by side.

ci

Canopod demo — onboard a repository, then add several git worktrees and watch each one appear in the sidebar with its own database and isolated ports

Download DMG for macOS (Apple Silicon) Install with Homebrew

Download .deb Download .rpm Download AppImage Download Windows installer All releases
Linux & Windows builds are experimental — feedback welcome. See Install for the one-line quarantine fix on macOS.

Canopod discovers every worktree of your registered repos, provisions each one (dependencies, an isolated database, deterministic ports), and lets you start/stop services, watch logs, manage databases, and change ports — from a tray popover and a main window. Built for fast multi-repo / submodule workflows like ToolJet.

  • Platform: macOS arm64 (Apple Silicon). Linux & Windows ports are experimental — they compile and pass CI, but aren't yet validated on a desktop.
  • Stack: Tauri 2 (Rust) + React + zustand
  • Latest version: 0.5.0. See the release notes for changes and platform limits.

Why Canopod

Working on several branches at once with git worktree means each checkout needs its own dependencies, its own database, and its own set of ports — otherwise they collide. Doing that by hand is tedious and error-prone. Canopod automates it:

  • Isolated per worktree — each worktree gets its own database (<repo>_<slug>) and a deterministic set of ports (basePort + index*10), so multiple branches run side by side.
  • Zero-bash provisioning — how a worktree is set up (env vars, install/build/migrate/teardown) is declared once in the repo via .worktreemanager.json, so it travels with the branch.
  • One place to run everything — start/stop services, tail logs, pull, snapshot/restore/switch databases, edit ports — from a tray popover or the main window.

Requirements

  • git
  • macOS on Apple Silicon (arm64) for the primary tested desktop build; Linux and Windows packages are experimental
  • The runtimes and package managers your repository's configured commands use; Canopod itself does not require Node
  • A local database only when your project or configured database actions need one
  • Optionally, a committed .worktreemanager.json so setup travels with each branch — see the Configuration guide

Install

macOS (Apple Silicon)

Homebrew (recommended — handles quarantine for you):

brew install --cask emidhun/canopod/canopod

Or the DMG from Releases: Canopod isn't notarized yet, so macOS quarantines it on download — clearing that quarantine is the step that matters:

hdiutil attach ~/Downloads/Canopod_<version>_aarch64.dmg
cp -R "/Volumes/Canopod/Canopod.app" /Applications/
hdiutil detach "/Volumes/Canopod"
xattr -dr com.apple.quarantine /Applications/Canopod.app      # clears quarantine
open /Applications/Canopod.app

Or drag Canopod to Applications and run only the xattr -dr com.apple.quarantine line. On macOS Sequoia you can instead use System Settings → Privacy & Security → Open Anyway.

Linux (experimental)

.AppImage, .deb, and .rpm packages are on the Releases page. They build and pass CI but haven't been validated on a real desktop yet — issues welcome.

Windows (experimental)

An NSIS installer (Canopod_<version>_x64-setup.exe) is published on the Releases page. Download it, run it, and launch Canopod from the Start menu — it lives in the system tray. Windows SmartScreen may warn on first run because the installer isn't code-signed yet; choose More info → Run anyway. Like Linux, the Windows port compiles and is published for early adopters but hasn't been validated on a real desktop — feedback welcome. Step-by-step notes are in the Windows install guide.

Canopod runs as a menu-bar / tray app — look for the fork icon after launch. Full install/signing details are in docs/distribution.md.


Quick start (users)

  1. Click the Canopod icon in the menu bar → Open Manager.
  2. On first launch, choose Add a repository, pick the main checkout, and review the detected services and editable setup suggestions. Existing configuration should be reviewed, not replaced.
  3. Optionally commit a .worktreemanager.json describing env overrides and setup commands so they travel with the branch (see the Configuration guide; a ToolJet example is in docs/tooljet-config.md).
  4. New worktree → pick a new or existing branch/tag → Canopod creates the worktree, provisions it, and streams progress.
  5. Start all to boot the worktree's services, then click a service's port (:3000) to open it in the browser.

The full walkthrough — with databases, ports, pull, and troubleshooting — is in the User Guide.


Development

# one-time
npm install

# standard preamble for build commands on this machine (Node 22 + cargo on PATH)
export PATH="$HOME/.asdf/installs/nodejs/v22.15.1/bin:$PATH" && source "$HOME/.cargo/env"

npm run tauri dev      # run the full app (both windows + tray), hot-reloads
npm run build          # type-check + build the frontend
npm run tauri build    # release .app bundle

From src-tauri/: cargo check (fast Rust check) and cargo test --lib (unit tests).

See docs/development.md for prerequisites, the release/DMG steps, and the environment gotchas that have bitten us (Node 18 vs 22, pg_dump versioning, the DMG-build hang).


Documentation

The full documentation is a static site in website/ — 33 pages covering install, onboarding, every feature, both settings scopes, the config-file reference, worked examples, and building from source, with screenshots of every screen in light and dark.

node website/scripts/build.mjs   # content/*.md → website/site/
node website/scripts/serve.mjs   # preview on http://localhost:4180

It has no dependencies: the content is Markdown and the generator is plain Node. Pushing a change under website/ publishes it through .github/workflows/docs.yml. See website/README.md for how to write a page, add a screenshot, or change the look.

Earlier per-topic notes in docs/

These predate the redesign and describe the older UI (service cards, per-service log tabs, the five-step wizard). Kept for now; website/ is the current source of truth.

Doc What it covers
docs/README.md Documentation index + 60-second mental model
docs/user-guide.md Task-oriented guide for users — install → configure → run
docs/features.md Reference: what every button and menu does
docs/configuration.md The three config layers, .worktreemanager.json, variables, ports, databases
docs/architecture.md How the pieces fit (backend = source of truth, two windows, events)
docs/backend.md Rust module map, IPC commands, events
docs/development.md Run / build / sign / DMG + environment gotchas
docs/distribution.md Installing the DMG, signing/notarization, why no App Store
docs/tooljet-config.md The ToolJet .worktreemanager.json reproduced
docs/roadmap.md What's done, follow-ups, v2 ideas

Notes

  • Settings & state live in ~/Library/Application Support/com.midhunkumare.canopod/ (settings.json, state.json).
  • See CONTRIBUTING.md for dev setup and commit conventions.

License

Canopod is open source under the GNU AGPL-3.0. Using the app imposes no obligations on you; the copyleft applies if you modify and distribute (or host) Canopod itself. Optional commercial team/cloud add-ons may be offered separately in the future.

About

Canopod - menu-bar git-worktree + dev-service manager. Every branch checked out, provisioned, and running side by side.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages