socket.io-computer: Anniversary Edition (facade version of socket.computer because the real thing is so terrible)
Find a file
modeco80 4212050ae5 port entire project to using parcel + strict TypeScript
Mostly out of cleanliness, and actually bundling the libraries properly.

Yes, this includes the backend, because.. why not? It seems to work, at least.

The VNC client for instance also is now fully strict TypeScript.
2024-04-05 04:30:56 -04:00
backend port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
qemu port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
shared port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
webapp port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
.editorconfig initial commit 2024-04-02 07:43:54 -04:00
.gitignore initial commit 2024-04-02 07:43:54 -04:00
.prettierignore initial commit 2024-04-02 07:43:54 -04:00
.prettierrc.json initial commit 2024-04-02 07:43:54 -04:00
LICENSE port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
package.json port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
README.md remove ct reference 2024-04-03 02:25:38 -04:00
tsconfig.json port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00
yarn.lock port entire project to using parcel + strict TypeScript 2024-04-05 04:30:56 -04:00

Socket.Computer

socket.computer, except not powered by socket.io anymore, and with many less bugs. This monorepo builds

  • The backend
  • A QEMU VM runner package (feel free to steal it)
  • Shared components
  • The webapp (TODO)

Building

$ yarn
$ yarn build:service # Build the service
$ yarn build:frontend # Build the webapp

Hosting

TODO

  • Edit webapp/src/index.ts to point the websocket URL to an appopiate place
  • Build the service and the webapp (tip, see the above section)
  • copy webapp/dist (excl. .map files) to an applicable webroot
  • Run the backend, optionally with systemd service things (MAKE SURE TO SET NODE_ENV TO PRODUCTION.) (also proxy it for wss please)

... profit?