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
export type OAuthLocation = Pick<Location, "replace">;
/** Force the OAuth callback into the visible top-level browsing context. */
export function followOAuthRedirect(raw: string, location: OAuthLocation = window.location): void {
const url = new URL(raw);
const loopback = url.hostname === "localhost" || url.hostname === "127.0.0.1" || url.hostname === "[::1]";
if (url.protocol !== "https:" && !(url.protocol === "http:" && loopback)) {
throw new Error("OAuth redirect must use https or a loopback http address");
}
location.replace(url.toString());
}