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 { redirect } from "next/navigation";
import { ServerLoginPage } from "@/features/auth/panels";
import { getSessionContext } from "@/lib/auth/require-session";
import { safeReturnPath } from "@/lib/auth/return-path";
import { IS_DEMO } from "@/lib/demo";
export default async function LoginPage({ searchParams }: {
searchParams: Promise<{ returnTo?: string | string[] }>;
}) {
if (IS_DEMO) redirect("/");
const returnTo = safeReturnPath((await searchParams).returnTo);
if (await getSessionContext()) redirect(returnTo);
return <ServerLoginPage returnTo={returnTo} />;
}