mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
be003432895a5cda7f51ba345bcd43e01589fc48
- Add iOS Safari install prompt with step-by-step modal guide - Fix Telegram environment detection (check initData, not just SDK presence) - Fix install prompt re-entrancy issue (clear deferredPrompt immediately) - Extract icon components to separate file (web/src/components/icons.tsx) - Rename "Happy App" to "Hapi" throughout the UI and manifests - Change button/icon colors from blue (--app-button) to neutral theme (--app-fg/--app-bg) - Add install dismiss state to prevent repeated prompts - Improve iOS Safari detection with robust user agent parsing
hapi
Monorepo with three Bun workspace packages:
cli/(hapi): CLI (npm package) 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
Languages
TypeScript
99.5%
CSS
0.2%
JavaScript
0.2%
HTML
0.1%