Discover and explore top open-source AI tools and projects—updated daily.
taybenlorSandboxed runtime for executing code snippets in the browser or server
Top 46.4% on SourcePulse
Runno provides sandboxed runtimes for programming languages and WASI binaries, targeting educators and developers who need to embed runnable code examples directly into web applications or run them server-side. It simplifies code execution for beginners and enables interactive demonstrations without requiring local installations.
How It Works
Runno leverages WebAssembly (WASM) and the WebAssembly System Interface (WASI) to execute code within a secure, isolated JavaScript environment. It emulates a Unix-like sandbox with a virtual file system, allowing various programming languages (Python, Ruby, C, C++, PHP) and WASI binaries to run directly in the browser or Node.js. This approach offers a consistent execution environment and avoids the complexities of native installations.
Quick Start & Requirements
@runno/runtime via npm and import it. Use <runno-run runtime="python">...</runno-run> in HTML. Requires specific HTTP headers (Cross-Origin-Opener-Policy: same-origin, Cross-Origin-Embedder-Policy: require-corp) for SharedArrayBuffer support.@runno/sandbox via npm and use runCode("runtime", "code").WASI.start(fetch("/binary.wasm"), { ... }).Highlighted Details
Maintenance & Community
The project is actively developed by taybenlor. Community engagement and support channels are not explicitly detailed in the README.
Licensing & Compatibility
Licensed under the MIT License, permitting commercial use and integration into closed-source projects.
Limitations & Caveats
Language availability is limited to those compiled to WASI. Installing external packages or modules within the sandbox is difficult, making it best suited for small, self-contained code examples. WASI preview1 is supported, but preview2 is out of scope.
1 month ago
1 day
emcf
WasmEdge
cocktailpeanut