#Infrastructure

JSLinux: Running Full Operating Systems in Your Browser

AI & ML Reporter
2 min read

Fabrice Bellard's JSLinux brings full Linux distributions, Windows 2000, and FreeDOS to any browser through WebAssembly-based emulation.

JSLinux is a remarkable web-based emulation platform that lets you run complete operating systems directly in your browser. Created by Fabrice Bellard, the French computer scientist known for QEMU, FFmpeg, and pioneering work in computer arithmetic, JSLinux demonstrates how far browser-based virtualization has come.

The platform emulates various CPU architectures including x86_64, x86, and RISC-V, running operating systems like Alpine Linux, Fedora, Windows 2000, and FreeDOS. Each system boots in seconds and provides full console or graphical access through your web browser.

What makes JSLinux particularly impressive is its technical implementation. Bellard built it using Emscripten to compile QEMU's codebase to WebAssembly, allowing the same virtualization logic that powers desktop hypervisors to run in a browser sandbox. The platform supports hardware features like AVX-512 and APX on x86_64 systems, and includes VSync support for smoother graphics rendering.

Users can choose from several pre-configured environments. The x86_64 Alpine Linux 3.23.2 system offers the most modern experience with console access and advanced CPU features. For those wanting graphical interfaces, both Alpine and Fedora provide X Window system access, though the RISC-V Fedora builds warn of longer boot times due to the architecture's emulation overhead.

The Windows 2000 and FreeDOS options serve as interesting historical artifacts, letting users experience these classic operating systems without needing legacy hardware or worrying about licensing. The FreeDOS VGA text mode system is particularly useful for running DOS-era software and games.

JSLinux represents more than just a technical curiosity. It showcases how WebAssembly and modern browser capabilities have matured to the point where full system emulation is practical and performant. This has implications for software distribution, education, and even cloud computing, where browser-based virtualization could reduce client-side requirements.

The platform continues to evolve, with Bellard maintaining it since 2011. The current version supports a range of use cases from quick Linux terminal access to full desktop environments, all without requiring any installation or administrative privileges on the client machine.

You can explore JSLinux at bellard.org/jslinux, where the full list of available virtual machines and technical documentation is available.

Comments

Loading comments...