Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
# shellcheck source=scripts/lib/gateway-common.sh
. "$ROOT/scripts/lib/gateway-common.sh"
case "${1:-}" in
survives)
gateway_identity_matches() { return 0; }
kill() { return 0; }
sleep() { :; }
gateway_stop_identity '{"pid":4242}'
;;
disappears)
checks=0
gateway_identity_matches() { checks=$((checks+1)); [ "$checks" -lt 3 ]; }
kill() { return 0; }
sleep() { :; }
gateway_stop_identity '{"pid":4242}'
;;
*) exit 2 ;;
esac