feat: implement web server mode #216
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🌐 Claudia Web Server Implementation
Add comprehensive web server functionality to Claudia, enabling Claude Code execution from mobile browsers while maintaining feature parity with the desktop Tauri app.
This makes it possible to use from a phone - something I find useful of Codex/Jules.
🎯 Objective
Enable users to access Claude Code from mobile devices via web browser, addressing the limitation of desktop-only access. This allows for:
🚀 Implementation Overview
Core Features
📁 Key Components
Backend Implementation
web_server.rs
Frontend Implementation
apiAdapter.ts
ClaudeCodeSession.tsx
🔧 Technical Details
Build & Deployment
just web
command for integrated build and runArchitecture
✅ Completed Features
🔄 Outstanding Work
🚀 Getting Started
Prerequisites
Building and Running
Usage
🛠️ Development Notes
Event System
The dual-mode event system supports both Tauri's native event handling and DOM events for web browsers:
Session Management
WebSocket connections are tracked per session with automatic cleanup: