How streetoh/player_stats works
PlayerStats is a football team-management and player-statistics product, with coach and player portals plus an independent tracker. The apparent workflow is recording team activity and session statistics, then reviewing player performance and coordinating through features such as chat and convocations. The tree also shows local/cloud data modules, skill calculations, and Android packaging of the web app. The README is empty and most web entry points were not excerpted, so relationships among those subsystems are left unasserted; shown links are limited to explicit references in the available excerpts.
Main entry points: sw_tracker.js Tracker offline cache · BackgroundNotificationService.java Background notifications · cloud.js Cloud data · chat.js Live chat
Components 23
Web portals
- Coach portal
index.html - Player portal
jugadores.html - Independent tracker
tracker.html - Convocations
convocatoria.html - App runtime
js/app.js - Player runtime
js/player-app.js - Tracker offline cache
sw_tracker.js
Data and analytics
- Local state
js/store.js - Cloud data
js/cloud.js - Synchronization
js/sync.js - Data import/export
js/io.js - Skill ratings
js/skills-engine.js - Player cards
js/fut-card.js - Firebase compat
js/firebase-app-compat.js - Firestore compat
js/firebase-firestore-compat.js
Team collaboration
- Live chat
js/chat.js - Localization
js/i18n.js - Icon library
js/icons.js
Android app
- WebView host
android-build/src/com/jknoova/playerstats/MainActivity.java - Background notifications
android-build/src/com/jknoova/playerstats/BackgroundNotificationService.java - Boot receiver
android-build/src/com/jknoova/playerstats/BootReceiver.java
Other components
- Coach
- Player
Connections 7
- Live chat → Cloud data: creates chats
js/chat.js - Boot receiver → Background notifications: starts service
android-build/src/com/jknoova/playerstats/BootReceiver.java - Background notifications → WebView host: opens app
android-build/src/com/jknoova/playerstats/BackgroundNotificationService.java - Tracker offline cache → Independent tracker: caches page
sw_tracker.js - Tracker offline cache → Firebase compat: caches script
sw_tracker.js - Tracker offline cache → Firestore compat: caches script
sw_tracker.js - Tracker offline cache → Cloud data: caches script
sw_tracker.js