Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin-roark/socket.io-computer
a collaborative virtual machine
https://github.com/kevin-roark/socket.io-computer
Last synced: about 6 hours ago
JSON representation
a collaborative virtual machine
- Host: GitHub
- URL: https://github.com/kevin-roark/socket.io-computer
- Owner: kevin-roark
- Created: 2014-04-18T06:42:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-02T06:44:07.000Z (about 1 year ago)
- Last Synced: 2025-01-19T09:06:28.736Z (7 days ago)
- Language: JavaScript
- Homepage: http://socket.computer
- Size: 670 KB
- Stars: 421
- Watchers: 31
- Forks: 129
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
dependencies 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