webvm  by leaningtech

WebAssembly VM for browser-based x86 execution

Created 4 years ago
17,073 stars

Top 3.1% 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 week ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Tim J. Baek Tim J. Baek(Founder of Open WebUI), and
1 more.

harbor by av

0%
3k
CLI tool for local LLM stack orchestration
Created 2 years ago
Updated 1 week ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
7 more.

dalai by cocktailpeanut

0%
13k
Local LLM inference via CLI tool and Node.js API
Created 3 years ago
Updated 2 years ago
Feedback? Help us improve.