Skip to Content
Main SiteOverview
--- title: Main Website sidebarTitle: MarsuvesVex.xyz asIndexPage: true ---

Main Site

The Main Site is the primary user-facing application and routing shell.

It is responsible for:

  • Authentication entry and session hydration
  • Layouts (stream, bigscreen, embeds)
  • Cross-system navigation
  • OAuth handoff and redirects

Responsibilities

  • Owns the user session lifecycle
  • Hosts chat embeds and stream pages
  • Provides authenticated context to child systems

Out of Scope

  • Real-time chat logic
  • Message persistence
  • Socket lifecycle

These are delegated to the Chat systems.

Tech Stack

  • Next.js (App Router)
  • BetterAuth
  • Server Components
  • Edge middleware

Key Pages

  • / – Landing
  • /stream
  • /bigscreen
  • /auth/*
  • → Architecture
  • → Auth Model
  • → Deployment
Last updated on