# socket.io-computer **Repository Path**: mirrors_Glavin001/socket.io-computer ## Basic Information - **Project Name**: socket.io-computer - **Description**: a collaborative virtual machine - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # socket.io-computer A collaborative virtual machine where players take turns in controlling it. It works by running [qemu](http://wiki.qemu.org/Main_Page) on the server-side and streaming the image binary data to the browser. ![](https://i.cloudup.com/eLzCA3vYK5.gif) ## Dependencies In order to run `socket.io-computer` you must have the following dependenices installed: - `qemu` - `redis-server` On the mac, all of the above are available on [homebrew](http://brew.sh/). ## How to run First you should create an image onto which you'll load (install) the operating system ISO. We'll call it for this example `winxp.img`. ```bash $ qemu-img create -f qcow2 winxp.img 3G ``` Then you can run the additional needed processes: ```bash # web server $ node app.js # io server $ node io.js # qemu instance $ COMPUTER_ISO=winxp.iso COMPUTER_IMG=winxp.img node qemu.js # emulator communication process $ COMPUTER_IMG=winxp.img node emu-runner.js ``` Then point your browser to `http://localhost:5000`. ## License MIT