johnandersen777.bsky.social/atlibs-socialweb-computer-app
app.socialweb.computer: socialweb.computer in one page, one atlibs composition
0
0
# atlibs-socialweb-computer-app
socialweb.computer in one page: https://app.socialweb.computer/
- **Running**: your bidders, your VMs, the bidders of accounts you vouch for
- **Agents**: an atirc agent on a VM you rent; it joins your channel and its own
- **Chat**: those channels, over the atirc mesh
- **Shell**: commands on your VMs
- **Vouches**: your Tangled vouches
- **Tiles**, **atlibs**: the page as a web tiles host; the composition it runs
One composition (`compose.ts` writes `composition.json`): vm-mcp, requester, process-mcp and their policies,
[vouches](https://knotless.dev/johnandersen777.bsky.social/atlibs-vouches),
[market-status](https://knotless.dev/johnandersen777.bsky.social/atlibs-market-status),
[mesh-agent](https://knotless.dev/johnandersen777.bsky.social/atlibs-mesh-agents).
```sh
cargo install --locked --git https://knotless.dev/johnandersen777.bsky.social/atlibs --rev 88b2ba8 atlibs
git clone https://knotless.dev/johnandersen777.bsky.social/atlibs-socialweb-computer-app
cd atlibs-socialweb-computer-app
npm ci
scripts/stage.sh
python3 -m http.server 8797 --bind 127.0.0.1 -d dist # http://127.0.0.1:8797/
```
Test (the page test needs Chrome):
```sh
node --test test/*.test.mjs
```
Deploy https://app.socialweb.computer/ (`scripts/deploy.sh`: stage for that origin, back up the live dir, a Caddy `file_server` site on the socialweb.computer gateway). `ATIRC_BIN`: the agents' atirc, atirc 2de8b6c built static (linux/amd64 musl) by kcp's `scripts/build-cargosrc.sh` recipe, served as `dl/atirc-x86_64`:
```sh
ATIRC_BIN=path/to/atirc scripts/deploy.sh
```
| what | from |
|---|---|
| `@publicdomainrelay/atlibs` 0.3.0, `-webrtc` 0.3.0 | jsdelivr (`index.html` import map; `package-lock.json` for the tests) |
| `@atproto/oauth-client-browser` 0.5.14, `@noble/curves` 2.4.0, `age-encryption` 0.3.1, `@dasl/tile-loader` 2.2.0 | esm.sh |
| modules, sessions | bobvmbuilder.bsky.social records, pinned in `atlibs.lock.json` |
| `theme.css` | exec.fedfork.com's (socialweb-computer-emdash 2d0a3fc) |
Published: `bobvmbuilder.bsky.social/app-socialweb-computer` (`atlibs publish composition composition.json --rkey app-socialweb-computer`).
Decisions: [docs/decisions.md](docs/decisions.md).