How shaulaa/trackify-daily-tracker works
Trackify is a static personal productivity dashboard. Users enter through the web app, manage personal trackers and reflections, and review progress on the dashboard; data stays in browser storage when signed out and can sync through Firebase when signed in. The README documents the broader tracker set, backup/restore, and local reminders. Source excerpts confirm the main state/sync responsibilities and notification storage/sending; unsampled page wiring is not inferred.
Main entry points: script.js App state and actions · index.html Web app · notifications.js Reminder settings · send-notifications.js Scheduled push endpoint
Components 26
Dashboard and trackers
- Web app
index.html - App state and actions
js/script.js - Progress dashboard
js/script.js - Target tracker
js/script.js - Habit tracker
js/script.js - To-do tracker
js/script.js - Journal and reflection
js/script.js - Learning tracker
js/script.js - Emotion tracker
js/script.js - Social notes
js/script.js - Cycle tracker
js/script.js - Backup and restore
js/script.js
Identity and storage
- Browser data
- Auth and sync
js/firebase.js
Notifications and PWA
- Reminder settings
js/notifications.js - Browser notifications
- Install prompt
js/pwa.js - Offline service worker
sw.js - Push messaging worker
firebase-messaging-sw.js - Push client
js/fcm.js
External services
- Firestore
- Notification scheduler
- Scheduled push endpoint
api/send-notifications.js - Feedback endpoint
api/send-feedback.js - Telegram
Other components
- User
Connections 26
- User → Web app: opens
- Web app → App state and actions: loads
- App state and actions → Progress dashboard: renders
- App state and actions → Target tracker: manages
- App state and actions → Habit tracker: manages
- App state and actions → To-do tracker: manages
- App state and actions → Journal and reflection: manages
- App state and actions → Learning tracker: manages
- App state and actions → Emotion tracker: manages
- App state and actions → Social notes: manages
- App state and actions → Cycle tracker: manages
- App state and actions → Backup and restore: exports/restores
- App state and actions → Browser data: stores state
- App state and actions → Auth and sync: syncs with
- Auth and sync → Firestore: reads/writes
- App state and actions → Reminder settings: configures
- Reminder settings → Firestore: stores preferences
- Reminder settings → Browser notifications: shows reminders
- App state and actions → Install prompt: initializes
- Web app → Offline service worker: uses offline cache
- Push client → Firestore: stores tokens
- Notification scheduler → Scheduled push endpoint: invokes
- Scheduled push endpoint → Firestore: reads preferences/tokens
- Scheduled push endpoint → Push messaging worker: sends push
- User → Feedback endpoint: submits feedback
- Feedback endpoint → Telegram: forwards message