1 unstable release
| 0.1.0 | Oct 16, 2025 |
|---|
#33 in #remote
40 downloads per month
190KB
4K
SLoC
Mitoxide
A blazingly fast Rust library for remote execution and automation inspired by Mitogen.
Built with AWS Kiro and vibe-coding principles for an intuitive developer experience
Features
- 🔥 Blazing Fast: Zero-copy serialization and efficient connection pooling
- 🛡️ Secure: Built-in SSH transport with jump host support
- 🌐 Multi-Platform: Linux, macOS, Windows, and container support
- ⚡ WASM Runtime: Execute WebAssembly modules remotely
- 🔧 Privilege Escalation: Seamless sudo and privilege handling
- 🐳 Container Ready: Docker, Kubernetes, and LXC integration
Quick Start
Add Mitoxide to your Cargo.toml:
[dependencies]
mitoxide = "0.1"
Basic Usage
use mitoxide::Session;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Connect to remote host
let session = Session::ssh("user@remote-host").await?;
let context = session.connect().await?;
// Execute commands
let output = context.proc_exec(&["uname", "-a"]).await?;
println!("Remote OS: {}", output.stdout);
// Transfer files
context.file_write("/tmp/hello.txt", b"Hello, World!").await?;
let content = context.file_read("/tmp/hello.txt").await?;
Ok(())
}
Documentation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~8–26MB
~368K SLoC