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
import type { DeviceRole } from "./roles";
const VIEWER_APPS = new Set([
"files-manager",
"system-monitor",
"media-viewer",
"quicklinks",
"docs",
"os-settings",
]);
const OPERATOR_APPS = new Set([
...VIEWER_APPS,
"camoufox-browser",
"hermes",
"openclaw",
"9router",
"orca",
]);
/** Unknown/runtime apps fail closed for delegated devices until explicitly classified. */
export function appAllowedForRole(appId: string, role: DeviceRole | null): boolean {
if (role === "owner") return true;
if (role === "operator") return OPERATOR_APPS.has(appId);
return VIEWER_APPS.has(appId);
}