¿Cómo ejecutar un escritorio Linux en tu navegador? ¡WebVM 2.0 (WebAssembly) es la respuesta!
¡¿Espera, QUÉ?! ¿Recuerdas los días en que ejecutar un escritorio Linux completo significaba particionar discos duros, configurar gestores de arranque
Wait, WHAT!? Remember the days when running a full Linux desktop meant partitioning hard drives, configuring bootloaders, and sacrificing your precious weekend to the gods of system administration? Well, friends, those days are over (sort of). WebVM 2.0 lets you run a complete Linux environment, including a desktop, entirely
Remember the days when running a full Linux desktop meant partitioning hard drives, configuring bootloaders, and sacrificing your precious weekend to the gods of system administration? Well, friends, those days are over (sort of). WebVM 2.0 lets you run a complete Linux environment, including a desktop, entirely within your browser. Yes, you read that right. Your browser. Thanks to the magic of WebAssembly, HTML5, and a touch of dark sorcery (or maybe just clever engineering), WebVM brings a full Linux VM, persistent storage, networking, and even Xorg to your browser, all client-side. No more dual-booting, no more VMs eating your RAM, just pure, unadulterated Linux in a tab. Check out the Alpine Linux / Xorg / i3 environment to see it in action.

WebVM is built on four pillars of modern web technology:

CheerpX is the core technology behind WebVM. It's a secure, robust, and performant x86 virtualization engine built entirely on WebAssembly and browser APIs. It runs within the browser sandbox, isolating the virtualized applications from your local system. Think of it as a tiny, self-contained universe of Linux running in your browser tab.
CheerpX is not just for WebVM. It also powers CheerpX for Flash (because someone has to keep those ancient Flash apps alive), the CheerpX Games Runner (for playing GOG games in your browser), and is available as an NPM package.

WebVM's streaming disk backend is a key innovation. It uses WebSockets and Cloudflare Workers to download disk blocks on demand, minimizing latency and bandwidth usage. Read-write support and local persistence are handled by IndexedDB, so your changes are saved even if you close your browser.

Networking in a browser environment is a challenge. WebVM tackles this by integrating with Tailscale, creating a private VPN that allows the VM to connect to the internet and other WebVMs. This approach avoids the scaling, privacy, and abuse issues associated with traditional proxy-based solutions.

WebVM supports graphical applications and desktop environments through Xorg and the Linux KMS (Kernel Modesetting) API. This allows for a smooth transition from kernel messages to boot animation to Xorg without the dreaded screen flicker. Currently, WebVM features the i3 window manager, but support for heavier environments like XFCE is on the roadmap. Wayland support is also planned, but it will take some time.

WebVM is a showcase for CheerpX and a useful tool in its own right. It provides a convenient way to access command-line tools, run code snippets, and even manage git repositories on the go. It's also a potential game-changer for education, offering zero-maintenance and zero-cost access to development environments. And let's be honest, running a full Linux desktop in your browser is just plain cool.
The release of WebVM 2.0 and CheerpX 1.0 is just the beginning. Future plans include improved performance, support for Docker containers, and enhancements to the WebVM UX. The possibilities are as vast as the internet itself (or at least as vast as your browser's memory).
WebVM is a fascinating project that pushes the boundaries of what's possible in a web browser. It's free, open-source, and available for anyone to use, modify, and improve. If you encounter any bugs, please report them on GitHub. And if you have any questions, join the Leaning Technologies community on Discord.
Original article by Alessandro Pignotti at Leaning Technologies Labs.

¡¿Espera, QUÉ?! ¿Recuerdas los días en que ejecutar un escritorio Linux completo significaba particionar discos duros, configurar gestores de arranque
Secure Web Gateways (SWGs) are increasingly vulnerable to 'Last Mile Reassembly Attacks' that leverage WebAssembly (WASM) to deliver