A beautiful and interactive fantasy cricket leaderboard tracker for IPL 2026. Track your Dream11 performance, compete with friends, and climb the ranks with gamification features including levels, XP, badges, and achievements.
- Weighted scoring algorithm: 50% average points + 30% average rank + 20% consistency
- Real-time leaderboard with animated position changes
- Podium visualization for top 3 players
- XP System: Earn/lose XP based on match performance
- Levels: Progress from "Useless" to "GAME MASTER"
- Badges: Unlock achievements like "Champion", "Podium King", "Consistency Ace"
- Streaks: Track win streaks and podium streaks
- Celebrations: Confetti animations for level-ups and achievements
- Performance metrics: Average points, ranks, win rates, consistency scores
- Heatmaps: Visual representation of match-by-match performance
- Charts: Powered by Chart.js for detailed analytics
- Rival tracking: See who's closest in the rankings
- Pre-loaded IPL 2026 schedule with all 74 matches
- Custom matches: Add additional tournaments or friend matches
- Venue information and match status tracking
- Easy player addition/removal
- Entry tracking per match with ranks and points
- Bulk operations for efficient data management
- A modern web browser (Chrome, Firefox, Safari, Edge)
- Internet connection for Supabase backend
-
Clone the repository
git clone https://github.com/yourusername/dream11-tracker.git cd dream11-tracker -
Open in browser
- Simply open
d11.htmlin your web browser - No build process required!
- Simply open
If you want to host your own data:
-
Create a Supabase project at supabase.com
-
Create the following tables:
-- Players table CREATE TABLE players ( id SERIAL PRIMARY KEY, name TEXT NOT NULL, created_at TIMESTAMP DEFAULT NOW() ); -- Custom matches table CREATE TABLE custom_matches ( id SERIAL PRIMARY KEY, teams TEXT NOT NULL, match_date TEXT NOT NULL, venue TEXT NOT NULL, created_at TIMESTAMP DEFAULT NOW() ); -- Entries table CREATE TABLE entries ( id SERIAL PRIMARY KEY, match_id INTEGER NOT NULL, player_name TEXT NOT NULL, rank INTEGER, points DECIMAL, created_at TIMESTAMP DEFAULT NOW(), UNIQUE(match_id, player_name) );
-
Update the configuration in
d11.html:const SUPABASE_URL = 'your-supabase-url'; const SUPABASE_ANON_KEY = 'your-supabase-anon-key';
- Navigate to the Players tab
- Click "Add Player"
- Enter player names and save
- Go to the Matches tab
- Click on any match
- Enter ranks and points for each player
- Data saves automatically to Supabase
- Leaderboard tab shows unified rankings
- Analytics tab provides detailed performance insights
- Rankings update in real-time with smooth animations
- Frontend: Vanilla JavaScript (ES6+), HTML5, CSS3
- Backend: Supabase (PostgreSQL)
- Animations: GSAP (GreenSock Animation Platform)
- Charts: Chart.js
- Celebrations: Canvas Confetti
- Fonts: Google Fonts (Outfit, JetBrains Mono)
- Icons: Unicode emojis and custom CSS
- Mobile-first approach with responsive breakpoints
- Touch-friendly interface for mobile devices
- Optimized for tablets and desktops
- Dark theme with beautiful gradients and glassmorphism effects
- Glassmorphism design with backdrop blur effects
- Smooth animations and micro-interactions
- Color-coded rankings (Gold, Silver, Bronze for top 3)
- Loading states and error handling
- Accessible with proper ARIA labels
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
- IPL 2026 schedule data
- Supabase for the amazing backend-as-a-service
- Chart.js for beautiful data visualizations
- GSAP for smooth animations
- Canvas Confetti for celebration effects
Made with ❤️ for cricket fans and fantasy enthusiasts
Track your Dream11 journey and may the best fantasy team win! 🏏✨