Developer Documentation

xSite Architecture & User Manual

From zero to launching an isolated tenant cluster in 5 minutes, to deep architectural comprehension of multi-port routing and automation APIs.

1. Quickstart Guide

Learn how to create a tenant in the Hub console, bind domains, and launch your first content site.

  • Create tenant & initialize isolated SQLite DB
  • Configure Caddyfile wildcard subdomains
  • Assign administrator roles and security tokens

2. Physical Isolation Architecture

Deep dive into why xSite utilizes discrete SQLite database files per tenant instead of traditional shared-table MySQL.

  • Tenant isolation model & disk path resolution
  • WAL mode and high-concurrency tuning
  • Zero-leak data perimeter security compliance

3. AI & Automation APIs

How browser extensions and headless workers communicate with the platform for high-throughput automated generation.

  • /api/account token distribution
  • Dynamic JS automation script specifications
  • Production heartbeat & status logging APIs