Standalone mobile app: Capacitor shells for iOS and Android
A second flavor of openGym (VITE_MOBILE=1) that runs entirely on the phone: no account, no server, no sync. State is mirrored into a file in the app's private storage (survives WebView storage eviction), the workout-day reminder is a native local notification scheduled on planned weekdays, and backups export through the OS share sheet. Exercise media loads from the same CDN as the demo build. npm run build:mobile, then Android Studio / Xcode — see docs/MOBILE.md. NOTICE.md gains an AGPL §7 app-store exception.
This commit is contained in:
1 parent
389315625c
commit
ee2be743b0
92 files changed
+3117
-29
No files matched your search
@@ -7,6 +7,7 @@ to keep it that way — easy to read, easy to self-host.
|
||||
|
||||
```
|
||||
frontend/ React + Vite app (src/views, src/components, src/store, src/lib). Builds to static files.
|
||||
android/ + ios/ are the Capacitor shells for the standalone mobile app (docs/MOBILE.md).
|
||||
api/ backend — server.js (Node, no framework), one dependency (@simplewebauthn/server).
|
||||
web/ multi-stage Dockerfile (builds frontend → nginx) + nginx.conf (serves app, proxies /api).
|
||||
media/ exercise img/gif (gitignored, fetched at runtime).
|
||||
|
||||
Reference in new issue
Block a user