Skip to main content

Folder utama

platform-clean/
├── apps/
│   ├── web/          # Vite + React frontend
│   ├── api/          # Hono API, auth, DB, generation
│   ├── renderer/     # DOCX/PPTX + browser worker
│   └── docs/         # Dokumentasi Mintlify (folder ini)
├── scripts/          # deploy, thub CLI, bootstrap
├── deploy/           # nginx, pm2 configs (legacy infra)
├── .env              # Shared secrets (gitignored)
├── .env.example
├── thub              # CLI entry point
└── package.json      # Workspace root

Runtime production

Scripts deploy

ScriptTarget
scripts/deploy-prod.shCloudflare production (default)
scripts/deploy-hono.shLegacy VPS Hono
scripts/deploy-beta.shLegacy beta
Flow ./thub default hanya memanggil deploy-prod.

Workspace

Root package.json memakai Bun workspaces apps/*. Install sekali di root:
bun install

CI

./thub doctor --ci
Workflow utama: .github/workflows/ci.yml (lint, doctor, validate docs, tests). Deploy manual: .github/workflows/deploy-cloudflare.yml. Lihat juga: CI/CD GitHub Actions.