mrkeyoor.comAsk

copy/v86tested 02 Dec 2026commit 3d290f2

v86 review

Use v86 for a browser exhibit, an operating-system lesson or a legacy Windows behavior reference when the guest fits its documented CPU.

  • README snippet failed
  • 18.7 MB on disk
1 sto install
  • 0 dependencies
Webevaluationupdated 02 Dec 2026
+32stars / 7d

v86 emulates an x86-compatible PC in a web page, translating machine code into WebAssembly at runtime. It gives a compatible guest operating system a screen, disks and input devices. Its documented CPU is around Pentium 4 level, with multicore support and 64-bit extensions listed as missing.

Verdict

Use v86 for a browser exhibit, an operating-system lesson or a legacy Windows behavior reference when the guest fits its documented CPU. Avoid it for guests requiring 64-bit extensions or multiple cores, and for projects requiring accelerated DirectX gaming. Our source-checkout install succeeded in 1 second at 3d290f2. The separate check installed v86 0.5.494+g3d290f2, then running the README block directly with Node failed at ReferenceError: V86 is not defined. Start an integration from the linked upstream browser examples.

v86 infographic: run an operating system in a web page, plus its uses, our test result, pitfalls and who it suits
Tested 2 December 2026: the README snippet failed with "ReferenceError: V86 is not". Before that: source install 1 s; npm install took 2.2 s.

We ran it

Lab card: what happened when we ran v86
Lab card from our sandbox run
Screenshot of v86 (copy.sh/v86)
copy.sh/v86
Install✓ · 1s0 packages · 10 MB
Buildn/ano build script
Testsn/ano test script
Known vulns00 critical · 0 high · 0 moderate · 0 low (npm audit)
Repo594 files~169,680 lines of source · 6.8 MB · 1 CI workflows · tests dir

Answers from our run

Does v86 build from source?

Dependencies installed in 1 seconds (0 packages), and the project has no separate build step. We cloned commit 3d290f2 into a clean Debian container with 3 CPUs and no project-specific setup.

Does v86 have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Does v86 have known vulnerabilities in its dependencies?

npm audit found none in the dependency tree at the time of our run.

Who should not use v86?

Projects requiring 64-bit operating systems or multiple guest CPU cores.

What are the alternatives to v86?

Berrry Wine, QEMU, VirtualBox. Use v86 for a browser exhibit, an operating-system lesson or a legacy Windows behavior reference when the guest fits its documented CPU.

Setup3/5In our 2026-12-02 run it installed in 2.2 s, but the README’s “API examples” example failed as written with “ReferenceError: V86 is not defined”.Editor’s note: The checkout installation completed, but the separate bare-Node example failed before any guest boot or complete browser setup.
Docs3/5The README has an install section (“How to build, run and embed?”) and a usage section (“API examples”), but its “API examples” example failed as written in our 2026-12-02 run (“ReferenceError: V86 is not defined”).Editor’s note: The README documents embedding and source development; the recorded execution did not exercise a complete browser integration.
Community5/5Last push on 2026-11-27, 23,775 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: The sampled issue discussions show replies and workarounds but do not measure support responsiveness or adoption.
Maturity2/5No tagged GitHub release and repository created 2013-11-06.Editor’s note: The recorded checks did not assess sustained guest reliability, production workloads or cross-version state restoration.

How we score

Discussed on

  1. hnWindows98 Running in the Browser421 points
  2. hnShow HN: Windows 98 in browser356 points
  3. hnV86: x86 virtualization in the browser, recompiling x86 to WASM on the fly265 points
  4. hnV86 – An x86-compatible CPU and hardware emulator221 points
  5. hnRunning Windows 98 in the Browser175 points

Who it’s for

Software archivists publishing an interactive exhibit of a particular operating system or application.
Developers using real Windows behavior as a reference for legacy application compatibility.
Educators sharing boot-sector or DOS .COM programs through browser links.

Who it’s NOT for

