Claude Code Portal is a web-based proxy that extends Claude Code with remote access and session sharing. Run Claude Code on a powerful machine and access it from any browser — phone, tablet, or thin client.
The system intercepts Claude’s terminal I/O via a lightweight CLI wrapper (claude-portal), forwards everything over WebSocket to a central server, and renders it in a browser-based terminal UI. Multiple clients can view the same session in real-time.
The whole stack is Rust:
Features include configurable message retention, session sharing with role-based permissions, device-flow OAuth for CLI auth, and background cost tracking that broadcasts token usage to connected clients.