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 { describe, expect, it } from "vitest";
import { redactText } from "./redact-text";
describe("complete authorization redaction", () => {
it.each(["Authorization: Basic cHJpdmF0ZTpwYXNz", '"Authorization": "Digest username=private, response=secret"', "AUTHORIZATION=Custom private credential"])("scrubs the full header %s", input => {
const output = redactText(input + "\nordinary source code");
expect(output).not.toMatch(/cHJpdmF0ZTpwYXNz|username=private|response=secret|private credential/);
expect(output).toContain("ordinary source code"); expect(redactText(output)).toBe(output);
});
});