Projects requiring 64-bit operating systems or multiple guest CPU cores.
Teams choosing an everyday Node development environment on the strength of a successful boot; issue #1005 reports slow application startup and package operations.
Publishers requiring accelerated DirectX gaming; issue #1342 attributes very slow 3D performance to software rendering.

Setup reality

Our December 2, 2026 source-checkout install at 3d290f2 succeeded in 1 second, with 0 dependencies recorded and 10 MB on disk. Build and tests were skipped because the harness detected no script/target. npm audit recorded 0 known vulnerabilities.

The separate package check used checkout commit 3d290f2fcdde and installed v86 0.5.494+g3d290f2 in 2.2 seconds. It recorded 18.7 MB in node_modules and 0 packages besides v86. Running the unedited 13-line README API block with Node failed in 0.1 seconds, exited 1 and returned ReferenceError: V86 is not defined.

The checkout sandbox was configured with 3 CPUs, 8 GB RAM and image label lab-node:22. The separate package container had 2 CPUs and 4 GB RAM, with no published ports or secrets. Upstream documents browser embedding with libv86.js or the npm package, plus BIOS and guest-image assets. Source development uses a separate Make/Rust/clang toolchain.

Our source-checkout install succeeded in 1 second, while running the README constructor block directly with Node stopped at ReferenceError: V86 is not defined. These were separate checks on December 2, 2026: the checkout measurement recorded package installation, and our README-block execution recorded the JavaScript error. Use copy/v86 for a browser exhibit or legacy behavior reference where the operating system itself matters. Its documented CPU excludes 64-bit extensions and multiple guest cores.

What people use v86 for

ParkerTomatoes publishes boot-sector and DOS .COM programs as browser links, including BootChess, Tetris and Nyan Cat. The browser runner turns these small executables into something a visitor can open on a page. That use fits v86's whole-machine approach: the visitor reaches the program through an emulated PC rather than preparing a DOS environment first.

The upstream README describes an x86-compatible CPU whose machine instructions become WebAssembly modules at runtime. WebAssembly is code a browser can execute; the guest is the operating system inside the emulated PC. The documented instruction set is around Pentium 4 level, including SSE3, alongside classic PC hardware such as VGA, IDE disks and a SoundBlaster 16.

Who used it What they did Reported outcome
ParkerTomatoes Embedded boot-sector and DOS .COM programs into URLs A browser runner with BootChess, Tetris and Nyan Cat
Berrry Wine project Consulted real Windows behavior while implementing Windows interfaces Its notes use v86 as a Windows 98 behavior reference
Encarta 95 Web project Hosted Windows 95 and Encarta An HN excerpt reproduced by LibHunt reports the actual application running
GitHub user mikaku Ran Doom on a reduced FiwixOS image A Doom demonstration without sound
GitHub user PTz0uAH Booted a Windows-based live CD containing a DirectX 9c application and WinUAE A reported working application with audio missing

Berrry Wine's comparison recommends v86 for exploring the operating system, drivers or installation behavior. Its own reverse-engineering notes use v86 sessions to resolve disagreements about Windows 98 behavior. For an archive, those menus and installation steps may be part of the exhibit; for a launcher focused on one application, they are additional steps before the visitor reaches that application.

What happened when we ran it

Our source-checkout install succeeded in 1 second. The checkout run at commit 3d290f2 recorded 0 dependencies and 10 MB on disk. Separately, our package run used checkout commit 3d290f2fcdde and installed v86 0.5.494+g3d290f2. That run executed the unedited 13-line README API block directly with Node and stopped before any guest boot.

