π§ Architecture Overview
This document is the high-level map of how The Human Pattern Lab fits together β structurally, not emotionally. (That would be a different, much longer doc.)
Core Piecesβ
-
Main Site
The public-facing React/Vite application that lives athttps://thehumanpatternlab.com.
It handles:- Landing pages
- Mascot & Lab Team presentation
- Links into the docs and external content
-
Docs Site
A Docusaurus instance living underhttps://thehumanpatternlab.com/docs/.
It contains:- Reference documentation
- Lore & internal systems
- Blog-style updates and essays
-
Hosting
Both are currently deployed as static builds to DreamHost.
Data Flow (Conceptual)β
- Content & Lore β written in Markdown/MDX (docs, blog, lore pages).
- Components & Layouts β React components rendering that content with Lab theming.
- Build Step β Vite or Docusaurus compiles everything into static assets.
- Deployment β Built assets are uploaded to DreamHost.
- Humans & Gremlins β hit the site, click around, and generate new questions.
Future Architecture Goalsβ
- Automated deploys via GitHub Actions (
git pushβ site updates). - Shared design tokens between main site and docs.
- Search that spans both:
- documentation (systems, design, processes)
- lore (mascots, Lab history, concepts)
- Clear boundaries between:
- Content (Markdown / copy)
- Presentation (components / CSS)
- Logic (utilities, data fetching, integrations)
As the Lab grows, this page becomes the place where we document new subsystems, services, and integrations. cture doc goes here)