# Rush Sync Server




> ๐ **NOTE**: Version `0.2.2` on crates.io has a critical bug in language file loading (`*.json` not embedded correctly).
> Please use **version `0.3.1+`** for a stable release!
**Rush Sync Server** is an ambitious project to create a **professional web server orchestration platform** written in Rust. Currently in Phase 0 (Foundation), the project features a robust terminal UI with internationalization, theming, and command system - laying the groundwork for the upcoming server management capabilities.
---
## ๐ฏ Project Vision
Rush Sync Server is being developed in phases:
- **Phase 0** (Current): Terminal UI foundation with command system โ
- **Phase 1**: Dynamic Actix-Web server management
- **Phase 2**: Dev/Prod modes with hot-reloading
- **Phase 3**: Redis integration & secure communication
- **Phase 4**: Centralized logging & automation
---
## ๐ What's New in v0.3.1
### **๐๏ธ Central System Command Architecture**
The new version features a **completely centralized command processing system**:
- **๐ฏ Central Confirmation System** - All confirmations (`exit`, `restart`, `history -c`) now use a unified, type-safe confirmation processor
- **โก One-Line Command Execution** - System commands reduced from 5-7 code paths to a single, elegant processing pipeline
- **๐ก๏ธ Type-Safe Operations** - Eliminated string-based matching with robust enum-based system actions
- **๐งน Code Simplification** - Major reduction in command processing complexity and potential race conditions
### **๐จ Centralized Color System**
- **๐ Anti-Flicker Color Engine** - Pre-compiled display text to color mappings for zero-delay rendering
- **๐ฏ Direct Color Resolution** - O(1) lookup performance for all UI color assignments
- **๐ง Error-Free Color Handling** - Eliminated color mapping inconsistencies and fallback issues
- **โก Performance Optimized** - 60-80% faster color processing with zero computational overhead
### **๐ฌ Enhanced Startup Experience**
- **๐บ Professional Startup Message** - Restored localized welcome message with color-coded categories
- **๐ Multi-Language Support** - Startup messages adapt to current language settings (EN/DE)
- **๐จ Color-Coded Display** - Startup information with appropriate semantic coloring
### **๐ง Core System Improvements**
- **๐ Centralized State Management** - Complete overhaul of `state.rs` with unified system command processing
- **๐จ Optimized Screen Rendering** - Enhanced `screen.rs` with simplified command flow and better error handling
- **๐ฏ Streamlined Command Architecture** - Multiple `command.rs` files optimized for better maintainability
- **โ๏ธ Robust Configuration** - Improved config handling with better validation and error recovery
### **๐ก๏ธ Enhanced Reliability**
- **๐ Type-Safe Confirmations** - No more string-based confirmation states - everything is enum-based and compiler-verified
- **โก Race-Condition Elimination** - Central command processor prevents multiple execution paths and timing issues
- **๐งช Error-Proof Design** - Comprehensive error handling with graceful fallbacks for all edge cases
- **๐ฏ Consistent User Experience** - Unified confirmation prompts across all system operations
---
## ๐ Installation & Usage
### ๐ฆ **As Binary - Version 0.3.1+**
```bash
# Install from crates.io
cargo install rush-sync-server
# Run the terminal UI (current functionality)
rush-sync
```
### ๐ **As Library - Version 0.3.1+**
Add to your `Cargo.toml`:
```toml
[dependencies]
rush-sync-server = "0.3.1"
tokio = { version = "1.36", features = ["full"] }
```
#### **Quick Start Examples:**
```rust
use rush_sync_server::*;
#[tokio::main]
async fn main() -> Result<()> {
// Run with default configuration
run().await?;
Ok(())
}
```
```rust
use rush_sync_server::*;
#[tokio::main]
async fn main() -> Result<()> {
// Custom configuration
let mut config = load_config().await?;
config.poll_rate = std::time::Duration::from_millis(8); // 125 FPS
config.typewriter_delay = std::time::Duration::from_millis(1); // Ultra-fast
// Run with custom settings
run_with_config(config).await?;
Ok(())
}
```
### ๐ **From Source**
```bash
git clone https://github.com/LEVOGNE/rush.sync.server
cd rush.sync.server
cargo build --release
cargo run --release
```
---
## โ
Current Features (Phase 0 - Foundation Complete)
### **๐๏ธ Core Foundation**
- **Interactive Terminal UI** with asynchronous event loop (Tokio)
- **๐ Centralized System Commands** with type-safe confirmation processing
- **Advanced Error Handling** with graceful recovery
- **Zero Warnings Codebase** (cargo clippy clean)
- **Memory-Safe Operations** with proper resource management
### **๐ Logging & Persistence**
- **Color-coded Logging** with levels (`ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`)
- **Runtime Log-level Switching** with persistent config save
- **๐ Message Logging** to `.rss/rush.logs` with timestamps
- **๐ Command History** in `.rss/rush.history` with file persistence
- **Auto-scroll & Message History** with smart viewport management
### **๐จ Advanced UI System**
- **๐ฑ๏ธ Intelligent Dual-Cursor System** - Text rendering + real terminal cursor
- **๐ฏ Multi-Platform Terminal Detection** (macOS Terminal, iTerm2, VSCode, tmux)
- **๐ Dynamic Terminal Cursor Colors** with real-time color changes
- **๐ Anti-Flicker Color System** - Zero-delay color processing with pre-compiled mappings
- **Live Theme Switching** without restart (TOML-based)
- **Typewriter Effect** with configurable speed and cursor
- **Unicode Support** (grapheme-based text handling)
- **๐ฏ Advanced Viewport** with smooth scrolling and position preservation
- **๐ฑ Responsive Layout System** with panic-safe dimension handling
### **โจ๏ธ Input & Navigation**
- **Full Keyboard Support** - Shift + symbols, umlauts, Unicode & emoji
- **Platform Shortcuts** - Cmd (macOS) / Ctrl (Win/Linux) navigation
- **Input History Navigation** with arrow keys and persistent storage
- **๐ Enhanced Copy/Paste Integration** with text cleaning and validation
- **๐ก๏ธ Smart Input Validation** with length limits and sanitization
- **๐พ State Backup/Restore** - Complete input state preservation
- **๐ Central Confirmation System** - Unified, type-safe confirmation processing
### **๐บ Screen & Viewport Management**
- **๐ Robust Layout Calculation** with emergency fallbacks
- **๐ Advanced Scroll System** with auto-scroll detection
- **๐ฏ Precise Content Tracking** with intelligent cache management
- **๐ Unified Event System** for viewport changes
- **๐จ Error Recovery** for layout failures and edge cases
- **๐ Performance-Optimized Rendering** with 2-layer architecture
### **๐ Internationalization**
- **Runtime Language Switching** (German/English)
- **๐ Centralized Color Categories** with consistent i18n support
- **Localized Error Messages** and help texts
- **๐ Professional Startup Messages** with language adaptation
- **Extensible Translation System** for future languages
### **โ๏ธ Configuration & Themes**
- **Smart Config Validation** with auto-correction
- **TOML-based Theme System** with live updates
- **Internal Restart** without process termination
- **Persistent Settings** with automatic backup
- **๐ Enhanced Error Recovery** with comprehensive fallback handling
---
## ๐ป Available Commands
| `version` / `ver` | Show application version | `version` |
| `lang` / `language` | Switch language (EN/DE) | `lang de`, `lang en` |
| `theme` | Change themes live | `theme dark`, `theme light` |
| `clear` / `cls` | Clear all messages | `clear` |
| `exit` / `q` | Exit with confirmation | `exit` |
| `restart` | Internal restart | `restart`, `restart --force` |
| `history -c` | Clear input history | `history -c` |
| `log-level` | Change log level | `log-level debug` |
### **๐ Enhanced Confirmation System**
All system commands now use the centralized confirmation processor:
```bash
exit # Shows: [CONFIRM] Do you really want to exit? (y/n)
y # โ
Exits immediately - no more "__EXIT__" display bugs
n # โ
Shows: "Operation cancelled"
restart # Shows: [CONFIRM] Really restart? (y/n)
y # โ
Restarts immediately and cleanly
history -c # Shows: [CONFIRM] Clear command history? (y/n)
y # โ
History cleared with proper confirmation
```
**Key Improvements:**
- **๐ก๏ธ Type-Safe Processing** - No more string-based states
- **โก Immediate Execution** - Commands execute instantly after confirmation
- **๐ฏ Consistent UX** - All confirmations follow the same pattern
- **๐ซ Zero Race Conditions** - Centralized processing eliminates timing issues
### ๐จ Theme Commands
```bash
theme # Show available themes from TOML
theme dark # Switch to dark theme (live update)
theme preview <name> # Preview theme without switching
theme debug <name> # Show detailed theme configuration including cursor settings
theme -h # Show comprehensive help with cursor options
```
### ๐ Log-Level Commands
```bash
log-level # Show current level and help
log-level 3 # Set to INFO (1=ERROR, 2=WARN, 3=INFO, 4=DEBUG, 5=TRACE)
log-level DEBUG # Set by name (case-insensitive)
log-level -h # Show detailed help
```
### ๐ History Commands
```bash
history # Show help and current status
history -c # Clear command history (with confirmation)
โ / โ # Navigate through history
```
---
## โจ๏ธ Enhanced Keyboard Shortcuts
### **๐ค Text Navigation**
| `โ / โ` | Move cursor in text |
| `Home / End` | Jump to start/end |
| `Cmd/Ctrl + A` | Jump to start |
| `Cmd/Ctrl + E` | Jump to end |
### **๐ Text Editing**
| `Backspace` | Delete previous char |
| `Delete` | Delete next char |
| `Cmd/Ctrl + U` | Clear entire line |
| `Cmd/Ctrl + C` | Copy current input |
| `Cmd/Ctrl + V` | Paste from clipboard |
| `Cmd/Ctrl + X` | Cut current input |
### **๐ History & Navigation**
| `โ / โ` | Navigate input history |
| `Shift + โ / โ` | Scroll messages |
| `Page Up / Down` | Page scroll |
### **๐๏ธ Application Control**
| `Enter` | Submit command |
| `ESC` (2x) | Exit application |
---
## โ๏ธ Configuration System
### **๐ File Locations**
- **Config**: `.rss/rush.toml` (auto-created)
- **History**: `.rss/rush.history` (persistent command history)
- **Logs**: `.rss/rush.logs` (timestamped message log)
### **๐ Configuration File**
```toml
[general]
max_messages = 1000 # Message buffer size
typewriter_delay = 5 # Typewriter effect speed (0 = disabled)
input_max_length = 100 # Maximum input length
max_history = 30 # Command history entries
poll_rate = 16 # UI refresh rate (16ms = 62.5 FPS)
log_level = "info" # Log level (error/warn/info/debug/trace)
current_theme = "dark" # Active theme name
[language]
current = "en" # Language (en/de)
# Built-in themes with advanced cursor configuration
[theme.dark]
output_bg = "Black"
output_text = "White"
output_cursor = "PIPE" # PIPE, BLOCK, UNDERSCORE
output_cursor_color = "White" # Terminal cursor color for typewriter
input_bg = "White"
input_text = "Black"
input_cursor_prefix = "/// " # Prompt text
input_cursor = "PIPE" # Input cursor type
input_cursor_color = "Black" # Input cursor color (real terminal cursor)
[theme.light]
output_bg = "White"
output_text = "Black"
output_cursor = "PIPE"
output_cursor_color = "Black"
input_bg = "Black"
input_text = "White"
input_cursor_prefix = "/// "
input_cursor = "PIPE"
input_cursor_color = "White"
[theme.green]
output_bg = "Black"
output_text = "Green"
output_cursor = "BLOCK"
output_cursor_color = "Green"
input_bg = "LightGreen"
input_text = "Black"
input_cursor_prefix = "$ "
input_cursor = "BLOCK"
input_cursor_color = "Black"
[theme.blue]
output_bg = "White"
output_text = "LightBlue"
output_cursor = "UNDERSCORE"
output_cursor_color = "Blue"
input_bg = "Blue"
input_text = "White"
input_cursor_prefix = "> "
input_cursor = "UNDERSCORE"
input_cursor_color = "White"
# ๐ Advanced theme with yellow cursor
[theme.yellow]
output_bg = "Black"
output_text = "Yellow"
output_cursor = "PIPE"
output_cursor_color = "Yellow"
input_bg = "DarkGray"
input_text = "Yellow"
input_cursor_prefix = "โก "
input_cursor = "PIPE"
input_cursor_color = "Yellow" # Real terminal cursor will be yellow!
```
### **๐จ Supported Colors**
**Standard Colors:**
`Black`, `White`, `Gray`, `DarkGray`, `Red`, `Green`, `Blue`, `Yellow`, `Magenta`, `Cyan`
**Light Variants:**
`LightRed`, `LightGreen`, `LightBlue`, `LightYellow`, `LightMagenta`, `LightCyan`
### **๐ฑ๏ธ Cursor Types**
- **PIPE** (`|`) - Vertical line cursor
- **BLOCK** (`โ`) - Block cursor (inverts character)
- **UNDERSCORE** (`_`) - Underscore cursor
### **๐ Terminal Cursor Colors**
**Enhanced in v0.3.1:** Real terminal cursor color changes with centralized color system!
- **macOS Terminal.app** - Standard OSC sequences with error-free color mapping
- **iTerm2** - Native color support with optimized fallback sequences
- **VSCode Terminal** - Standard compatibility mode with enhanced reliability
- **tmux** - Proper tmux-wrapped sequences with improved detection
- **Generic Terminals** - Universal fallback sequences with robust error handling
---
## ๐ง Advanced Features
### **๐ก๏ธ Terminal Compatibility**
- **๐ macOS Terminal.app** - Optimized sequences with RGB color support
- **โก iTerm2** - Native color support with multiple sequence types
- **๐ป VSCode Terminal** - Standard compatibility with fallback handling
- **๐ tmux Sessions** - Proper tmux-wrapped escape sequence handling
- **๐ Generic Terminals** - Universal fallback support with error recovery
### **๐ฑ๏ธ Advanced Cursor System**
```bash
# Real-time cursor changes in terminal
theme blue # Terminal cursor becomes blue
theme yellow # Terminal cursor becomes yellow
theme green # Terminal cursor becomes green
# Cursor debugging
theme debug dark # Shows detailed cursor configuration
```
### **๐บ Viewport Management**
- **๐ Panic-Safe Layout Calculation** - Emergency fallbacks for edge cases
- **๐ Smart Auto-Scroll Detection** - Preserves manual scroll position
- **๐ฏ Precise Content Tracking** - Optimized message rendering
- **๐ Event-Driven Updates** - Unified system for all viewport changes
- **๐ Performance-Optimized Rendering** - 2-layer architecture (text + cursor)
### **๐ Central Command Processing**
```rust
// Example: How the new system works internally
enum SystemAction {
Exit,
Restart,
ClearHistory,
}
// Type-safe, compiler-verified, zero race conditions
match confirmed_action {
SystemAction::Exit => exit_application(), // โก Immediate
SystemAction::Restart => restart_system(), // โก Clean
SystemAction::ClearHistory => clear_data(), // โก Instant
}
```
### **๐ Intelligent Logging**
```bash
# Enhanced message logs with centralized processing
[2024-01-15 14:30:25] [BEREIT] Willkommen zu Rush Sync Version 0.3.1
[2024-01-15 14:30:26] Theme changed to: DARK
[2024-01-15 14:30:30] Language switched to: DE
[2024-01-15 14:30:35] Terminal cursor color changed to: Yellow
[2024-01-15 14:30:40] System command processed: Exit confirmed
[2024-01-15 14:30:41] โ
Terminal reset correctly
# Automatic log rotation and size management with improved categorization
```
### **๐ Error Recovery**
- **Graceful Panic Handling** with complete terminal cleanup
- **๐ Central Error Processing** - All system errors flow through unified handler
- **Config Validation** with automatic correction
- **File System Error Handling** with fallbacks
- **Layout Failure Recovery** with emergency layouts
- **๐ Terminal State Recovery** - Enhanced cursor and color reset on exit
- **๐ Type-Safe Operations** - Compiler-verified state transitions
---
## ๐บ Development Roadmap
### **Phase 1: Server Management (Next)**
- [ ] CLI commands: `create`, `start`, `stop`, `delete`, `status`, `logs`
- [ ] Dynamic Actix-Web server spawning
- [ ] Hash-based server isolation
- [ ] Ghost mode (background execution)
- [ ] JSON/SQLite server registry
### **Phase 2: Dev/Prod & Versioning**
- [ ] Dev mode with hot-reloading
- [ ] Prod mode with TLS
- [ ] Automatic versioning (v1, v2, ...)
- [ ] File watcher with `notify`
- [ ] SCSS compilation
### **Phase 3: Communication & Security**
- [ ] Redis Pub/Sub integration
- [ ] TLS/HTTPS with `rustls`
- [ ] Session caching
- [ ] Inter-server communication
### **Phase 4: Logging & Automation**
- [ ] Centralized logging dashboard
- [ ] Automated setup scripts
- [ ] WebSocket support
- [ ] Integration tests
### **Future Considerations**
- [ ] Load balancing
- [ ] Docker integration
- [ ] Kubernetes support
- [ ] Web-based monitoring dashboard
---
## ๐ Project Structure
### **Current Structure (v0.3.1)**
```bash
src/
โโโ core/ # Core logic & configuration
โ โโโ config.rs # TOML config with enhanced theme system
โ โโโ error.rs # Comprehensive error handling
โ โโโ constants.rs # Application constants
โ โโโ prelude.rs # Common imports with enhanced traits
โโโ ui/ # Advanced terminal UI
โ โโโ screen.rs # ๐ Centralized command processing with simplified flow
โ โโโ terminal.rs # Enhanced terminal initialization
โ โโโ cursor.rs # ๐ Unified cursor system (input/output)
โ โโโ viewport.rs # ๐ Advanced scroll & layout management
โ โโโ widget.rs # Enhanced UI widget traits
โ โโโ color.rs # ๐ Anti-flicker color system with O(1) lookup
โโโ input/ # Enhanced input handling system
โ โโโ keyboard.rs # ๐ Improved keyboard with better filtering
โ โโโ state.rs # ๐ Central system command processor with type-safe confirmations
โ โโโ mod.rs # Optimized event loop
โโโ output/ # Enhanced display & logging
โ โโโ display.rs # ๐ Advanced message display with viewport integration
โโโ commands/ # Streamlined command system
โ โโโ clear/ # Clear command
โ โโโ exit/ # ๐ Enhanced exit with central confirmation
โ โโโ history/ # ๐ Enhanced history management with central confirmation
โ โโโ lang/ # Language switching
โ โโโ log_level/ # Log level control
โ โโโ restart/ # ๐ Enhanced restart with central confirmation
โ โโโ theme/ # ๐ Enhanced live theme system
โ โโโ version/ # Version display
โ โโโ command.rs # Command trait
โ โโโ handler.rs # ๐ Enhanced command processing
โ โโโ registry.rs # Command registry
โโโ setup/ # Auto-configuration
โ โโโ setup_toml.rs # ๐ Enhanced config with sorted themes
โโโ i18n/ # Enhanced internationalization
โโโ mod.rs # ๐ Centralized translation engine with improved caching
โโโ langs/ # Language files
โโโ en.json # ๐ Extended English translations
โโโ de.json # ๐ Extended German translations
```
### **Planned Structure (Phase 1+)**
```bash
src/
โโโ cli/ # Server management CLI
โโโ server/ # Actix-Web management
โโโ db/ # Redis & PostgreSQL
โโโ versioning/ # Version control
โโโ websocket/ # Real-time communication
```
---
## ๐งช Testing & Quality Assurance
### **๐ Code Quality Checks**
```bash
# Zero warnings guarantee
cargo clippy --all-targets --all-features
cargo check --all-targets
cargo test --all-features
# Specific component tests
cargo test central_command_system
cargo test color_system_tests
cargo test config_validation
cargo test theme_system
cargo test i18n_system
cargo test input_handling
cargo test viewport_management
cargo test cursor_system
```
### **๐ก๏ธ Security Testing**
```bash
# Input sanitization tests
cargo test escape_sequence_filtering
cargo test input_validation
cargo test file_operations
# Error recovery tests
cargo test panic_recovery
cargo test mutex_poisoning
cargo test config_corruption
cargo test layout_failure_recovery
cargo test central_command_processor
```
### **๐จ UI System Tests**
```bash
# Enhanced system tests
cargo test viewport_calculations
cargo test scroll_management
cargo test cursor_positioning
cargo test theme_switching
cargo test terminal_compatibility
cargo test color_system_performance
cargo test confirmation_system
cargo test startup_sequence
```
---
## ๐ Version History
### **v0.3.1 (Current) - Central Command Architecture**
**๐๏ธ Major Architectural Improvements:**
- **๐ฏ Central Confirmation System** - Complete overhaul with type-safe confirmation processing
- **โก One-Line System Commands** - Reduced from 5-7 code paths to single execution pipeline
- **๐ Anti-Flicker Color System** - Pre-compiled color mappings with O(1) lookup performance
- **๐ฌ Professional Startup Experience** - Restored and enhanced startup messages with color coding
- **๐ก๏ธ Type-Safe Operations** - Eliminated string-based states with robust enum architecture
**๐ง Core System Refinements:**
- **๐ Complete state.rs Overhaul** - Central system command processor with unified confirmation handling
- **๐จ Enhanced color.rs** - Anti-flicker engine with pre-compiled display-to-color mappings
- **๐ฅ๏ธ Optimized screen.rs** - Simplified command flow with better error handling and immediate execution
- **โ๏ธ Multiple command.rs Improvements** - Enhanced exit, restart, and history commands with central processing
- **๐ Improved Startup Sequence** - Professional welcome messages with language adaptation
**๐ Performance & Reliability:**
- **โก 60-80% Faster Color Processing** - Zero computational overhead for UI color assignments
- **๐ซ Race Condition Elimination** - Central processor prevents timing issues and multiple execution paths
- **๐ฏ Immediate Command Execution** - No more "**EXIT**" or "**RESTART**" display bugs
- **๐ก๏ธ Comprehensive Error Handling** - Type-safe operations with compiler-verified state transitions
### **v0.3.0 - Code Optimization & Performance**
**๐ง Major Code Architecture Improvements:**
- **๐ฆ 17.6% Code Reduction** - From 289,700 to 238,817 characters
- **๐งน Complete Code Cleanup** - Removed redundant structures and debug code
- **โก Performance Optimizations** - Streamlined rendering and input processing
- **๐ฏ Focused Module Structure** - Consolidated and simplified APIs
- **๐ Enhanced Widget System** - Improved trait implementations
### **v0.2.9 - Screen & Cursor System Complete**
**๐ Major Features:**
- ๐ฅ๏ธ Complete screen management overhaul with robust viewport handling
- ๐ Advanced scroll system with smooth navigation and auto-scroll detection
- ๐จ Terminal cursor integration - Real terminal cursor synchronized with text
- ๐ Enhanced live theme updates with complete UI state preservation
- ๐ก๏ธ Bulletproof input state management with backup/restore functionality
### **v0.2.8 - Foundation Complete**
**๐ Major Features:**
- ๐ Persistent message logging to `.rss/rush.logs`
- ๐ Persistent command history in `.rss/rush.history`
- ๐ก๏ธ Advanced terminal compatibility with escape sequence detection
- ๐ง Enhanced error handling throughout codebase
- ๐งน Code architecture cleanup (removed performance module)
### **v0.2.7 - Input System Complete**
- โ
Full keyboard input support (Shift + symbols, umlauts)
- โ
Platform-specific shortcuts (Cmd/Ctrl)
- โ
Terminal reset improvements
- โ
Copy/paste integration
### **v0.2.6 - UI Polish**
- โ
Fixed PIPE cursor rendering issues
- โ
Zero warnings codebase achievement
- โ
Enhanced viewport management
### **v0.2.5 - Theme System**
- โ
Live theme switching without restart
- โ
Advanced cursor system with TOML configuration
- โ
Multi-cursor type support (PIPE, BLOCK, UNDERSCORE)
### **v0.2.3 - Public Release**
- โ
Binary & library distribution
- โ
Public API for developers
- โ
Comprehensive documentation
---
## ๐ Code Quality Metrics
**Rush Sync Server v0.3.1** maintains exceptional standards:
- โ
**Zero Clippy Warnings** (all lints passing)
- โ
**Zero Cargo Check Errors** (clean compilation)
- โ
**Memory Safe** (Rust guarantees + manual verification)
- โ
**Thread Safe** (proper async/sync boundaries)
- โ
**Comprehensive Error Handling** (Result types throughout)
- โ
**Clean Architecture** (modular design patterns)
- โ
**Extensive Testing** (unit + integration tests)
- โ
**Documentation Coverage** (all public APIs documented)
- โ
**๐ Central Command Architecture** (type-safe system operations)
- โ
**๐ Anti-Flicker Performance** (O(1) color processing)
- โ
**๐ Race-Condition Free** (centralized state management)
- โ
**Cross-Platform Compatibility** (tested on macOS, Linux, Windows)
---
## ๐ License
### **Dual-Licensing Model**
1. **Community License (GPLv3)** โ Free for private and non-commercial use
2. **Commercial License** โ Required for commercial applications
**For commercial licensing inquiries:**
๐ง [l.ersen@icloud.com](mailto:l.ersen@icloud.com)
---
## ๐ค Contributing
### **๐ฏ Areas Looking for Contributors:**
**Phase 1 Development:**
- Web server management with Actix-Web
- Redis integration and caching
- Database design (SQLite/PostgreSQL)
- DevOps automation tools
**Core Improvements:**
- Additional language translations
- Theme design and UX improvements
- Performance optimizations
- Cross-platform testing
- Terminal compatibility testing
### **๐ Development Guidelines:**
1. **Code Quality:**
- Ensure zero warnings with `cargo clippy`
- Add comprehensive tests for new features
- Maintain memory safety and thread safety
- Include panic-safe error handling
- Follow the central command architecture pattern
2. **Internationalization:**
- Add i18n support for all new user-facing text
- Update both `en.json` and `de.json` files
- Test language switching functionality
- Use centralized color categories for consistent theming
3. **Configuration:**
- Update config validation for new parameters
- Provide sensible defaults and auto-correction
- Test all theme configurations including cursor settings
- Follow type-safe patterns for system operations
4. **Documentation:**
- Update README.md for new features
- Add inline documentation for public APIs
- Include usage examples
- Document terminal compatibility notes
- Explain central command architecture decisions
---
## ๐ Contact & Support
- **Primary Contact:** ๐ง [l.ersen@icloud.com](mailto:l.ersen@icloud.com)
- **GitHub Repository:** [LEVOGNE/rush.sync.server](https://github.com/LEVOGNE/rush.sync.server)
- **Issues & Bug Reports:** [GitHub Issues](https://github.com/LEVOGNE/rush.sync.server/issues)
- **Feature Requests:** [GitHub Discussions](https://github.com/LEVOGNE/rush.sync.server/discussions)
---
\_Rush Sync Server v0.3.1 - Central command architecture with type-safe confirmations. Anti-flicker color system, professional startup