MCPcopy Index your code
hub / github.com/darkroomengineering/satus

github.com/darkroomengineering/satus @v2.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.1 ↗ · + Follow
624 symbols 1,487 edges 248 files 18 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SATUS

Satūs

A modern Next.js 16 starter with React 19, Tailwind CSS v4, and optional WebGL. Satūs means "beginning" in Latin.

Ask DeepWiki

Note: This README is for template developers. For client handoff, see PROD-README.md.

Requirements

Tool Version Notes
Node.js >= 22.0.0 Required for native fetch and modern APIs
Bun >= 1.3.5 Package manager & runtime

Quick Start

bun install
bun run setup:project    # Interactive setup - choose integrations
cp .env.example .env.local
bun dev

Or skip setup and keep everything: bun install && bun dev

Tech Stack

Category Technologies
Framework Next.js 16, React 19.2, TypeScript
Styling Tailwind CSS v4, CSS Modules
Optional React Three Fiber, GSAP, Sanity, Shopify, HubSpot
Tooling Bun, Biome, Turbopack

Project Structure

app/                    # Next.js pages and routes
components/             # UI components
lib/                    # Everything non-UI
  ├── hooks/           # Custom React hooks
  ├── integrations/    # Third-party services
  ├── styles/          # CSS & Tailwind
  ├── webgl/           # 3D graphics (optional)
  └── dev/             # Debug tools (optional)

Mental model: UI → components/, everything else → lib/

Documentation

Area Documentation
Architecture ARCHITECTURE.md — Key decisions & patterns
Customization BOUNDARIES.md — What to modify vs what's framework
Components COMPONENTS.md — Complete component/hook/utility inventory
Patterns PATTERNS.md — Recurring code patterns guide
AI Agents CLAUDE.md — Agent-readable project configuration
App Router app/README.md — Pages, layouts, routing
Components components/README.md — UI reference
Library lib/README.md — Hooks, utils, integrations
Integrations lib/integrations/README.md — Sanity, Shopify, etc.

Scripts

bun dev              # Development server
bun build            # Production build
bun lint             # Biome linter
bun run generate     # Generate pages/components
bun run setup:project  # Configure integrations
bun run handoff      # Prepare for client delivery

Client Handoff

Prepare the codebase for client delivery:

bun run handoff

This interactive script: - Removes example pages and Satūs branding - Swaps README with production version - Generates component inventory - Updates package.json with project name

Key Conventions

  • Images: Use @/components/ui/image (never next/image directly)
  • Links: Use @/components/ui/link (auto-handles external links)
  • CSS Modules: Import as simport s from './component.module.css'
  • Debug Tools: Toggle with Cmd/Ctrl + O

Deployment

vercel

Required GitHub Secret: VERCEL_TOKEN for Lighthouse CI workflow.

See ARCHITECTURE.md for deployment checklist and cache strategies.

License

MIT — Built by darkroom.engineering

Extension points exported contracts — how you extend this code

WrapperProps (Interface)
* Props for the Wrapper component.
components/layout/wrapper/index.tsx
GenerateMetadataOptions (Interface)
* Metadata Generation Utilities * * Helpers to generate consistent metadata across pages, * reducing duplication and
lib/utils/metadata.ts
WebGLTransform (Interface)
* Represents the computed transform for positioning a WebGL mesh * to match a DOM element's bounding rectangle. * * @
lib/webgl/hooks/use-webgl-rect.ts
SplitTextProps (Interface)
(no doc)
components/effects/split-text/index.tsx
NotConfiguredProps (Interface)
(no doc)
components/ui/not-configured/index.tsx
Check (Interface)
(no doc)
lib/scripts/doctor.ts
IntegrationEntry (Interface)
(no doc)
lib/integrations/registry.ts
NetworkInformation (Interface)
(no doc)
lib/hooks/use-prefetch.ts

Core symbols most depended-on inside this repo

map
called by 64
components/effects/liquid-drip/material.ts
rateLimit
called by 37
lib/utils/rate-limit.ts
clamp
called by 21
lib/utils/math.ts
resolvePath
called by 18
lib/scripts/utils.ts
validate
called by 17
components/ui/form/hook.ts
mapRange
called by 14
lib/utils/math.ts
formatObject
called by 14
lib/styles/scripts/utils.ts
ease
called by 13
lib/utils/animation.ts

Shape

Function 458
Interface 115
Method 39
Class 12

Languages

TypeScript100%

Modules by API surface

lib/webgl/utils/fluid/fluid-sim.ts22 symbols
lib/integrations/shopify/types.ts21 symbols
lib/integrations/shopify/cart/modal/index.tsx16 symbols
lib/hooks/use-sync-external.ts16 symbols
components/effects/liquid-drip/material.ts16 symbols
components/effects/animated-gradient/material.ts14 symbols
lib/scripts/prepare-handoff.ts12 symbols
components/ui/form/types.ts12 symbols
lib/scripts/ast-transforms.ts11 symbols
components/ui/real-viewport/index.tsx11 symbols
lib/utils/math.ts10 symbols
lib/scripts/integration-bundles.ts10 symbols

For agents

$ claude mcp add satus \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact