Offline Algotrainer, powered by Rust, Tauri, and a secure WASM execution engine.
SoloCode is a fully offline, cross-platform coding judge designed to run algorithmic challenges without Internet access.
It includes:
- ⚡ A Rust backend with a WASM sandbox
- 🖥️ A Tauri + React UI
- 🏛️ A clean Hexagonal Architecture
- 🧪 A multi-testcase judge engine
- 💾 Offline storage using SQLite/JSON bundles
SoloCode enables you to practice algorithms anywhere with native performance and full security.
- Rust
- WASM sandbox execution engine
- Strongly typed domain model
- Execution pipeline (Run / Test / Judge)
- Tauri shell for native desktop app
- React + Vite interface
- Secure Rust ↔ JS commands
- Offline JSON bundles
- SQLite local DB
- Storage & Database Adapters
- WASM sandbox prevents unsafe code
- Time & memory limits
- Zero network access
- Cross-language execution
- Multi-test evaluation
- Precise output comparison
- TLE / MLE / RE / WA / CE detection
- Per-test timeout handling
- Detailed execution logs
- Entities: Problem, TestCase, Submission
- Value Objects: ExecutionResult, TestResult, JudgeResult
- Use Cases: run, test, judge submission
- Adapters: storage, db, ui bridge