How appleflash/gym-tracker works
СИЛОВОЙ ДНЕВНИК is an installable workout-tracking PWA. Its documented user workflow is to open it in Safari, add it to the iPhone Home Screen, then use locally stored data and export/import JSON backups. The service worker caches the app shell and serves the cached page when navigation fails. The AI proxy is shown as a separate integration: its endpoint calls Gemini, but the sampled files do not show the app calling the proxy. App internals are not sampled, so their relationships are based on the README.
Main entry points: index.html Workout PWA · sw.js Service worker · chat.js Chat proxy · manifest.webmanifest PWA manifest
Components 9
Workout app
- Workout PWA
index.html - Local workout data
index.html - JSON backup
index.html
Offline support
- PWA manifest
manifest.webmanifest - Service worker
sw.js - Browser cache
AI proxy
- Chat proxy
proxy/api/chat.js
Other components
- iPhone user
- Gemini API
Connections 8
- iPhone user → Workout PWA: opens
README.txt - Workout PWA → Local workout data: stores locally
README.txt - Workout PWA → JSON backup: exports and imports
README.txt - Workout PWA → PWA manifest: installs as
README.txt - Workout PWA → Service worker: uses offline cache
README.txt - Service worker → Browser cache: caches shell
sw.js - Service worker → Browser cache: serves cached page
sw.js - Chat proxy → Gemini API: requests content
proxy/api/chat.js