The browser-linux project develops a Linux distribution to run in a web browser

The browser-linux distribution is proposed for launching a Linux console environment in a web browser. The project can be used for a quick introduction to Linux without the need to run virtual machines or boot from external media. A stripped-down Linux environment is built using the Buildroot toolkit.

To execute the resulting assembly in the browser, a v86 emulator is used, which translates native code into a WebAssembly representation. To organize the operation of the storage, the localForage library is used, which works on top of the IndexedDB API. The user is given the opportunity to save the state of the environment at any time and then restore the work from the saved position. The output is generated in a terminal window implemented using the xterm.js library. udhcpc is used to set up network communication.

Source: opennet.ru

Add a comment