π¦Ύ Security First Desktop Client for OpenClaw β‘
Security First Desktop Client for OpenClaw with Tactical Terminal UI
TitanShell provides a modern, secure, and feature-rich desktop interface for OpenClaw, the powerful AI assistant. Built with Tauri 2.0, Svelte 5.0, and a tactical terminal theme, TitanShell delivers enterprise-grade functionality with exceptional user experience.
β¨ Key Features
π‘οΈ Security First Architecture
- Zero-Trust Security Model: Complete isolation between frontend and backend
- Human-in-the-Loop Approval: All dangerous commands require explicit user confirmation
- Granular Permissions: Precise Tauri capabilities with scoped filesystem access
- Real-time Security Monitoring: Track and log all command executions
- **Project β¦
π¦Ύ Security First Desktop Client for OpenClaw β‘
Security First Desktop Client for OpenClaw with Tactical Terminal UI
TitanShell provides a modern, secure, and feature-rich desktop interface for OpenClaw, the powerful AI assistant. Built with Tauri 2.0, Svelte 5.0, and a tactical terminal theme, TitanShell delivers enterprise-grade functionality with exceptional user experience.
β¨ Key Features
π‘οΈ Security First Architecture
- Zero-Trust Security Model: Complete isolation between frontend and backend
- Human-in-the-Loop Approval: All dangerous commands require explicit user confirmation
- Granular Permissions: Precise Tauri capabilities with scoped filesystem access
- Real-time Security Monitoring: Track and log all command executions
- Project Warden: Zero-Knowledge AI environment with isolated key injection and encrypted UDS transport
- Absolute Trust Chain: Binary integrity verification (SHA-256) for the entire execution stack
- Heuristic DLP: Shannon Entropy scanning to prevent sensitive data leakage to AI providers
π¨ Modern Tactical Terminal UI
- Glass-Morphism Design: Beautiful frosted glass effects with backdrop blur
- Dark Green Theme: Optimized for extended use with tactical color scheme
- Responsive Layout: Adapts perfectly to all screen sizes and resolutions
- Smooth Animations: 60fps interactions with carefully crafted transitions
- Skeleton Loading States: Professional loading placeholders throughout the application
π Advanced OpenClaw Integration
- Sidecar Architecture: OpenClaw runs as secure, isolated process
- Lifecycle Management: Automatic startup, monitoring, restart, and graceful shutdown
- Command History: Complete tracking of all OpenClaw interactions
- Real-time Chat Interface: Modern chat with typing indicators and message history
π System Monitoring Dashboard
- Resource Monitoring: Real-time CPU, memory, and disk usage tracking
- Performance Metrics: Advanced system performance visualization
- Security Event Timeline: Complete audit trail with risk assessment
- Process Management: Monitor and manage system processes
- Network Monitoring: Track network activity and bandwidth usage
β‘ Developer Experience
- Hot Reload: Instant updates during development with full state preservation
- TypeScript Support: Full type safety with comprehensive definitions
- Extensible Architecture: Plugin system for custom extensions
- Cross-Platform Support: Windows, macOS, and Linux with native optimizations
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend (Svelte 5) β
β βββββββββββββββ β
β β WebView UI β β
β βββββββββββββββ β
β β
β IPC Bridge (Tauri 2) β
β βββββββββββββββββββββββββββββ β
β β Rust Backend β β
β β ββββββββββββββββββββββ β β
β β β Security & β β
β β β Sidecar Managementβ β
β β β System Integrationβ β
β β ββββββββββββββββββββββ β β
β β β
β β β
β OpenClaw Sidecar β
β (Node.js Process) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Quick Start
Prerequisites
- Node.js: 22.12.0 or later
- Rust: 1.70.0 or later
- pnpm: Latest version (recommended)
Installation
# Clone the repository
git clone https://github.com/your-org/titan-shell.git
cd titan-shell
# Install dependencies
pnpm install
# Start development server
pnpm run tauri:dev
# Build for production
pnpm run tauri:build
Development Commands
# Start development with hot reload
pnpm run tauri:dev
# Build application
pnpm run tauri:build
# Run tests
pnpm test
# Type checking
pnpm run check
# Code formatting
pnpm run format
# Linting
pnpm run lint
π Project Structure
TitanShell/
βββ π src/ # Svelte 5 frontend
β βββ lib/
β β βββ components/ # Reusable UI components
β β β βββ ui/ # Base UI components
β β β βββ chat/ # Chat interface
β β β βββ monitor/ # System monitoring
β β β βββ security/ # Security components
β β βββ stores/ # Svelte 5 state management
β β βββ types/ # TypeScript definitions
β β βββ utils/ # Utility functions
β βββ routes/ # Filesystem-based routing
β βββ app.html # HTML template
βββ π¦ src-tauri/ # Rust backend
β βββ src/
β β βββ main.rs # Application entry
β β βββ warden.rs # Project Warden supervisor
β β βββ security.rs # Vault & biometry protection
β β βββ sidecar.rs # OpenClaw process management
β β βββ tactical/ # Threat detection module
β β βββ commands*.rs # Tauri command handlers
β βββ warden-plugins/ # Warden security plugins
β βββ capabilities/ # Tauri permission configuration
β βββ tauri.conf.json # Tauri configuration
βββ π¦ external/ # External dependencies
β βββ openclaw/ # OpenClaw source code
βββ π docs/ # Documentation
β βββ warden/ # Warden architecture docs
βββ π§ scripts/ # Build and utility scripts
βββ π warden-plugins/ # Custom security plugins
π‘οΈ Security Model
TitanShell implements a comprehensive security model:
Trust Boundaries
- Frontend: Untrusted WebView with CSP restrictions
- Backend: Trusted Rust with full system access
- Sidecar: Isolated Node.js process with limited privileges
Security Features
- Command Validation: All commands assessed for risk level
- Approval Workflows: Dangerous commands require explicit user approval
- Audit Logging: Complete security event tracking
- Scoped Access: Filesystem access limited to specific directories
- Network Restrictions: Whitelist-based external connection control
π§ Configuration
TitanShell uses a comprehensive configuration system:
Security Settings
- Approval Requirements: Configurable approval workflows
- Risk Assessment: Automatic command risk evaluation
- Timeout Controls: Configurable approval timeouts
- Logging Levels: Detailed security event logging
OpenClaw Settings
- Process Management: Sidecar lifecycle control
- Port Configuration: Flexible port assignment
- Workspace Paths: Configurable working directories
- Log Levels: Detailed logging control
UI Settings
- Theme Selection: Multiple theme options
- Animation Controls: Toggle animations and effects
- Layout Options: Customizable interface layout
- Language Support: Internationalization ready
π Performance Optimizations
Startup Performance
- Cold Start: < 1 second to full interface
- Hot Start: < 300ms with hot reload
- Memory Usage: < 100MB idle, with intelligent cleanup
- CPU Usage: < 2% idle, optimized for background operation
Rendering Performance
- 60fps Animations: Smooth 60fps throughout the interface
- GPU Acceleration: Hardware-accelerated where available
- Efficient DOM: Optimized Svelte reactivity and updates
- Bundle Optimization: Tree-shaking and code splitting
π― Technology Stack
Core Technologies
- Tauri 2.0: Modern Rust-based app framework
- Svelte 5.0: Latest reactive UI framework with Runes
- TypeScript 5.0: Type-safe JavaScript development
- Skeleton UI 4.11: Modern component library with Tailwind CSS
Development Tools
- Vite 6.0: Fast build tool and development server
- pnpm 10.18: Efficient package manager
- Rust 1.70: Systems programming language
- Tailwind CSS 4.0: Utility-first CSS framework
Integration Technologies
- Lucide Svelte: Beautiful icon library
- Node.js 22.12: Sidecar JavaScript runtime
- Tokio: Async runtime for Rust
π Cross-Platform Support
Supported Platforms
- Windows 10+: Full native integration
- macOS 10.15+: Native macOS features with Apple Silicon support
- Linux (Ubuntu 20.04+: Full Linux distribution support
Platform-Specific Features
- Windows: System tray notifications, Windows Hello integration
- macOS: Touch Bar support, iCloud sync, Keychain integration
- Linux: XDG theme compliance, AppImage support
π¦ TitanShell Philosophy
Design Principles
- Security First: Every feature designed with security as primary concern
- Performance Obsessed: Optimized for speed and efficiency
- User Experience: Intuitive, responsive, and accessible design
- Developer Friendly: Clean code with comprehensive documentation
- Enterprise Ready: Production-grade reliability and maintainability
Innovation Focus
- Tactical Terminal Aesthetic: Unique visual identity in enterprise software
- Glass-Morphism UI: Modern design language with depth and transparency
- Context-Aware Interface: Smart UI adaptation based on current task
- Seamless Integration: Invisible integration between OpenClaw and system
π€ Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Development Workflow
- Fork the repository
- Create a feature branch
- Make your changes with comprehensive tests
- Ensure all tests pass and linting is clean
- Submit a pull request with detailed description
Code Standards
- Rust: Follow
rustfmtandclippyrecommendations - TypeScript: Strict type checking and modern syntax
- Svelte: Use Svelte 5 best practices with Runes
- Documentation: All code commented in English for clarity
π License
TitanShell is released under the Sustainable Use License.
π Acknowledgments
- Tauri Team: For the excellent app framework
- Svelte Team: For the reactive UI framework
- Skeleton Labs: For the beautiful component library
- OpenClaw Team: For the powerful AI assistant
- Rust Community: For the systems programming language
Built with β€οΈ for the security-conscious professional user
π¦Ύ TitanShell: Your Tactical Command Center β‘