Flux Terminal
Flux Terminal is a cross-platform desktop application that wraps a production-grade terminal in a rich interface designed around Claude Code. It runs real shell sessions (claude, PowerShell, git, and anything else) on a true pseudo-terminal, while capturing each session so it can be navigated and replayed afterwards on a scrubable timeline. A live dashboard tracks tokens, model-specific cost, and tool calls in real time, and cross-session analytics surface activity charts, streaks, and plan-limit gauges. The app is built on Electron with xterm.js for the terminal surface, node-pty (with Windows ConPTY support) for the PTY bridge, and a React renderer — with a hardened IPC boundary exposed through a contextBridge preload.
Role and Focus
Designed and built the full desktop app solo: the Electron main process and PTY bridging, the contextBridge IPC surface, and the React + xterm.js renderer, plus the session-capture, replay, and metrics systems.
Tech Stack
Desktop Shell
Terminal UI
Sessions
Analytics
Key Highlights
- Wraps a real pseudo-terminal (node-pty with ConPTY on Windows) in an Electron app, so claude, git, and shell commands run exactly as they would natively.
- Captures Claude Code sessions and replays them on a scrubable timeline with token, cost, and tool-usage metrics computed per model.
- Adds cross-session analytics — activity charts, streaks, achievements, and plan-limit gauges — on top of a hardened contextBridge IPC boundary.