webvm  by leaningtech

WebAssembly VM for browser-based x86 execution

created 3 years ago
15,334 stars

Top 3.3% on sourcepulse

GitHubView on GitHub
Project Summary

WebVM provides a full Linux x86 virtual machine that runs entirely client-side in the browser via WebAssembly. It targets developers and power users needing a sandboxed, server-less Linux environment for testing, development, or running legacy applications directly within a web page, offering a familiar Linux experience without server-side infrastructure.

How It Works

WebVM leverages CheerpX, an x86-to-WebAssembly JIT compiler, to execute unmodified Linux binaries. It includes a virtual block-based file system and a Linux syscall emulator, enabling compatibility with standard Linux distributions like Debian. Networking is facilitated through integration with Tailscale, utilizing WebSockets for transport, allowing for secure, server-less connectivity.

Quick Start & Requirements

Highlighted Details

  • Runs unmodified Debian and native x86 binaries in the browser.
  • Integrates with Tailscale for full networking support via WebSockets.
  • Customizable via Dockerfiles for specific environments.
  • Supports integration with services like Claude AI via API keys.

Maintenance & Community

  • Project depends on CheerpX, xterm.js, and Tailscale.
  • Community support available via Discord.

Licensing & Compatibility

  • WebVM is released under the Apache License, Version 2.0.
  • CheerpX, the core virtualization engine, has specific licensing: free for individual exploration, but requires a commercial license for organizational use, hosting elsewhere, or building products. Contact sales@leaningtech.com for commercial inquiries.

Limitations & Caveats

The CheerpX engine's licensing restricts commercial use and redistribution without a paid license, which may limit broader adoption for product development.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
3
Star History
2,590 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Travis Fischer Travis Fischer(Founder of Agentic).

pezzo by pezzolabs

0.2%
3k
Open-source LLMOps platform for streamlining AI workflows
created 2 years ago
updated 1 month ago
Feedback? Help us improve.