Check or hands-on question Answer Verdict Why
Did the checkout npm step finish? Succeeded in 1 second; 0 dependencies recorded; 10 MB on disk Completed Our checkout measurement records this installation scope
Did the harness build the emulator? Build skipped because no script/target was detected Skipped The harness produced no compiled-emulator result
Did the harness run tests? Tests skipped because no script/target was detected Skipped There is no passing-test count
What did npm audit report? 0 known vulnerabilities: 0 critical, high, moderate or low Recorded This is the npm audit result, not an emulator or guest security assessment
What did the repository scan find? 594 files, approximately 169,680 source lines and 6.8 MB checked out Recorded These are source-size measurements
What project signals did the detector find? 1 CI workflow file, a tests directory and no Dockerfile detected Recorded The README separately documents a Docker route
Did the separate clone step finish? Clone step completed in 1 second Completed The hands-on clone record records recipe quickstart-lib
Which npm package was installed? npm install v86@latest installed v86 0.5.494+g3d290f2 in 2.2 seconds Completed The package installation record identifies the exact version
How much space did that package installation use? 18.7 MB in node_modules Recorded The installed-size record measures a different scope from the checkout
How many other packages were installed? 0 packages besides v86 Recorded The dependency-count record identifies what was counted
Did the README block run directly with Node? Failed in 0.1 seconds; exit 1; ReferenceError: V86 is not defined Failed The execution record describes the unedited 13-line API block
Did teardown complete? teardown: ok Completed The teardown record records completion

The checkout sandbox was configured with 3 CPUs, 8 GB RAM and image label lab-node:22. The separate package check used an unprivileged container with 2 CPUs and 4 GB RAM, no published ports and no secrets. The failed block refers to document.getElementById and constructs V86; the recorded execution was bare Node, rather than a browser page loading the library and providing a screen container.

Embedding and source development use different setup routes

The README documents libv86.js for browser embedding and an official npm package for bundler projects. Its API example supplies a screen container, BIOS files and a CD image. ROM and disk requests use XHR, so the documented local route serves assets through a web server. The linked browser examples are the appropriate starting point for assembling those pieces.

Source development has a separate documented toolchain: make, Rust with the wasm32-unknown-unknown target, compatible clang and recent Node.js. Java supports Closure Compiler and is unnecessary for debug.html. The README names make for the debug build, make all for the optimized build and make run for local serving, and it also describes Docker and Dev Container routes.

Where people get stuck: boot, audio and networking fail separately

Issue #1131 reports failed DNS despite Windows XP detecting its network adapter. FunnyCorgi described the detected device, while SuperMaxusa asked whether the configuration used the default proxy or fetch-based networking. The Windows XP networking discussion separates device detection from the backend carrying traffic, making the guest driver and networking configuration distinct troubleshooting steps.

Symptom Attributed troubleshooting or outcome
Windows 2000/XP startup produces Uncaught RangeError: Maximum call stack size exceeded in Chromium Pixelsuft's image-preparation guide describes switching to Standard PC; upstream also requires Standard PC for Windows 2000 and higher
XP reaches wallpaper without taskbar or desktop icons Pixelsuft's guide records the hang
XP detects its adapter but DNS fails Issue #1131 discusses Realtek RTL8029(AS), the proxy and fetch-based networking
Chrome blocks AudioContext startup for a custom guest SuperMaxusa recommends clicking the emulator screen or allowing autoplay
Adding hdb.url to the hosted custom-profile URL exposes no second disk SuperMaxusa says that flow supports only hda and describes the BIOS/CD alternative as buggy
FiwixOS startup waits for a forced filesystem check Maintainer copy disabled fsck for the demo
FiwixOS reports WARNING: ide_hd_read(): hda: timeout on hard disk dev 3,2 during read. The discussion records the warning and a later image update with faster ATA access

The FiwixOS exchange records a concrete maintenance response: mikaku offered a newer image, and copy uploaded it. For a boot investigation, keep the guest image, settings and exact console error together. In issue #86, copy recommends running debug.html to obtain a verbose JavaScript-console log and discusses incomplete APIC behavior in that historical Windows XP case.

Small saved states can hide a much larger filesystem

Copy describes a 12 MB state image alongside a 5 GB filesystem loaded on demand in issue #976. Node was outside that 12 MB state. A state captures the running machine, while the 9p filesystem supplies files separately, so a small initial state download and the guest's total available filesystem describe different delivery costs.

