7 releases
Uses new Rust 2024
| 0.3.1 | Feb 13, 2026 |
|---|---|
| 0.3.0 | Feb 12, 2026 |
| 0.2.1 | Feb 12, 2026 |
| 0.1.2 | Feb 11, 2026 |
#524 in Configuration
160KB
3.5K
SLoC
silicube-cli
Command-line interface for sandboxed code execution, built on the silicube library.
Commands
| Command | Description |
|---|---|
silicube init |
Create a default silicube.toml config file |
silicube compile |
Compile source code in a sandbox |
silicube run |
Compile (if needed) and execute code |
silicube languages |
List available languages |
silicube show-config |
Display current configuration |
Examples
# Initialize configuration
silicube init
# Run a Python script
silicube run --language python3 solution.py
# Run C++ with custom limits and input
silicube run --language cpp17 --time-limit 2.0 --memory-limit 262144 main.cpp --input test.txt
# Compile only
silicube compile --language rust solution.rs
Global Options
| Flag | Description |
|---|---|
-c, --config <PATH> |
Path to configuration file |
-b, --box-id <ID> |
Isolate box ID (default: 0) |
-v, --verbose |
Enable debug logging |
Requirements
- Linux with
isolateinstalled - Root privileges or equivalent capabilities
- Language toolchains for the languages you want to run
Dependencies
~14–20MB
~294K SLoC