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
"use client";
import type { AppProps } from "@/features/appshell";
import { TerminalSession, type TerminalSessionProps } from "./components/terminal-session";
import { TerminalTabs } from "./components/terminal-tabs";
export type TerminalProps = TerminalSessionProps & {
/** Set false for single-purpose shells such as Claude Code. */
tabbed?: boolean;
};
// Public terminal surface. Normal Terminal and embedded Code terminals get a
// persistent tab workspace; focused tool shells can opt out with tabbed=false.
export function Terminal({ initialCommand, initialCwd, tabbed = true }: TerminalProps = {}) {
if (!tabbed) return <TerminalSession initialCommand={initialCommand} initialCwd={initialCwd} />;
return <TerminalTabs initialCommand={initialCommand} initialCwd={initialCwd} />;
}
export default function TerminalApp({ payload }: AppProps) {
const row = payload && typeof payload === "object" ? payload as { initialCwd?: unknown; initialCommand?: unknown } : undefined;
const initialCwd = typeof row?.initialCwd === "string" && row.initialCwd ? row.initialCwd : undefined;
const initialCommand = typeof row?.initialCommand === "string" && row.initialCommand ? row.initialCommand : undefined;
return <Terminal initialCwd={initialCwd} initialCommand={initialCommand} />;
}