Farhan-ct wanted to reproduce the compact Arch demo and asked for its configuration. Copy linked the Arch build instructions and suggested examining init_on_free, caches, logging and filesystem writes before saving. The user later reported changing init_on_free=1 to init_on_free=on, trimming kernel modules and masking services, reaching a state file of approximately 18 MB. These are attributed image-preparation results in the same discussion.

For an exhibit's delivery budget, count the initial state and the files fetched as visitors interact with the guest. Restoring a desktop can skip boot work while leaving application files to arrive later. The Arch discussion is useful because it identifies those separate assets and gives concrete preparation steps, rather than treating the compressed state as the whole operating-system download.

Node workloads and software-rendered 3D hurt for different reasons

Node reports prompted investigation of filesystem, console and isolation settings; the DirectX thread attributes slow 3D to software rendering. In issue #1005, farhan-ct reported roughly two-minute delays starting package installations or Node/Express programs, including slow installs from local npm cache. In issue #1342, SuperMaxusa identifies CPU-intensive software rendering as the reason 3D applications run slowly or very slowly.

Copy's Node troubleshooting suggestions include Chromium on localhost with COOP/COEP enabled, an X session with xterm instead of the Linux console, and npm directories mounted on tmpfs. Tmpfs holds files in memory, helping separate filesystem costs from other work. Copy also suggested another guest OS and QEMU TCG without KVM as comparison points, then pushed a disk-I/O change to the wip branch.

The DirectX discussion describes progress through WineD3D and Mesa3D to software rendering. PTz0uAH reported a DirectX 9c application running from a roughly 80 MB Windows-based live CD, with audio missing. That application launch and farhan-ct's Node startup delays identify useful evaluation tasks: open the actual game, document or server program after reaching the desktop, then exercise its file operations or rendering.

Security and guest-image rights need separate decisions

Our npm audit recorded 0 known vulnerabilities. The checkout measurement records that result, while the upstream licensing section says v86 uses Simplified BSD and lists bundled components under their own licenses. Emulator licensing and permission to redistribute a guest operating system or application are separate decisions when preparing a public exhibit.

The networking discussion also identifies several parts of an online guest: an emulated card, its driver, DNS and a backend or relay. Issue #1131 records a detected adapter alongside failed DNS. Choose the destinations the application needs to reach, then configure the delivery path around those destinations and the guest driver, rather than treating a Device Manager entry as the connectivity result.

Guest text encoding can require a different character map

Chschnell reported replacing CP437 with CP850 in a custom ScreenAdapter in issue #1098. A code page maps character bytes to visible letters. The user described a working result for their case, and the discussion explains that mapping a byte to Unicode depends on knowing the active guest code page.

Other participants discussed character-map files and guest-terminal configuration, and Evonox reported unsuccessful CP1250 and ISO-8859-2 attempts. For a non-English exhibit, the relevant acceptance task includes the actual words, accents and filenames visitors will encounter. An English DOS prompt exercises a different character set from those examples, so include the intended text in the guest task rather than stopping at a readable startup screen.

v86 vs Berrry Wine, QEMU and VirtualBox

Berrry Wine recommends v86 when the operating system, drivers or installation behavior are the subject. Its comparison recommends Berrry Wine for individual supported programs without booting Windows. The alternative project's own comparison supplies that distinction, while the QEMU and VirtualBox records answer different questions about diagnostics and a particular Android image.

Choice Reason to consider it Evidence and scope
v86 Deliver an emulated PC and its guest OS through a browser Berrry Wine recommends it for real OS and driver behavior
Berrry Wine Launch an individual supported Windows application without booting Windows Its author says unimplemented required APIs stop a program; this is vendor framing
QEMU Control a machine emulator directly; use TCG without KVM as a diagnostic baseline The QEMU README documents whole-machine software emulation; copy recommends TCG in #1005, without a measured winner
VirtualBox Investigate a desktop route for the Android image discussed in #224 A historical tester reports the same image reaching the GUI in VirtualBox after only a shell in v86

