The Field Hockey Event Tracker is a modern web application for coaches, analysts, and sports enthusiasts to record, analyze, and visualize game events in real-time. Built with HTML5, Tailwind CSS, and modern Vanilla JavaScript (ES6+), it offers a responsive interface for sports performance analysis without requiring a server connection.
- Real-time Event Recording: Capture timestamped events during live games with minimal friction
- Customizable Interface: Configure event buttons to match your team's specific tracking needs
- Multiple Analysis Views: Review events as lists, timelines, or aggregated statistics
- Video Synchronization: Link recorded events with video footage for in-depth analysis
- Data Portability: Export data in XML format for compatibility with other analysis tools
- Offline Functionality: Works without internet connection, storing data in browser local storage
- Timer Controls: Start, stop, and reset a game clock to track elapsed match time
- Event Logging: Record events with timestamps using customizable buttons
- Data Persistence: Automatically save games to prevent data loss
- History Access: Load previously recorded games from browser storage
The application is organized into four main interfaces:
The primary interface for recording live game events with:
- Game timer controls
- Customizable event buttons
- Quick action tools (undo, reset)
- Real-time feedback when events are recorded
For analyzing recorded events with video synchronization:
- Timeline view of all events
- Video player synchronized with event timestamps
- Navigation between significant game moments
Customize the application to match specific tracking needs:
- JSON editor for button configuration
- Save/load multiple layouts
- Preview changes before applying
Review and export recorded game data in various formats:
Timeline View:
- Visual representation of events along a time axis
- Video synchronization capabilities
XML View:
- Structured data export for integration with external tools
- Copy-to-clipboard functionality
Statistics View:
- Aggregate metrics and event distribution
- Quick insights into game patterns
# Clone the repository
git clone https://github.com/your-username/field-hockey-event-tracker.git
# Navigate to project directory
cd field-hockey-event-tracker
# Install dependencies
npm install# Start development server
npm start# Run tests
npm test
# Generate coverage report
npm run test:coverageAdditional documentation is available in the docs/ directory:
- Match Review - Video synchronization features
- Navigation - Router implementation and deep linking
- Saved Games - Game data storage architecture
- State Management - Application state design
- User Workflow - Current user experience
- Developer Guide - Contributing guidelines
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments:
- Developed for field hockey coaches and analysts
- Inspired by the needs of sports performance analysis
- Thanks to all contributors and testers for their valuable feedback




