Skip to content

🦾 Advanced tactical desktop client for OpenClaw β€” Secure, fast, and beautiful

License

Notifications You must be signed in to change notification settings

titanverse/titanshell-for-openclaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

133 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

TitanShell Mascot

TitanShell

🦾 Security First Desktop Client for OpenClaw ⚑

Build Release Security


Security First Desktop Client for OpenClaw with Tactical Terminal UI

TitanShell Dashboard

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

  1. Security First: Every feature designed with security as primary concern
  2. Performance Obsessed: Optimized for speed and efficiency
  3. User Experience: Intuitive, responsive, and accessible design
  4. Developer Friendly: Clean code with comprehensive documentation
  5. 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

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with comprehensive tests
  4. Ensure all tests pass and linting is clean
  5. Submit a pull request with detailed description

Code Standards

  • Rust: Follow rustfmt and clippy recommendations
  • 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 ⚑