QEMU can emulate a complete machine in software without hardware virtualization support. Its README also documents Xen and KVM integration and direct control over emulator behavior and settings. Browser delivery is the deciding requirement for the exhibit examples here; the historical Android comparison concerns one image, and Berrry Wine's recommendation concerns whether the machine or the individual program is the subject.

Outdated claims, corrected

Whatisgithub calls v86 a complete x86 PC emulator, while upstream lists missing CPU features and unsupported operating systems. The Whatisgithub explainer therefore uses broader wording than the upstream hardware and compatibility lists. Multicore support and 64-bit extensions are among the missing features, and the README marks Plan 9 and OS/2 as not working.

The oldweb-today fork's documentation also differs from current upstream. Its statement that Android reaches only a shell contrasts with upstream's Android-x86 testing through 4.4-r2 and linked demo profiles. Its description of general FPU calculations as JavaScript double precision contrasts with upstream's Berkeley SoftFloat implementation. The fork README describes that fork; upstream separately retains precision qualifications for trigonometric and logarithmic functions.

The Buildroot exploration in simonw/research explicitly labels its text and code AI-generated. It reports working Lua, shell text processing and arithmetic, plus a deployment without external networking and storage that resets on reload. Those deployment observations belong to that report. Its configuration details help explain the example being discussed, rather than adding to our December 2 execution results.

FAQ

The README lists Windows guests and Android-x86 testing through 4.4-r2 for browser use. Its compatibility list gives guest-specific conditions, including Standard PC for Windows 2000 and higher. The questions below connect those documented conditions with installation, embedding and the concrete failures raised in issue discussions, so readers can choose an image before assembling its browser integration.

Can Windows and Android run directly in a browser with v86?

Upstream lists Windows 1, 3.x, 95, 98, ME, NT and 2000, and Android-x86 testing through 4.4-r2. The README describes XP, Vista and 8 as working under certain conditions. Android-x86 is the PC-oriented Android port named by the project, and its demo list includes 1.6-r2 and 4.4-r2 images.

Does v86 require installation, or does it run in a web page?

Hosted v86 demos run in a web page. For your own site, the README documents libv86.js and an npm package for bundler setups. Hosting your own guest also involves the BIOS and image assets referenced by the browser example, with local web serving documented for ROM and disk requests.

How do I embed v86 in my website?

The README directs browser embedders to libv86.js and its examples, and bundler users to the official npm package. Its basic API block references a screen container, BIOS, VGA BIOS and CD image. Our bare-Node execution failed with an undefined V86 name; the recorded execution did not load a complete browser page around that block.

Which operating systems can I run, and how do I load their disk images?

The README lists Linux, DOS, Windows versions and other guests, with image-specific conditions. Its basic example sets a CD image URL, while the compatibility section links guest-preparation guides. OpenBSD requires a particular boot configuration, NetBSD requires a custom kernel, and Windows 2000 and higher require changing the PC type to Standard PC.

Does v86 support 64-bit operating systems or multicore guests?

Upstream lists multicore support and 64-bit extensions as missing CPU features. The Linux compatibility entry also says 64-bit kernels are unsupported. These are properties of the emulated CPU described by the project, so a host computer with additional cores or a 64-bit processor does not supply those guest capabilities.

Can I save a running machine and resume it later?

The README links an example for saving and restoring emulator state and credits zstd for state-image compression. In issue #976, copy explains that the Arch demo's 12 MB state and its 5 GB demand-loaded filesystem are separate assets. Keep that distinction when preparing the files a restored guest will request.

Can I embed v86 commercially under its license?

The emulator uses Simplified BSD, and its license section identifies bundled components with separate licenses. That answers the emulator-code licensing question. A public Windows or application exhibit also needs permission for the particular guest assets being distributed, so include those operating-system and application licenses in the publishing decision.

Why does Windows XP have no internet access in v86?

