Skip to main content

A terminal based control plane for developers working across multiple repositories. Launch multiple AI coding agents, multiple tmux sessions and track changes across all your repos in one place.

Project description

GitDirector

A terminal based control plane for developers working across multiple repositories. Launch multiple AI coding agents, multiple tmux sessions and track changes across all your repos in one place.

Why GitDirector?

If you work across more than a handful of repositories, the overhead adds up fast. Jumping between terminals to check states, pull changes, and babysit agents is friction you don't need.

GitDirector gives you a single cockpit for all of it. See every repo's status, Drop into any of them. Run AI agents in parallel, each isolated in its own tmux session, while you monitor everything from the dashboard. Less tab-switching, more shipping.

Installation

pip install gitdirector

Requires Python 3.10+.

Support

If you find GitDirector useful, please star this repository on GitHub, we need more stars to qualify for inclusion in Homebrew. Your support helps a lot, thank you!

Usage

Command Description
gitdirector console Open the interactive TUI dashboard
gitdirector link PATH [--discover] Link a repository or discover all under a path
gitdirector unlink PATH|NAME [--discover] Unlink a repository by path, name, or all under a path
gitdirector list List all tracked repositories with live status
gitdirector status Show repositories with staged/unstaged files
gitdirector pull Pull latest changes for all tracked repositories
gitdirector cd NAME Open or switch to a tmux session for a repository
gitdirector autoclean links|sessions Clean broken links or stale tmux sessions
gitdirector info PATH|NAME [--full] Show file statistics for a repository
gitdirector help Show help

link

gitdirector link /path/to/repo
gitdirector link /path/to/folder --discover   # recursively find and link all repos

console

gitdirector console

Opens a full interactive TUI dashboard.

Features:

  • Live table with sync state, branch, changes, last commit, and active tmux sessions
  • j/k or arrow keys to navigate
  • / to filter repositories by name or path
  • s to cycle sort by any column
  • i to show repository info (file count, lines, tokens, max depth, top file types)
  • r to refresh all statuses
  • Press enter on any repository to open an action menu:
    • New tmux session — create and attach a session for the repository
    • Attach existing session — switch to any already-running tmux session
    • Launch AI agent — open OpenCode, Claude Code, GitHub Copilot, or Codex in a new tmux session
    • Remove session — kill a running tmux session

unlink

gitdirector unlink /path/to/repo         # unlink by full path
gitdirector unlink my-repo               # unlink by repository name
gitdirector unlink /path/to/folder --discover  # unlink all repos under a path

If multiple tracked repositories share the same name, gitdirector will refuse and list the conflicting paths so you can use the full path instead.

info

gitdirector info /path/to/repo        # by path
gitdirector info my-repo               # by name
gitdirector info my-repo --full        # show all file extensions

Shows file statistics for a repository:

  • Total file count, line count, token count, and max directory depth
  • Top 10 file types by count with line and token breakdowns (use --full to show all)
  • Files without extensions grouped as (no ext)
  • Remaining types grouped as others
  • Binary files show - for lines and tokens
  • All operations respect .gitignore at every level

Also available in the TUI console by pressing i on a selected repository.

list

Displays a live table of all tracked repositories with:

  • Sync state: up to date, ahead, behind, diverged, or unknown
  • Current branch
  • Staged/unstaged changes
  • Last commit (relative time)
  • Tracked file size
  • Path

Checks run concurrently (default: 10 workers, configurable from 1 to 32).

status

Shows repositories with uncommitted changes (staged and/or unstaged files). Prints a summary of total, clean, and changed repo counts.

pull

Pulls all tracked repositories concurrently using fast-forward only on each repository's current branch (git pull --ff-only origin <current-branch>). Reports success or failure per repository.

cd

gitdirector cd my-repo

Opens a tmux session rooted at the repository directory, or switches to it if a session for that repo already exists.

  • Inside tmux — switches the current client to the target session.
  • Outside tmux — replaces the current process with tmux attach-session, handing the terminal over to tmux.

Requires tmux to be installed on your system.

macOS: brew install tmux
Debian/Ubuntu: sudo apt install tmux
Arch: sudo pacman -S tmux

Configuration

Config is stored at ~/.gitdirector/config.yaml.

repositories:
    - /path/to/repo1
    - /path/to/repo2
max_workers: 10 # optional, valid range 1-32, default 10
theme: rose-pine # optional, default rose-pine

Available Themes

textual-dark, textual-light, nord, gruvbox, catppuccin-mocha, textual-ansi, dracula, tokyo-night, monokai, flexoki, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, solarized-light, solarized-dark, rose-pine, rose-pine-moon, rose-pine-dawn, atom-one-dark, atom-one-light

Requirements

  • Python 3.10+
  • Git
  • tmux ≥ 3.2a (for gitdirector cd)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitdirector-1.4.2.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitdirector-1.4.2-py3-none-any.whl (84.5 kB view details)

Uploaded Python 3

File details

Details for the file gitdirector-1.4.2.tar.gz.

File metadata

  • Download URL: gitdirector-1.4.2.tar.gz
  • Upload date:
  • Size: 67.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gitdirector-1.4.2.tar.gz
Algorithm Hash digest
SHA256 b3d93604542de8c4d5b7026348df714591206e34b2ff74af5e1d4f745a6b5688
MD5 d4a32424e24b3f2004f5ba8285bbd822
BLAKE2b-256 ca9344ba0a95cb8c6a39defe292e97f4c9ebd4721d42c224d49d8d3504ba130d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitdirector-1.4.2.tar.gz:

Publisher: release.yml on anitoanto/gitdirector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gitdirector-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: gitdirector-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 84.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gitdirector-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20efa3b451063e28b09360011b98d052489a0b52509d26602ef8f92998b4b19b
MD5 57868451246da99f67c3408de2fdd7ae
BLAKE2b-256 99a766bc9a2e6f936ef912c195ada4ce84f1892b38d151f373b6823cf6e38883

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitdirector-1.4.2-py3-none-any.whl:

Publisher: release.yml on anitoanto/gitdirector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page