README.md

lwis · look what i see #

lookwhatisee.xyz: what you see, your agent sees.

Circle something on your phone, your screen or a photo, and your coding agent gets exactly that, end-to-end encrypted, on your laptop, a remote server or in the cloud. It can answer back. No messenger in between (no Telegram bot, no WhatsApp, no Slack app), and no account.

How it works #

A phone app, a web app and a browser extension capture a picture or a web page. The user marks it up with laser gestures; the capture is sealed end to end and reaches the agent either as a one-time share link (curl + openssl, nothing to install) or through lwisd, a small daemon that delivers it into a running Claude Code, Codex or opencode session, or to a hosted agent. Sibling of lwid. License: AGPL-3.0-or-later.

Layout #

Path What
crates/lwis-core Protocol (§4): pairing, key schedule, rekey, wire format, container, RFC 9421, grants, PoW. Native + wasm
crates/lwis-gesture Laser gesture recognition (a drawgent port) and the describer
crates/lwisd lwisd daemon and lwis CLI: pairing, ntfy, drop API client, Claude channel, MCP, native host
crates/lwis-web The hosted kasm kapp (wasm32-wasip2): static pages, releases, anonymous drop API
web/ Capture UI (React 19 + Tailwind v4 + shadcn, Memory Card), tokens, in-page overlay
extension/ MV3 extension (WXT), Chrome + Firefox
android/ Gradle-less Nix APK (xyz.lookwhatisee.app)
plugin/ Claude Code plugin (channel + tools + hooks + /lwis:accept)
infra/ OpenTofu (OVH DNS, ACME, S3), host config (Caddy, kasm, ntfy), deploy and e2e scripts
scripts/ lw (resource-guarded runner), sync / on-host (build on the host), pull-locks, publish-dev-release

Working on it #

All builds and tests run on the shared host (debian@135.125.163.3), never locally, through the resource guard:

scripts/on-host 'lw run cargo test --workspace --exclude lwis-web'   # cargo lane (4 GiB, 4 cores)
scripts/on-host 'lw run cargo build -p lwis-web --target wasm32-wasip2 --release'
scripts/on-host 'LW_LANE=aux lw run nix develop -c bash -c "cd web && npm ci && npm run build"'
scripts/on-host 'LW_LANE=aux lw run nix-build android/nix --arg captureDist ./web/capture/dist -o .gcroots/apk'
scripts/on-host 'infra/scripts/deploy-kapp.sh'      # lwis-web → the local kasm host
scripts/on-host 'infra/scripts/drop-e2e.sh'         # drop API against the real bucket
scripts/on-host 'infra/scripts/e2e-local.sh'        # lwisd + device + fake session over a throwaway ntfy
scripts/publish-dev-release                         # sign (offline key, this machine) + upload the APK

lw guard refuses to start a build below 25 GB of free disk or 6 GiB of available RAM. See design §14.2.

Hosted instance #

  • https://lookwhatisee.xyz: the lwis-web kapp (kasm, behind Caddy)
  • https://ntfy.lookwhatisee.xyz: anonymous on lwis_* topics only
  • Blobs: OVH Object Storage lwis-blobs-prod (GRA), presigned PUT/GET, 1-day lifecycle backstop

Release signing key (minisign, offline): lwis-release.pub.