Skip to main content

System Architecture

Zeq OS Hub is a self-hosted platform where all services run behind a single nginx reverse proxy. Everything is accessible from one domain — no port numbers, no scattered services.

Architecture Layers

┌───────────────────────────────────────────────────────────┐
│ NGINX REVERSE PROXY │
│ Single domain · SSL · Rate limiting │
├──────────┬──────────┬──────────┬──────────┬──────────────┤
│ DOCS │ AI │ COLLAB │ APPS │ SERVICES │
│ / │ /chat/ │ /git/ │ /apps/* │ /api/ │
│ /docs/* │ │ /forum/ │ │ /ws │
│ /blog │ │ /search │ │ /sync/ │
├──────────┴──────────┴──────────┴──────────┴──────────────┤
│ SDK LAYER (MIDDLEWARE) │
│ Python · JavaScript · Rust · Go · C++ · WASM │
│ HulyaSync · ZeqProcessor · OperatorRegistry │
├───────────────────────────────────────────────────────────┤
│ OPERATOR REGISTRY │
│ 1,576 operators · 64 categories · v6.3.0 │
│ operator-registry.json (shared source of truth) │
├───────────────────────────────────────────────────────────┤
│ DATA LAYER │
│ MongoDB · Redis · PostgreSQL │
└───────────────────────────────────────────────────────────┘

Service Map

All services are accessible through the nginx reverse proxy under a single domain. In production, replace localhost with your domain.

Documentation & Site

RouteServiceTechnologyPurpose
/DocusaurusReact SSGMain website, SDK docs, operator reference, blog
/docs/*DocusaurusMarkdownSDK guides, framework docs, tutorials
/blogDocusaurusMarkdownRelease notes, research updates

AI & Intelligence

RouteServiceTechnologyPurpose
/chat/Zeq MINode.jsMulti-model AI chat with Zeq OS MCP tools
/apps/zeq-chat/Zeq ChatStatic HTMLLightweight chat synchronized to 1.287 Hz

Developer Services

RouteServiceTechnologyPurpose
/api/API GatewayExpress.jsREST API — operator execution, auth, rate limiting
/api-docsSwagger UIOpenAPIInteractive API documentation
/wsSync EngineWebSocketReal-time HulyaPulse broadcast at 1.287 Hz
/sync/Sync EngineExpress.jsSync HTTP endpoints
/git/Zeq GitGoPrivate Git hosting with CI/CD
/search/Zeq SearchPythonPrivacy-respecting metasearch (70+ engines)

Physics & Math

RouteServiceTechnologyPurpose
/services/wizard/7-Step WizardPython/FastAPIInteractive wizard API with Swagger docs
/services/forensic/HF Forensic SuitePython/Flask20 forensic scoring functions
/apps/physics-wizard/Physics Wizard GameStatic HTML100 interactive physics challenges

Security & Encryption

RouteServiceTechnologyPurpose
/apps/hite/HITE EncryptionStatic HTMLAES-256-GCM with temporal entanglement
/apps/tesc/TESC ChatStatic HTMLPhysics-locked messaging (0.777s PLATs)
/apps/dashboard/ZeqBoardStatic HTMLReal-time monitoring, Shannon entropy

Infrastructure

RouteServiceTechnologyPurpose
/services/daemon/Zeqond DaemonPythonHulyaPulse clock, Unix/Zeqond bridge
/services/sandbox/Code SandboxNode.jsSandboxed code execution (MCP)
/forum/DiscourseRuby/RailsCommunity forum with Zeq Git SSO

SDKs

Zeq OS is a middleware framework. The SDKs are the primary way developers interact with the operator registry and computation engine. All SDKs share the same operator-registry.json as their source of truth.

SDKLanguageInstallKey Feature
PythonPython 3.9+pip install zeq-osReference implementation, NumPy integration
JavaScriptNode 18+npm install @zeq-os/sdkBrowser + Node.js, ES modules
TypeScriptTypeScript 5.3+npm install @zeq-os/sdk-typesFull type definitions for JS SDK
RustRust 2021cargo add zeq-osHigh-performance, compiles to WASM
GoGo 1.21+go get github.com/hulyasmath/zeq-os/sdk/goMicroservices, concurrent processing
C++C++17Header-only (clone and include)Real-time systems, embedded
WebAssemblyRust→WASMwasm-pack buildBrowser-native, client-side physics

Forked Open-Source Projects

The hub includes full forks of open-source projects, integrated into the Zeq OS ecosystem:

ProjectPurposeLocation
Zeq GitPrivate Git hostinginfra/gitea/gitea-main/
DiscourseCommunity foruminfra/discourse/discourse-main/
DocusaurusDocumentation platformdocs/
Zeq MIAI chat interfaceapps/mi-chat-ai/
DocsGPTAI documentation assistantinfra/docsgpt/DocsGPT-main/
Zeq SearchMetasearch engineinfra/searxng/

Docker Deployment

All services run as Docker containers orchestrated via Docker Compose. nginx sits in front as the single entry point.

nginx:80 ─┬→ Docusaurus (static build)
├→ API Gateway (Express.js)
├→ Sync Engine (WebSocket)
├→ Zeq MI (Node.js)
├→ Zeq Git (Go)
├→ 7-Step Wizard (FastAPI)
├→ Forensic Suite (Flask)
├→ Zeqond Daemon (Python)
├→ Zeq Search (Python)
├→ Code Sandbox (Node.js)
└→ Static HTML Apps (served by nginx)

See the Deployment Guide for setup instructions.