Issue #1131 records DNS failure after Windows XP detected its adapter. SuperMaxusa asks about the Realtek RTL8029(AS) device and whether the setup uses the default proxy or fetch-based networking. Those device and backend questions give concrete starting points for the reported configuration; the detected adapter and a working DNS path are separate outcomes.

How do I debug guest boot failures?

Copy recommends debug.html for a verbose JavaScript-console log in issue #86. The historical discussion examines incomplete APIC behavior, unimplemented I/O ports and a stalled XP guest. Capture the exact image and settings alongside that log so the console output describes the same guest configuration another developer is trying to reproduce.

How long does Windows Vista take to boot?

Ethanaobrien reported about an hour on a Chromebook in issue #404. The report concerns a QEMU-installed Windows Vista Ultimate image and also mentions missing sound and network drivers. The useful figures are attached to that user's guest and host, rather than serving as a general Vista boot-time estimate.

Can Windows 7 run in v86, and what configuration does it need?

Issue #391 reports a Windows 7 Extreme Lite V2 boot with ACPI enabled, initially using 256 MB RAM and 32 MB video memory. The same discussion says the image requires 512 MB RAM and later discusses PE or Lite images. It also records a failed Live CD attempt and a participant correcting an earlier compatibility claim.

Does DirectX work on Windows 2000 or XP in v86?

Issue #1342 includes reports of working applications alongside very slow 3D rendering. SuperMaxusa attributes that speed to CPU-intensive software rendering and later describes a WineD3D/Mesa3D path. PTz0uAH's live-CD application report records a DirectX 9c application running with audio missing, giving an application-specific result rather than a general gaming recommendation.

What we have not tested yet

Our December 2 checks ended before a guest boot. Browser compatibility, guest responsiveness and completion of an application task therefore remain untested by MrKeyoor. The lab-node:22 image label records sandbox configuration; actual runtime and operating-system versions require raw toolchain logs. The current README's build instructions are documentation evidence, rather than an executed source-build result at commit 3d290f2.

We have no browser memory profile, sustained workload benchmark, mobile evaluation, audio test or networking test. The npm audit covers its recorded npm scope, rather than emulator isolation, relay security or an old guest OS. Cross-version state restoration, durable disk persistence, behavior after browser reload and the intended non-English guest text require their own observations. All four editorial score dimensions remain unassessed for these execution or sampling gaps.

The issue records leave several outcomes open: the XP wallpaper hang and DNS report have no confirmed repair, the Node thread ends before the user reports results from the wip change, and the FiwixOS image update does not resolve every recorded timeout. The CP850 override was explicitly specific to its author's case. The Buildroot report's missing external networking and reload behavior describe that deployment, whose configuration was not repaired in our run.

No supported jslinux head-to-head result, usable YouTube transcript, Reddit discussion or X post accompanies this review. Bilibili search titles identify questions rather than task outcomes, and historical issues describe particular images and configurations. The next useful evaluation is one licensed guest and one visitor task, exercised from opening the browser page through application completion, including any required network access or restored state.

Alternatives

ProjectWhat it isPick it when
Berrry WineImplements Windows interfaces for individual supported programs without booting Windows.Choose it when the application is the subject and its required Windows APIs are implemented. Its own comparison recommends v86 when real operating-system, driver or installation behavior is the subject.
QEMUA machine and userspace emulator and virtualizer with software emulation and Xen/KVM integration.Choose it when direct control of an emulator outside browser delivery fits the project. For slow guest workloads, copy recommends QEMU TCG without KVM as a diagnostic comparison.
VirtualBoxThe desktop alternative used in the historical Android-x86 comparison.Consider it for investigating the Android image discussed in issue #224, where the tester reported reaching its GUI in VirtualBox after reaching only a shell in v86.

Sources

  1. v86 upstream README
  2. ParkerTomatoes browser demos
  3. Berrry Wine comparison
  4. Node performance discussion
  5. DirectX discussion
  6. Arch state and filesystem discussion
  7. QEMU README

More web reviews