Mikael Stockman

TermHub

A native macOS app for managing terminal sessions across multiple project folders with automatic git worktree support.

Screenshot of TermHub showing the terminal session manager with sidebar and integrated terminal

Motivation

TermHub was created to make it easier to run multiple Claude Code sessions in parallel across different git repos and worktrees. When working with AI-assisted coding, it’s common to have several Claude sessions going at once – each working on a separate task in its own branch. TermHub keeps all of those sessions organized, makes it easy to switch between them, and notifies you the moment a session finishes or needs attention.

Features

Technology

TermHub is written in Swift and targets macOS 14.0 (Sonoma) or later. It uses SwiftTerm for terminal emulation and tmux as the session backend to ensure persistence.

The project uses XcodeGen for Xcode project generation from a project.yml configuration file.

Source Code

You can browse the entire code base on GitHub. https://github.com/miksto/TermHub