Skip to content

armgit / mso

Public Imported from GitHub
0

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.

588 B
Raw Blame
#!/usr/bin/env bash
# Owner-local domain settings remain available when the MSO web runtime is down.
run_domains() {
  [ -z "${BASE_OVERRIDE:-}${MSO_BASE:-}${OS_BASE:-}" ] \
    || die "domain commands configure THIS host; omit --base/MSO_BASE/OS_BASE and run on the intended MSO host"
  need bun
  local domain_env domain_local
  domain_env="$(realpath -m -- "$ENVF")"
  domain_local="$(gateway_local_url)"
  (cd "$ROOT" || exit; MSO_DOMAIN_ENV="$domain_env" MSO_DOMAIN_LOCAL_ORIGIN="$domain_local" \
    bun --no-env-file --conditions=react-server "$ROOT/scripts/mso-domain.ts" "$@")
}