~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-console

console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork

0
0
main
41 lines · 1.7 KB Raw History

socialweb-computer-console

https://console.socialweb.computer: kcp, kubectl, goat, yq and ssh compiled to js/wasm, run in a browser tab with a terminal. Sign in with your atproto account, request a VM from the socialweb.computer market and open a shell on it over WebRTC.

A fork of kcp (its README: README.kcp.md). Served at shell.socialweb.computer until 2026-11-10; this repository starts at the commit that was live there (c9645d615, page rc143).

Build

Go 1.26, Deno, git. The page's kcp.wasm is kcp plus socialweb at commit c525057a (rc142), with the requester's bidder discovery and transport replaced by socialweb-wasm/overlays/requester (bidders' webrtc offering endpoints, calls over a WebRTC datachannel):

git clone https://knotless.dev/johnandersen777.bsky.social/socialweb-computer-console
git clone https://github.com/publicdomainrelay/socialweb-computer-kcp
cd socialweb-computer-console
mkdir -p bin/wasm
SOCIALWEB_SRC=$PWD/../socialweb-computer-kcp REV=c525057a MAIN_CHECKOUT=$PWD DEPLOY=1 scripts/browser-dev/build-page.sh
make build-kubectl-wasm build-goat-wasm build-yq-wasm build-sshclient-wasm
scripts/build-kubectl-wasm-web-public.sh public bin/wasm

Run locally

make serve-public

Open http://localhost:8090.

Deploy

To https://console.socialweb.computer (/var/www/console.socialweb.computer, /etc/caddy/sites/console.socialweb.computer.caddy):

SKIP_BUILD=1 scripts/deploy.sh

Without SKIP_BUILD=1 it rebuilds public/ from bin/wasm first. ORIGIN=<host> deploys to another hostname.

License

The fork's own files: UNLICENSE. kcp: LICENSE (Apache-2.0).