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 { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
describe("mobile widget layout policy", () => {
it("Shell widget selects the active surface instead of hard-coding desktop", () => {
const src = readFileSync(new URL("./widgets-defs-vps.tsx", import.meta.url), "utf8");
expect(src).toContain("shellsForSurface(surface)");
expect(src).toContain("setShell(surface, s.id)");
expect(src).not.toContain('shellsForSurface("desktop")');
});
it("Quicklinks and the mobile widget stack clip horizontal overflow", () => {
const defs = readFileSync(new URL("./widgets-defs.tsx", import.meta.url), "utf8");
const mobile = readFileSync(new URL("./mobile-widgets.tsx", import.meta.url), "utf8");
expect(defs).toContain('data-slot="quicklinks-widget-grid"');
expect(defs).toContain("overflow-x-clip");
expect(defs).toContain('surface="clear"');
expect(mobile).toContain("overflow-x-clip");
expect(mobile).toContain('data-slot="quick-open-grid"');
expect(mobile).toContain("grid-cols-4");
expect(mobile).not.toContain('data-slot="ios-widget-placeholder"');
});
});