talira

x86 PC emulator that runs in the browser by translating machine code to WebAssembly

open sourceBSD-2-Clausefree

v86 emulates an x86-compatible PC in the browser (or Node.js), translating machine code to WebAssembly at runtime for decent speed. It emulates a CPU at roughly Pentium 4 level with SSE3, an FPU, VGA with SVGA, IDE and floppy disks, PS/2 keyboard and mouse, an NE2000 network card and virtio filesystem, network and balloon devices, enough to boot Linux distributions, FreeBSD and old versions of Windows, and you can embed it in a web page from npm. It's by Fabian (copy).

Problems it solves

  • run Linux in a web browser
  • embed a virtual machine in a web page
  • an x86 emulator in JavaScript and WebAssembly

Features

  • x86 emulation in the browser
  • machine code to WebAssembly JIT
  • boots Linux, FreeBSD and old Windows
  • virtio filesystem and network
  • embeddable from npm

Alternatives

The same job

These do what v86 does.

  1. WebVM A Linux virtual machine that runs entirely in your browser
  2. unkernel A real Linux kernel compiled to WebAssembly that boots to a shell in under a second

Compare v86 with the top 3