235ca68ee55a1b099eb2763db19c0eda8f1716ca
- Complete UCXL protocol implementation with DHT storage layer - BZZZ Gateway for peer-to-peer networking and content distribution - Temporal navigation engine with version control and timeline browsing - Standardized UCXL error/response codes for Rust, Go, and Python - React-based UI with multi-tab interface and professional styling - libp2p integration for distributed hash table operations - Self-healing network mechanisms and peer management - Comprehensive IPC commands for Tauri desktop integration Major Components: - ucxl-core: Core UCXL protocol and DHT implementation - BZZZ Gateway: Local subnet peer discovery and content replication - Temporal Engine: Version control and state reconstruction - Cross-language standards: Unified error handling across implementations - Modern UI: Professional React interface with DHT and network monitoring Standards Compliance: - UCXL-ERROR-CODES.md and UCXL-RESPONSE-CODES.md v1.0 - Machine-readable error codes with structured payloads - Client guidance for retry logic and error handling - Cross-language compatibility with identical APIs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
RUSTLE - UCXL Browser
RUSTLE (Rust + Tauri UCXL Engine) is a desktop application for browsing and interacting with UCXL (Unified Context Exchange Language) content through a distributed hash table (DHT) network.
Features
- UCXL Protocol Support: Full implementation of UCXL URI parsing and content handling
- DHT Storage: Distributed content storage using libp2p and BZZZ gateway
- Temporal Navigation: Version control and timeline browsing for UCXL content
- BZZZ Gateway Integration: Local subnet peer discovery and content replication
- Cross-Language Standards: Standardized error/response codes for Rust, Go, and Python
- Modern UI: React-based interface with professional styling
Architecture
Core Components
- ucxl-core: Rust library containing UCXL protocol implementation
- BZZZ Gateway: Peer-to-peer networking layer for content distribution
- DHT Storage: Distributed hash table for decentralized content storage
- Temporal Engine: Version control and timeline management
- React UI: Modern web-based user interface
Technology Stack
- Backend: Rust with Tauri for native desktop integration
- Frontend: React with TypeScript for the user interface
- Networking: libp2p for peer-to-peer communication
- Storage: DHT-based distributed storage
- Standards: UCXL standardized error/response codes
Getting Started
Prerequisites
- Rust 1.70+ with Cargo
- Node.js 18+ with npm
- Git
Development Setup
-
Clone the repository:
git clone <repository-url> cd rustle -
Install dependencies:
# Install Rust dependencies cargo build # Install Node.js dependencies npm install -
Run in development mode:
cargo tauri dev
Building for Production
cargo tauri build
Project Structure
rustle/
├── ucxl-core/ # Core UCXL implementation
│ ├── src/
│ │ ├── lib.rs # Main library exports
│ │ ├── envelope.rs # UCXL envelope handling
│ │ ├── commands.rs # UCXL command processing
│ │ ├── dht.rs # DHT storage implementation
│ │ ├── bzzz.rs # BZZZ gateway networking
│ │ ├── temporal.rs # Temporal navigation engine
│ │ └── ucxl_codes.rs # Standardized error/response codes
│ └── Cargo.toml
├── src-tauri/ # Tauri desktop app
│ ├── src/
│ │ ├── main.rs # Application entry point
│ │ ├── lib.rs # Tauri configuration
│ │ └── commands.rs # IPC commands
│ └── Cargo.toml
├── src/ # React frontend
│ ├── App.tsx # Main application component
│ ├── App.css # Application styles
│ └── main.tsx # React entry point
├── ucxl_codes.go # Go standard library
├── ucxl_codes.py # Python standard library
└── UCXL_CODES_README.md # Standards documentation
UCXL Standards Compliance
RUSTLE implements the full UCXL specification including:
- Standardized Error Codes:
UCXL-400-INVALID_ADDRESS,UCXL-404-NOT_FOUND, etc. - Standardized Response Codes:
UCXL-200-OK,UCXL-201-CREATED, etc. - Cross-Language Libraries: Identical APIs for Rust, Go, and Python
- Structured Payloads: Machine-readable error and response formats
See UCXL_CODES_README.md for complete documentation.
Development Commands
Core Library
cd ucxl-core
cargo test # Run tests
cargo build --release # Build optimized library
Desktop Application
cargo tauri dev # Development mode with hot reload
cargo tauri build # Production build
cargo tauri info # System information
Frontend
npm run dev # Development server
npm run build # Production build
npm run lint # Code linting
DHT Network
RUSTLE uses a distributed hash table (DHT) for decentralized content storage:
- BZZZ Gateway: Local subnet peer discovery and bootstrap
- Content Replication: Automatic content replication across peers
- Self-Healing: Network partition detection and recovery
- Temporal Navigation: Version-aware content retrieval
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make changes and test thoroughly
- Follow Rust and React best practices
- Update documentation as needed
- Submit a pull request
License
This project follows the same license as the UCXL specification.
Architecture Documentation
For detailed technical documentation, see:
Development Plan ucxl Browser using Rust and Tauri.md- Complete development planContext Browser.md- Context and requirementsUCXL_CODES_README.md- Standards compliance documentation
Description
Languages
Rust
69%
TypeScript
10.9%
Python
8.1%
Go
6%
CSS
5%
Other
1%