mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
cf049373553be4a679bf7f4b4cb9df4812b5311e
Split embedded assets loading into runtime-specific variants using package.json imports field. Bun-compiled binaries use the full implementation with file assets, while stub fallback provides clear error for non-Bun runtimes.
hapi
Monorepo with three Bun workspace packages:
cli/(hapi): CLI (single executable) exposinghapi/hapi mcpserver/(hapi-server): backend API + Telegram bot server, servesweb/dist/web/(hapi-web): web frontend (Vite) building toweb/dist/
Commands
Run from the repo root:
bun install
bun run typecheck
bun run build
bun run build:cli:exe
bun run build:cli:exe -- --target bun-darwin-x64
Languages
TypeScript
99.5%
CSS
0.2%
JavaScript
0.2%
HTML
0.1%