DEV Community

Breno Alvim
Breno Alvim

Posted on

Claude Terminal Hub: stop hunting for folders to resume Claude Code sessions

Every time I went back to an old Claude Code session, the process was the same: open Explorer, remember which folder that project lived in, open a terminal there, type claude --resume <id> from memory or paste it from somewhere. I got tired of it and built Claude Terminal Hub.

What it does

It's a Windows desktop app, built with Electron, that lists your recent Claude Code sessions from every project on the machine in a single screen. It reads the .jsonl files Claude Code writes to ~/.claude/projects, zero configuration needed. Each session shows an AI-generated title and the last prompt sent, sorted by recent activity.

One click on a session opens a terminal panel in the right folder, already running claude --resume. You can keep up to 4 panels open side by side, each one a real PowerShell process via node-pty, not a fake console. Arrow keys, vim, the Claude Code TUI itself, all work normally inside the panel.

Under the hood

  • Main process (Node) reads only the first and last KB of each .jsonl file, not the full transcript, to list sessions fast even with a large session history.
  • A narrow contextBridge between main and renderer, no broad IPC surface.
  • React frontend, one xterm.js instance per terminal panel.
  • Each panel spawns a real PowerShell process through node-pty, so shell state, arrow keys, and TUIs behave like a native terminal.

Getting it

Windows installer ready (NSIS), no admin rights required. Open source on GitHub:

https://github.com/obrenoalvim/claude-terminal-hub

Does anyone else miss multiplexing Claude Code terminals like this, or already solved it a different way?

Top comments (0)