Skip to content

About

Workout Timer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

247 Commits

Folders and files

Repository files navigation

CYCLE

A futuristic Progressive Web App (PWA) designed for high-intensity workout sessions with precision timing, professional workout plans, curated workout music library, and an immersive cyberpunk aesthetic. Features 180+ verified tracks across 8 moods and 10 genres, 12 built-in workout plans, custom plan builder, and smart repetition system.

โœจ Features

๐Ÿ‹๏ธ Workout Plans System

Three Workout Modes

  • ๐Ÿš€ Quick Start - Classic single-duration mode for simple workouts

    • Set duration, rest time, and repetitions
    • Perfect for beginners or quick sessions
  • ๐Ÿ“‹ Built-in Plans - 12 professionally designed workout programs

    • Beginner HIIT (15 min) - Perfect for getting started
    • Classic HIIT (20 min) - Standard interval training
    • Advanced HIIT (25 min) - High-intensity challenges
    • Tabata Protocol (16 min) - 20s work, 10s rest intervals
    • Boxing Rounds (25 min) - 3-minute rounds with 1-min rest
    • AMRAP 20 (25 min) - As Many Rounds As Possible
    • EMOM 15 (20 min) - Every Minute On the Minute
    • Circuit Training (30 min) - Multi-exercise circuits
    • Pyramid Power (25 min) - Progressive work intervals
    • Quick Burn (10 min) - Fast morning routine
    • Endurance Builder (35 min) - Stamina-focused training
    • MetCon Mix (30 min) - Metabolic conditioning
  • โœ๏ธ Custom Plans - Build your own workout programs

    • 2-step creation wizard with intuitive interface
    • Drag-and-drop segment reordering
    • 26 professional segment types across 6 categories
    • Real-time duration calculation
    • Save, edit, and delete custom plans
    • Visual segment cards with type badges

Smart Repetition System ๐Ÿง 

  • Intelligent Workout Structure: Warmup/cooldown run once, only workout segments repeat
  • Auto-Recovery Insertion: 30-second recovery automatically added between rounds
  • Time Efficient: Saves 10-20 minutes on typical 3-rep workouts
  • Round Tracking: Clear display of current round and total rounds
  • User Toggle: Enable/disable via checkbox in settings panel

Example Benefits:

  • Without Smart Rep (3 reps): (Warmup + Workout + Cooldown) ร— 3 = 60 minutes
  • With Smart Rep (3 reps): Warmup + (Workout ร— 3 with recovery) + Cooldown = 41 minutes

Segment Type System

26 Professional Segment Types organized in 6 categories:

PREPARATION (3 types):

  • Warmup - General body warmup
  • Movement Prep - Dynamic stretches
  • Activation - Muscle activation drills

WORK (5 types):

  • HIIT Work - High-intensity intervals
  • Tabata Work - 20s on, 10s off
  • VO2 Max - Maximum aerobic capacity
  • Threshold - Lactate threshold training
  • Tempo - Sustained moderate effort

REST (4 types):

  • Complete Rest - Full recovery
  • Active Recovery - Light movement
  • Transition - Movement between exercises
  • Round Recovery - Between round rest

ROUNDS (4 types):

  • Boxing Round - 3-minute fighting rounds
  • AMRAP Block - Max rounds in time
  • EMOM Round - Every minute on minute
  • Circuit Round - Exercise rotation

TRAINING SPECIFIC (4 types):

  • Strength Set - Heavy lifting sets
  • Power Work - Explosive movements
  • Endurance Work - Long-duration cardio
  • Skill Practice - Technique focus

COMPLETION (3 types):

  • Cooldown - Gradual heart rate reduction
  • Static Stretch - Flexibility work
  • Mobility Work - Joint mobility exercises

Core Timer Functions

  • โฑ๏ธ Customizable Work/Rest Cycles - Set workout duration (5s-1hr) and rest periods (0-300s)
  • ๐Ÿ” Multiple Repetitions - Track up to 99 consecutive workout sets with automatic progression
  • ๐Ÿง  Smart Repetition Mode - Warmup/cooldown run once, workout segments repeat efficiently
  • ๐Ÿ“Š Segment Timeline - Visual timeline showing upcoming segments with type badges
  • ๐ŸŽฏ Round Counter - Clear display of current round and total rounds during workouts
  • ๐Ÿ”Š Professional Workout Sounds - Boxing gym atmosphere with whistle, bell, and completion sounds
    • ๐ŸฅŠ Boxing Bell - Rings at the end of each round (just like a real boxing gym)
    • ๐ŸŽต Whistle Sound - Signals when rest period ends and it's time to work
    • ๐Ÿ”” Three Bells - Celebrates workout completion with triumphant bell sequence
    • โธ๏ธ Smart Timing - Timer pauses while transition sounds play for clear audio feedback
    • ๐ŸŽš๏ธ 80% Volume - Perfectly balanced for motivating feedback
  • ๐Ÿ”Š Countdown Alerts - Web Audio API beeps (3, 2, 1) before each transition
  • ๐Ÿ“ณ Haptic Feedback - Vibration patterns for mobile devices during alerts and completions
  • ๐ŸŽฏ Smart Volume Ducking - Music automatically reduces to 25% during final countdown alerts
  • ๐Ÿ’พ Auto-Save Settings - All preferences automatically persist on change
  • ๐Ÿ“ฑ Screen Wake Lock - Prevents screen auto-lock during active workouts (mobile)

Music Integration

Three Music Modes

  • ๐Ÿ”— Link Mode - Load any YouTube video by pasting URL or live search
  • ๐Ÿ˜„ Mood Mode - Choose from 8 curated workout moods:
    • Beast Mode โ€ข Intense โ€ข Energetic โ€ข Power โ€ข Aggressive โ€ข Pump Up โ€ข Focus โ€ข Motivated
  • ๐ŸŽธ Genre Mode - Select from 10 workout music genres:
    • EDM โ€ข Rock โ€ข Hip Hop โ€ข Metal โ€ข Trap โ€ข Dubstep โ€ข Hardstyle โ€ข Techno โ€ข Phonk โ€ข DnB

Live YouTube Search

  • ๐Ÿ” Smart Search Input - Type any song or artist name to search YouTube in real-time
  • ๐ŸŽฌ Video Results with Thumbnails - See actual videos (not just suggestions) with preview images
  • โฑ๏ธ Duration Display - Each result shows video length (MM:SS or HH:MM:SS format)
  • ๐ŸŽฏ Click to Play - Instantly load and play any video from search results
  • ๐Ÿ’– Inline Favorite Buttons - Add any search result directly to favorites
  • ๐Ÿ”— URL Detection - Paste a YouTube link โ†’ dropdown hides, loads video directly
  • ๐Ÿ”Ž Live Autocomplete - Type to search โ†’ dropdown shows 6 real video results with metadata
  • โŒจ๏ธ Keyboard Navigation - Arrow keys (โ†‘โ†“) to navigate, Enter to select
  • โšก Serverless Backend - Secure YouTube API integration via Netlify Functions (TypeScript)
  • ๐ŸŽต No Filters - Find songs (3-4 min) or long mixes (1+ hour) - complete flexibility

Curated Music Library

  • ๐Ÿ“š 180+ Verified Tracks - Curated collection of 30+ minute workout mixes
  • ๐ŸŽฏ Quality Filtered - All tracks have 10K+ views and verified playability
  • ๐Ÿ”„ Auto-Updating - Music library refreshes every 30 days for compliance
  • ๐ŸŽฒ Smart Fallback - Auto-loads alternative song if embedding is disabled (Error 150)
  • ๐Ÿ’– Favorite Any Song - Inline favorite buttons on ALL song lists
  • ๐ŸŒŸ Visual Highlights - Favorited songs stand out with pink gradient effects

Playback Features

  • ๐ŸŽต Fullscreen Background Video - YouTube videos as immersive 30% opacity backgrounds
  • ๐ŸŽ›๏ธ Music Controls Widget - Play/pause, progress bar with seeking, time display
  • ๐Ÿ“Š Song Information - Title, artist, duration in detailed tooltip
  • ๐Ÿ’– Primary Favorite Button - Quick favorite from music controls widget
  • ๐Ÿ”„ Seamless Playback - Music continues during rest periods, syncs with timer lifecycle
  • ๐ŸŽผ Music Selection UI - Beautiful grid with thumbnails, duration, and artist info

Media Library & Favorites

  • ๐Ÿ“š Music Library - Track all songs you've played with timestamps
  • ๐Ÿ† Most Played - View your top 20 most-played workout tracks
  • ๐Ÿ’– Favorite Songs - Save your favorite tracks for quick access across ALL music views
  • ๐Ÿ”€ Random Favorites - Randomly play from your favorited collection (Fisher-Yates shuffle)
  • ๐Ÿ“ค Export Favorites - Download favorites as JSON with metadata
  • ๐Ÿ“ฅ Import Favorites - Import and merge favorites from backup files
  • ๐ŸŽฏ Global Sync - All favorite buttons update across entire app in real-time
  • ๐Ÿ–ผ๏ธ Visual Library - Thumbnails, titles, play counts, durations with enhanced styling
  • ๐Ÿ”„ Quick Replay - Click any library item to instantly reload that song
  • โญ Favorite Highlighting - Favorited songs stand out with pink gradient effects everywhere
  • ๐Ÿท๏ธ Heart Badges - Visual indicators on favorited items throughout the app
  • ๐Ÿ”ข Badge Counter - Real-time count on Library button header

Dynamic Settings Panel

  • ๐ŸŽ›๏ธ Context-Aware Layout - Adapts to selected workout mode:
    • Quick Start: 2ร—2 grid (Duration, Alert Time, Repetitions, Rest Time)
    • Preset Plans: Plan card + Alert Time + Repetitions + Smart Repetition toggle
    • Custom Plans: Plan card + settings + Edit button for modifications
  • ๐Ÿง  Smart Repetition Toggle - Enable/disable with informational popover
  • ๐Ÿ’พ Auto-Save - All settings persist automatically on change
  • ๐ŸŽฏ Plan Selector Button - Easy access to change workout plans with visual arrow
  • ๐Ÿ‘๏ธ View Details - Inspect preset plan segments before starting

User Experience

  • ๐Ÿ‘† Touch Gestures - Double tap to start/pause, swipe down to reset (mobile)
  • โŒจ๏ธ Keyboard Shortcuts - Space to start/pause, R to reset (desktop)
  • ๐Ÿ’พ Settings Persistence - All preferences saved via localStorage
  • ๐Ÿ“ฑ Mobile-Optimized - Responsive design with touch-friendly controls
  • ๐Ÿ“ด Offline-First PWA - Installable app that works without internet after first visit
  • ๐Ÿ”” Smart Notifications - Visual feedback for actions, errors, and song loading
  • ๐Ÿ“ฒ Install Prompt - One-click PWA installation with native app experience
  • ๐Ÿ”„ Version Check System - Automatic client-server version comparison with force update
  • ๐Ÿ›ก๏ธ Smart Updates - Preserves user data (settings, history, favorites, plans) during cache clearing
  • โœจ Visual Update Overlay - Animated cyberpunk update screen with progress steps
  • ๐Ÿท๏ธ Dynamic Version Display - Real-time version info synced from package.json
  • ๐Ÿ“ฑ Screen Wake Lock - Keeps screen on during active workouts (mobile browsers)
  • ๐Ÿ“Š Privacy-Focused Analytics - Anonymous usage tracking with PostHog (opt-out available)

Visual Design

  • ๐ŸŽจ Cyberpunk Theme - Neon colors, animated grid, scanlines, floating orbs
  • ๐ŸŒˆ Animated Background - Tech grid pattern with neon orbs and scanlines
  • โœจ Dynamic Glow Effects - State-based color transitions (cyan/pink/purple)
  • ๐Ÿ”„ Smooth Animations - 60fps transitions with GPU-accelerated effects
  • ๐Ÿ“ Responsive Layout - Adapts from mobile to desktop seamlessly
  • โšก Custom Loader - Branded loading screen with smooth transitions
  • ๐Ÿ”„ Update Overlay - Animated version update screen with progress steps and checkmarks
  • ๐Ÿ“œ Custom Scrollbars - Beautiful gradient scrollbars matching app theme
  • โœ… Elegant Checkboxes - Bouncy animations with gradient effects

๐Ÿš€ Quick Start

Development

# Install dependencies
npm install

# Start development server
npm run dev

Open your browser to http://localhost:5173 to see the app in action.

Production Deployment

The app is configured for Netlify deployment:

# Build for production (disabled per user config)
# npm run build

# Deploy to Netlify
# Connected via Git - auto-deploys on push to main branch

๐Ÿ“– Usage Guide

Setting Up Your Workout

  1. Choose Your Workout Mode

    Option A: Quick Start (Classic Single Duration)

    • Click "Quick Start" in the plan selector
    • Configure Duration, Rest Time, Alert Time, Repetitions in 2ร—2 grid
    • Perfect for simple workouts or beginners

    Option B: Built-in Plans (12 Professional Programs)

    • Click "Built-in Plans" in the plan selector
    • Browse 12 preset workout programs with visual cards
    • Each shows duration, segments, and intensity
    • Click any plan to select and view settings

    Option C: Custom Plans (Build Your Own)

    • Click "My Plans" in the plan selector
    • Click "+ New Plan" to open the Plan Builder
    • Step 1: Add segments from 26 professional types
      • Choose category: Preparation, Work, Rest, Rounds, Training, Completion
      • Set duration for each segment
      • Drag to reorder segments
      • Delete unwanted segments
    • Step 2: Name your plan and add description
    • Click "Save Plan" to save for future workouts
    • Edit or delete plans anytime from My Plans view
  2. Configure Plan Settings (for Built-in & Custom Plans)

    • Alert Time: Countdown warning starts this many seconds before finish (default: 3)
    • Repetitions: Number of times to repeat the workout (default: 3)
    • Smart Repetition โญ: Toggle on/off
      • โœ… ON (Recommended): Warmup/cooldown run once, workout segments repeat with 30s recovery
      • โŒ OFF: Entire plan repeats including warmup/cooldown
      • Click info icon (โ„น๏ธ) for detailed explanation
  3. Choose Your Workout Music (Optional but recommended)

    Option A: Link Mode (Direct YouTube URL or Live Search)

    URL Paste:

    • Paste any YouTube URL (youtube.com/watch?v= or youtu.be/)
    • Click magnifying glass icon or press Enter
    • Video loads as fullscreen background with music controls widget

    Live Search:

    • Type any song name or artist (e.g., "golden", "eminem workout")
    • See real video results with thumbnails and duration
    • Use arrow keys (โ†‘โ†“) to navigate, Enter to select
    • Or click any video to play instantly
    • Click heart icon (๐Ÿ’–) to add to favorites
    • Dropdown shows 6 most relevant videos with channel names

    Option B: Mood Mode (Curated playlists by feeling)

    • Click the "Mood" button (smiley icon)
    • Select from 8 workout moods:
      • Beast Mode - Maximum intensity, dominating workouts
      • Intense - Hard-hitting, extreme training music
      • Energetic - High energy, upbeat motivation
      • Power - Strength and powerlifting focus
      • Aggressive - Raw, aggressive trap/hardstyle
      • Pump Up - Hype and motivational anthems
      • Focus - Instrumental, concentration-focused
      • Motivated - Inspirational speeches + music
    • Browse 10+ verified mixes per mood with thumbnails
    • Click any track to load instantly
    • Click heart icon (๐Ÿ’–) on any song to favorite

    Option C: Genre Mode (Curated by music style)

    • Click the "Genre" button (music notes icon)
    • Select from 10 workout genres:
      • EDM - Electronic dance music and cyberpunk vibes
      • Rock - Alternative and hard rock anthems
      • Hip Hop - Rap and hip hop workout bangers
      • Metal - Heavy metal and power metal
      • Trap - Aggressive trap and phonk
      • Dubstep - Heavy bass and drops
      • Hardstyle - Euphoric and raw hardstyle
      • Techno - Hard techno and industrial beats
      • Phonk - Drift phonk and Memphis rap
      • DnB - Drum and bass / neurofunk
    • Browse 10+ verified mixes per genre with thumbnails
    • Click any track to load instantly
    • Click heart icon (๐Ÿ’–) on any song to favorite

    Option D: Music Library (Your tracks & favorites)

    • Click the Library button (clock icon) in the header
    • Recent Tab: See your last 20 played songs with enhanced card styling
    • Most Played Tab: View your top 20 tracks with beautiful gradient effects
    • Favorites Tab: Access all your favorited songs in one place
    • Each song shows: thumbnail, title, play count, duration, and favorite button
    • Favorite Button: Click the heart icon to save/unsave any song
    • Favorited Songs: Highlighted with pink gradient backgrounds everywhere
    • Click any song to instantly replay it
    • Favorites Actions:
      • ๐Ÿ”€ Random - Play a random song from your favorites (Fisher-Yates shuffle)
      • ๐Ÿ“ค Export - Download your favorites as JSON backup
      • ๐Ÿ“ฅ Import - Import and merge favorites from backup
  4. Start Your Workout

    • Click START button (or press Space, or double-tap timer)
    • Settings panel hides, timer display appears
    • NEW TIMER and CLEAR ALL buttons appear
    • YouTube music starts playing automatically (if selected)
    • Timer counts down with cyan neon glow
    • Screen wake lock activates (mobile) - screen stays on

During Workout

Segment Timeline:

  • Visual timeline shows all upcoming segments
  • Current segment highlighted with type badge
  • Duration displayed for each segment
  • Round numbering when using repetitions (e.g., "Round 2/3")
  • Auto-inserted recovery segments marked

Work Period:

  • Timer displays in cyan (#00ffc8) with glow effects
  • Segment info shows current type (e.g., "HIIT Work - Round 2/3")
  • Music plays at normal volume

Alert Period (Final 3 seconds):

  • Timer glows pink (#ff0096) with pulsing animation
  • Music volume ducks to 25%
  • Countdown beeps at 3s, 2s, 1s (800Hz)
  • Vibration on mobile devices

Segment Complete:

  • Timer pauses at 0:00
  • ๐Ÿ”” Boxing bell rings (professional gym sound at 80% volume)
  • Vibration pattern
  • Bell finishes (timer waits), then next segment begins
  • Music continues at normal volume

Rest Period:

  • Timer displays "REST - Next: [Segment Name]"
  • Background tints cyan
  • Music continues at normal volume
  • Alert beeps at 3s, 2s, 1s

Rest Complete:

  • Timer pauses at 0:00
  • ๐ŸŽต Whistle blows (sharp, motivating sound at 80% volume)
  • Vibration pattern
  • Whistle finishes (timer waits), then work starts

Recovery Between Rounds (Smart Repetition only):

  • 30-second recovery automatically inserted
  • Displays "Round Recovery - Next: Round X/Y"
  • Same countdown alerts and whistle on completion

Workout Completion:

  • Timer pauses at 0:00
  • ๐Ÿ””๐Ÿ””๐Ÿ”” Three bells ring (triumphant sequence at 80% volume)
  • Triple vibration pattern
  • Bells finish (timer waits), timer stops
  • "โœ“ Complete!" message
  • Music stops, settings panel returns
  • Screen wake lock releases

Controls

Buttons:

  • START/PAUSE - Toggle timer (cyan gradient button, always visible)
  • NEW TIMER - Stop timer, return to home, keep music playing (pink gradient, visible only when timer active)
  • CLEAR ALL - Stop timer and music, clear everything, return to home (red gradient, visible only when timer active)

Button Visibility:

  • Home Page: Only START button visible
  • Timer Active: All three buttons (START/PAUSE, NEW TIMER, CLEAR ALL) visible

Keyboard Shortcuts:

  • Space - Start/Pause timer
  • R - Start new timer (keeps music playing)

Touch Gestures (Mobile):

  • Double tap timer display - Start/Pause
  • Swipe down on timer - Start new timer (with confirmation, keeps music playing)

Music Controls Widget:

  • Play/Pause button - Toggle music independently
  • Progress bar - Click to seek to specific time
  • Info button (โ„น๏ธ) - Show song details tooltip
  • Heart button (๐Ÿ’–) - Add/remove from favorites

Plan Selector:

  • View Details button - Inspect preset plan segments
  • Edit button - Modify custom plans in Plan Builder
  • Delete button - Remove custom plans (with confirmation)
  • Active plan highlighted with cyan gradient

Plan Builder:

  • Add Segment dropdown - Choose from 26 segment types
  • Drag handles - Reorder segments with drag-and-drop
  • Delete buttons - Remove unwanted segments
  • Duration inputs - Set time for each segment
  • Real-time total - See workout duration update

๐Ÿ› ๏ธ Technology Stack

Core Technologies

  • Vite 7.1.10 - Lightning-fast build tool and dev server
  • Vanilla JavaScript (ES6+) - No framework overhead, pure performance
  • Tailwind CSS v4 - Utility-first CSS framework with custom design tokens
  • HTML5 with EJS - Semantic markup with template partials
  • CSS3 - Custom properties, Grid, Flexbox, animations, custom scrollbars
  • Node.js 18+ - Backend automation for music library curation

PWA Technologies

  • vite-plugin-pwa 1.0.3 - Service worker generation and PWA manifest
  • Workbox 7.3.0 - Advanced caching strategies with auto-update
  • Web App Manifest - Installation metadata for all icon sizes

Development Tools

  • vite-plugin-ejs 1.7.0 - EJS templating for HTML partials
  • sharp 0.34.4 - Image optimization
  • @tailwindcss/vite 4.1.14 - Tailwind CSS v4 integration
  • Playwright 1.48.2 - E2E testing framework

Music Library System

  • YouTube Data API v3 - Automated music curation and verification
  • Smart Caching - 30-day refresh cycle with timestamp tracking
  • Quality Filters - 30+ min duration, 10K+ views, visible stats
  • 18 Categories - 8 moods + 10 genres with 10 tracks each
  • JSON Data Store - Fast, offline-first music metadata

Browser APIs

  • Web Audio API - Programmatic beep generation with frequency/duration control
  • HTML5 Audio API - Professional workout sound effects (MP3 playback with callbacks)
  • YouTube IFrame Player API - Full playback control, metadata access, error handling
  • YouTube Data API v3 - Music library curation, auto-updating, and live search (backend)
  • Vibration API - Haptic feedback patterns for mobile devices
  • Screen Wake Lock API - Prevents screen auto-lock during workouts
  • Popover API - Native tooltips and modal dialogs with JavaScript positioning fallback
  • localStorage - Settings persistence, history tracking, play counts, favorites, plans across sessions
  • Service Workers - Offline functionality, background updates, auto-update detection
  • Intersection Observer - Performance optimization for thumbnails (lazy loading)

Backend & Serverless

  • Netlify Functions - TypeScript serverless functions for secure API access
  • YouTube Search API - Real-time video search with thumbnails, duration, and metadata
  • Environment Variables - Secure API key storage in Netlify (YT_API_KEY)
  • Edge Functions - /api/youtube-search endpoint for client-side searches

Analytics & Monitoring

  • PostHog - Privacy-focused product analytics (anonymous, GDPR compliant)
  • Event Tracking - Timer, music, favorites, plans, app engagement
  • User Opt-Out - localStorage-based preference
  • Debug Mode - Performance monitoring and diagnostics

Fonts & Typography

  • Orbitron - Display font for timer and headers (Google Fonts)
  • Rajdhani - Body font for UI elements (Google Fonts)

๐ŸŽจ Design System

Color Palette (Cyberpunk Neon)

  • Primary (Cyan): #00ffc8 - Timer, borders, success states, segments
  • Accent (Hot Pink): #ff0096 - Alerts, music controls, CTA buttons
  • Secondary (Purple): #6464ff - Rep counter, progress bars, info, plan highlights
  • Background: #0a0a0a - Deep black base
  • Gradients: Multi-color (cyan โ†’ pink โ†’ purple) for headers and effects

Visual Effects

  • Animated tech grid pattern with 40px cells
  • Scanlines overlay (CRT monitor aesthetic)
  • 3 floating neon orbs (400-500px, blurred, animated)
  • Vignette darkening at edges
  • Glow and shadow on all text elements
  • Shimmer animations on timer display
  • Border glow pulses with gradient
  • Custom gradient scrollbars (6px wide, animated)
  • Bouncy checkbox animations with color shifts

Typography

  • Display (Orbitron): Timer value (80px), headers (36px)
  • Body (Rajdhani): Settings, labels, counters (14-18px)
  • Letter Spacing: 2-4px for cyberpunk aesthetic
  • Text Shadow: Neon glow effects on all text

Animations

  • 60fps GPU-accelerated transforms
  • Gradient flow on headers (4s infinite)
  • Grid movement (30s linear)
  • Floating orbs (20-30s ease-in-out)
  • Pulse glow on alerts (1s ease-in-out)
  • Button ripple effects on interaction
  • Update overlay animations (icon rotation, step slide-ins, checkmark pops)
  • Smooth scrollbar transitions with hover glows
  • Checkmark pop animation with bounce effect

๐Ÿ“ฑ Browser Compatibility

Fully Supported

  • โœ… Chrome/Edge (Chromium 90+)
  • โœ… Firefox 88+
  • โœ… Safari 14+ (iOS and macOS)
  • โœ… Samsung Internet 15+

Feature Support

  • PWA Installation: Requires HTTPS (auto on localhost)
  • Vibration API: Mobile devices only
  • Screen Wake Lock API: Chrome/Edge 84+, Safari 16.4+ (iOS)
  • Popover API: Chrome 114+, fallback positioning for others
  • Web Audio API: All modern browsers
  • YouTube IFrame API: All browsers with JavaScript enabled

โšก Performance Metrics

Target Benchmarks

  • Lighthouse PWA Score: 90+
  • Time to Interactive: <3s
  • First Contentful Paint: <1.5s
  • Total Bundle Size: <200KB (vanilla JS + modular architecture)
  • Animation Frame Rate: 60fps constant

Optimization Strategies

  • Lazy-loaded YouTube module (code splitting)
  • CSS animations on GPU (transform/opacity only)
  • Debounced progress updates (500ms interval)
  • Efficient DOM manipulation (minimal reflows)
  • Service worker caching (offline performance)
  • Modular architecture (57 ES6 modules)
  • Efficient audio memory management
  • Wake lock for uninterrupted sessions

๐Ÿ—๏ธ Architecture

Module Structure

src/
โ”œโ”€โ”€ js/                     # 57 JavaScript modules (~3,200 lines)
โ”‚   โ”œโ”€โ”€ core/               # Core infrastructure (8 modules)
โ”‚   โ”‚   โ”œโ”€โ”€ app-state.js        # Centralized state management
โ”‚   โ”‚   โ”œโ”€โ”€ event-bus.js        # Pub/sub event system
โ”‚   โ”‚   โ”œโ”€โ”€ events.js           # Event definitions
โ”‚   โ”‚   โ”œโ”€โ”€ gesture-handler.js  # Touch gesture factory
โ”‚   โ”‚   โ”œโ”€โ”€ notifications.js    # Toast notification system
โ”‚   โ”‚   โ”œโ”€โ”€ pwa-install.js      # PWA installation prompt
โ”‚   โ”‚   โ”œโ”€โ”€ analytics.js        # PostHog wrapper
โ”‚   โ”‚   โ””โ”€โ”€ analytics-tracker.js # Event tracking automation
โ”‚   โ”œโ”€โ”€ modules/            # Business logic modules
โ”‚   โ”‚   โ”œโ”€โ”€ timer.js            # Core timer + smart repetition (334 lines)
โ”‚   โ”‚   โ”œโ”€โ”€ plans/              # Workout plans system (4 submodules)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.js            # Public API
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ storage.js          # Plan CRUD operations
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ presets.js          # 12 built-in plans
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ segment-types.js    # 26 segment type definitions
โ”‚   โ”‚   โ”œโ”€โ”€ youtube/            # IFrame Player API (5 submodules)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ player.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ video-loader.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ playback-controls.js
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ui-controls.js
โ”‚   โ”‚   โ”œโ”€โ”€ favorites/          # Favorites storage (3 submodules)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ storage.js
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ shuffle.js          # Fisher-Yates shuffle
โ”‚   โ”‚   โ”œโ”€โ”€ favorites-ui/       # Favorites UI (6 submodules)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ actions.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ rendering.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ state.js
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ initialization.js
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ utils.js
โ”‚   โ”‚   โ”œโ”€โ”€ audio.js            # Web Audio + vibration + sounds
โ”‚   โ”‚   โ””โ”€โ”€ storage.js          # localStorage + history (207 lines)
โ”‚   โ”œโ”€โ”€ components/         # UI components
โ”‚   โ”‚   โ””โ”€โ”€ search-dropdown/    # YouTube search UI (6 submodules)
โ”‚   โ”‚       โ”œโ”€โ”€ index.js
โ”‚   โ”‚       โ”œโ”€โ”€ core.js
โ”‚   โ”‚       โ”œโ”€โ”€ events.js
โ”‚   โ”‚       โ”œโ”€โ”€ rendering.js
โ”‚   โ”‚       โ”œโ”€โ”€ navigation.js
โ”‚   โ”‚       โ””โ”€โ”€ utils.js
โ”‚   โ”œโ”€โ”€ ui/                 # UI controllers (7 modules)
โ”‚   โ”‚   โ”œโ”€โ”€ event-handlers.js   # Central event coordination
โ”‚   โ”‚   โ”œโ”€โ”€ library-ui.js       # Music library popover
โ”‚   โ”‚   โ”œโ”€โ”€ mode-toggle.js      # Mood/Genre selector
โ”‚   โ”‚   โ”œโ”€โ”€ tooltip-handler.js  # Music info tooltip
โ”‚   โ”‚   โ”œโ”€โ”€ plan-selector.js    # Plan selection interface
โ”‚   โ”‚   โ”œโ”€โ”€ plan-builder.js     # Plan creation wizard
โ”‚   โ”‚   โ””โ”€โ”€ settings-panel.js   # Dynamic settings coordination
โ”‚   โ”œโ”€โ”€ utils/              # Utilities (10 modules)
โ”‚   โ”‚   โ”œโ”€โ”€ dom.js
โ”‚   โ”‚   โ”œโ”€โ”€ time.js
โ”‚   โ”‚   โ”œโ”€โ”€ gestures.js
โ”‚   โ”‚   โ”œโ”€โ”€ youtube-search.js
โ”‚   โ”‚   โ”œโ”€โ”€ favorite-button.js
โ”‚   โ”‚   โ”œโ”€โ”€ wake-lock.js        # Screen wake lock manager
โ”‚   โ”‚   โ”œโ”€โ”€ version-check.js    # Version system (238 lines)
โ”‚   โ”‚   โ””โ”€โ”€ song_fetcher/       # YouTube API automation (5 submodules)
โ”‚   โ”‚       โ”œโ”€โ”€ index.js
โ”‚   โ”‚       โ”œโ”€โ”€ config.js
โ”‚   โ”‚       โ”œโ”€โ”€ youtube-api.js
โ”‚   โ”‚       โ”œโ”€โ”€ filters.js
โ”‚   โ”‚       โ””โ”€โ”€ cache.js
โ”‚   โ”œโ”€โ”€ data/
โ”‚   โ”‚   โ”œโ”€โ”€ music-library.js        # Music library API
โ”‚   โ”‚   โ”œโ”€โ”€ workout_music.json      # 180+ curated tracks
โ”‚   โ”‚   โ””โ”€โ”€ workout_music_cache.json # Cache timestamps
โ”‚   โ”œโ”€โ”€ app.js              # Main orchestrator + event handlers
โ”‚   โ””โ”€โ”€ main.js             # Entry point + PWA registration
โ”œโ”€โ”€ css/                    # 30+ CSS files (~4,000 lines)
โ”‚   โ”œโ”€โ”€ variables.css       # Design tokens (colors, spacing)
โ”‚   โ”œโ”€โ”€ global/             # Global styles (5 files)
โ”‚   โ”‚   โ”œโ”€โ”€ base.css
โ”‚   โ”‚   โ”œโ”€โ”€ background.css
โ”‚   โ”‚   โ”œโ”€โ”€ branding.css
โ”‚   โ”‚   โ”œโ”€โ”€ responsive.css
โ”‚   โ”‚   โ””โ”€โ”€ scrollbars.css      # Custom gradient scrollbars
โ”‚   โ”œโ”€โ”€ components/         # Component styles (25+ files)
โ”‚   โ”‚   โ”œโ”€โ”€ buttons.css
โ”‚   โ”‚   โ”œโ”€โ”€ timer.css
โ”‚   โ”‚   โ”œโ”€โ”€ music-controls.css
โ”‚   โ”‚   โ”œโ”€โ”€ plans.css           # Plan selector & builder styles
โ”‚   โ”‚   โ”œโ”€โ”€ settings.css        # Settings panel + checkboxes
โ”‚   โ”‚   โ”œโ”€โ”€ favorites/          # Favorites styling (2 files)
โ”‚   โ”‚   โ”œโ”€โ”€ library/            # Library styling (3 files)
โ”‚   โ”‚   โ”œโ”€โ”€ music-selection/    # Music selection (4 files)
โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ””โ”€โ”€ animations.css      # Keyframe animations
โ”œโ”€โ”€ partials/               # HTML template partials (15 files)
โ”‚   โ”œโ”€โ”€ features/           # Feature components (8 files)
โ”‚   โ”œโ”€โ”€ layout/             # Layout templates (3 files)
โ”‚   โ”œโ”€โ”€ meta/               # Head & meta tags (2 files)
โ”‚   โ””โ”€โ”€ popovers/           # Popover dialogs (5 files)
โ”œโ”€โ”€ scripts/
โ”‚   โ””โ”€โ”€ generate-version.js # Build-time version generation
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ sounds/             # Professional workout sound effects
โ”‚   โ”‚   โ”œโ”€โ”€ end_of_rest.mp3     # Whistle sound (rest complete)
โ”‚   โ”‚   โ”œโ”€โ”€ end_of_round.mp3    # Boxing bell (round complete)
โ”‚   โ”‚   โ””โ”€โ”€ workout_over.mp3    # Three bells (workout complete)
โ”‚   โ””โ”€โ”€ version.json        # Generated version metadata
โ”œโ”€โ”€ netlify/
โ”‚   โ””โ”€โ”€ functions/
โ”‚       โ””โ”€โ”€ youtube-search.mts  # TypeScript serverless function (174 lines)
โ””โ”€โ”€ index.html              # Main HTML entry point (35 lines with EJS)

State Management

  • Timer State: currentTime, currentRep, isRunning, isResting, currentSegment
  • Plan State: activePlanId, planType (simple/preset/custom), smartRepetition
  • YouTube State: player instance, isReady, currentVideoId, lazy-loaded
  • Audio State:
    • Web Audio API beeps: audioContext, vibrationEnabled, volumeDucking
    • Sound Effects: preloaded MP3s (whistle, bell, three bells), active clones tracking
    • Callback-based timing: timer waits for transition sounds to finish
    • Memory management: automatic cleanup of cloned audio elements
  • Settings State: Persisted in localStorage, auto-saved on change
  • Library State: Song play history, play counts, timestamps (localStorage)
  • Favorites State: Favorited songs with metadata (localStorage)
  • Plans State: Custom plans, active plan, usage stats (localStorage)
  • Music Library: 18 categories (8 moods + 10 genres) with metadata
  • Wake Lock: Screen wake lock status for mobile devices

Workout Plans System

The app includes a sophisticated workout plan system:

Preset Plans (/src/js/modules/plans/presets.js):

  • 12 professionally designed workout programs
  • Each includes: name, description, duration, segments array
  • Metadata: intensity level, category, focus areas
  • Easy duplication and modification

Segment Type System (/src/js/modules/plans/segment-types.js):

  • 26 segment types organized in 6 categories
  • Each type includes: name, description, category, intensity, sound cues
  • Supports custom durations per segment
  • Icons and colors for visual identification

Plan Storage (/src/js/modules/plans/storage.js):

  • Full CRUD operations for custom plans
  • Active plan tracking and persistence
  • Plan usage statistics and sorting
  • Export/import as JSON
  • Validation and error handling

Smart Repetition (/src/js/modules/timer.js):

  • Category-based segment filtering
  • Automatic recovery insertion (30s between rounds)
  • Round counter with display
  • Timer integration with segment progression
  • Works with all plan types

Music Library System

The app includes a sophisticated music curation system:

song_fetcher.js (Backend automation):

  • YouTube Data API v3 integration with quota management
  • Fetches 10 verified tracks per category (180+ total)
  • Filters: 30+ minute videos, 10K+ views, no live/upcoming
  • Auto-refresh every 30 days for policy compliance
  • Rate limiting: 250ms between requests, 9000 unit daily budget
  • Outputs: workout_music.json (clean) + workout_music_cache.json (timestamps)

music-library.js (Frontend API):

  • Imports curated JSON data
  • Provides functions: getMoodPlaylists(), getGenreSongs(), getRandomSong()
  • Handles duplicate detection across categories
  • Powers mood/genre selection UI

Error Handling:

  • Error 150 (embedding disabled) detection
  • Auto-loads random alternative track from library
  • User notifications for errors and recoveries

Version Check System

The app includes robust client-server version synchronization with visual feedback:

Build-Time Generation (scripts/generate-version.js):

  • Reads version from package.json (single source of truth)
  • Generates version.json with version, build time, build ID
  • Runs automatically before every dev/build command
  • Injected into client code via Vite define plugin

Dynamic Version Display:

  • Version number in HTML header auto-updates on app load
  • Reads from embedded __APP_VERSION__ constant
  • Single source of truth eliminates hardcoded versions
  • Always displays current version from package.json

Client-Side Checking (src/js/utils/version-check.js):

  • Fetches /version.json from server with cache-busting
  • Compares client version (injected at build) with server version
  • Checks every 5 minutes for active users
  • Initial check on app load

Visual Update Overlay: When version mismatch detected, displays animated cyberpunk overlay with:

  • Version Transition - Shows old version โ†’ new version (e.g., v1.0.4 โ†’ v1.0.5)
  • Animated Icon - Rotating, pulsing cyberpunk logo with color shifts
  • Progress Steps - 3 animated steps with checkmarks:
    1. โœ“ Clearing caches... (spins while active)
    2. โœ“ Preserving your data... (spins while active)
    3. โœ“ Loading new version... (spins while active)
  • Smooth Animations - Cyan/pink glows, slide-ins, checkmark pops
  • Professional UX - Users see exactly what's happening during update

Force Update Flow:

  1. Version mismatch detected
  2. Show visual update overlay with version numbers
  3. Step 1: Unregister service workers + clear caches (animated)
  4. Step 2: Preserve user data (cycleSettings, cycleHistory, cycleFavorites, cyclePlans) (animated)
  5. Step 3: Reload with cache-busting parameter (animated)
  6. Page reloads with new version (~3-4 seconds total)

Benefits:

  • โœ… Guarantees users run latest deployed version
  • โœ… Critical fixes reach users immediately
  • โœ… Prevents stale cache issues
  • โœ… User data survives updates (settings, history, favorites, plans)
  • โœ… Professional visual feedback during updates
  • โœ… Clear communication (shows old โ†’ new version)
  • โœ… Branded cyberpunk aesthetic maintained

๐Ÿš€ Why Vanilla JavaScript?

This project deliberately avoids frameworks for several advantages:

  1. Performance - Direct DOM manipulation, no virtual DOM overhead
  2. Bundle Size - Minimal overhead vs. 40KB+ for React alone
  3. Simplicity - Single-page app doesn't need complex state management
  4. Learning - Standard JavaScript, no framework-specific concepts
  5. Native APIs - Direct access to Web Audio, YouTube, Vibration, Wake Lock, Popover APIs
  6. Future-Proof - No framework versioning or breaking changes

Codebase Statistics

  • Total Lines: ~7,500+ lines of production code
  • JavaScript: ~3,200 lines across 57 ES6 modules
  • CSS: ~4,000 lines across 30+ files (Tailwind v4 + custom components)
  • HTML: ~380 lines (index.html + 15 EJS partials)
  • TypeScript: ~174 lines (Netlify serverless function)
  • Data: ~180 curated tracks with metadata
  • Dependencies: 4 production deps (Tailwind CSS v4, vite-plugin-pwa, workbox-window, sharp)

Key Modules by Size

  • timer.js - 334 lines (core timer + smart repetition logic)
  • version-check.js - 238 lines (version sync system)
  • storage.js - 207 lines (localStorage + history)
  • youtube-search.mts - 174 lines (serverless backend)

๐ŸŽฏ Project Status

โœ… Completed Features (v1.0.48)

Core Workout System:

  • Core timer with work/rest cycles
  • Workout Plans System - 12 built-in plans + custom plan builder
  • Smart Repetition - Warmup/cooldown once, workout segments repeat
  • 26 Segment Types - Across 6 professional categories
  • Plan Builder - 2-step wizard with drag-and-drop
  • Plan Selector - 3 modes (Quick Start, Built-in, Custom)
  • Dynamic Settings Panel - Context-aware layout switching
  • Segment Timeline - Visual upcoming segments display
  • Round Tracking - Clear display of current/total rounds

Audio & Sound:

  • Professional Workout Sounds - Boxing bell, whistle, and completion bells
  • Smart Audio Timing - Timer pauses during transition sounds for clear feedback
  • Countdown Beeps - Alert sounds at 3, 2, 1 before transitions
  • Memory-Optimized Audio - Efficient sound playback with automatic cleanup
  • Debug Mode - Performance monitoring and audio diagnostics (developer tools)

Music Integration:

  • YouTube background video integration
  • Music controls widget with seeking
  • Curated Music Library - 180+ tracks across 18 categories
  • Three Music Modes - Link, Mood (8), Genre (10)
  • Live YouTube Search - Real-time search with video thumbnails and duration
  • Smart Search Dropdown - 6 results with thumbnails, click to play instantly
  • Serverless Backend - Secure YouTube API via Netlify Functions (TypeScript)
  • URL Detection - Auto-detects URLs vs search terms

Favorites & Library:

  • Music Library System - Recent + Most Played + Favorites tabs
  • Favorite Songs - Save, manage, and highlight your favorite tracks
  • Inline Favorite Buttons - Add favorites from ALL music views
  • Global Sync - All favorite buttons update across app in real-time
  • Favorites Management - Random playback, export/import JSON
  • Fisher-Yates Shuffle - True random distribution
  • Enhanced Library Styling - Beautiful gradient effects matching music selection UI
  • Visual Highlights - Favorited songs with pink gradients everywhere
  • Badge Counter - Real-time count on Library button

Data Management:

  • Auto-Updating Library - 30-day refresh automation
  • Smart Error Recovery - Error 150 fallback with alternatives
  • Touch gestures for mobile (double tap, swipe down)
  • Vibration API for haptic feedback
  • Screen Wake Lock - Keeps screen on during workouts (mobile)

PWA & Installation:

  • PWA with service worker + install prompt
  • Offline functionality with caching
  • Auto-save settings on change
  • Loading states with branded loader

Visual Design:

  • Cyberpunk theme with animations
  • Smart volume ducking during alerts
  • Song info tooltip with popover
  • Keyboard shortcuts (Space, R)
  • Visual notifications system
  • Custom Scrollbars - Beautiful gradient scrollbars (6px, animated)
  • Elegant Checkboxes - Bouncy animations with gradient effects

Version Management:

  • Version Check System - Client-server comparison every 5 minutes
  • Force Update Capability - Clears cache while preserving user data
  • Build-time version injection - Single source of truth (package.json)
  • Visual Update Overlay - Animated cyberpunk update screen with progress
  • Dynamic Version Display - Auto-synced version number in HTML header

Infrastructure:

  • Netlify deployment configuration
  • Anchor positioning fallback for older browsers
  • PostHog Analytics - Privacy-focused anonymous tracking
  • Event Bus Architecture - Decoupled pub/sub communication
  • 57 ES6 Modules - Clean modular architecture

๐ŸŽจ UI/UX Enhancements (v1.0.25+)

  • Phosphor Icons - Modern icon system with consistent styling
  • Event Bus Architecture - Decoupled pub/sub communication pattern
  • Centralized App State - Framework-free state management
  • HTML Partials System - Modular EJS templates for maintainability
  • Mobile Font Accessibility - Enhanced font sizing for better readability
  • Genre Icon Hover Effects - Visual feedback improvements
  • Video Progress Bar Mobile Redesign - Touch-optimized seeking
  • Tailwind CSS v4 Migration - Modern utility-first styling system
  • Favorites System Enhancements - Visual highlights and gradient effects
  • Song Card Unification - Consistent styling across all music views
  • Custom Scrollbar Design - Gradient scrollbars matching app theme
  • Checkbox Group Redesign - One-line layout with bouncy animations

๐Ÿ—๏ธ Architecture Improvements (v1.0.20+)

  • Modular Refactoring - Split monolithic files into 57 focused modules
  • Test Infrastructure - Playwright E2E testing setup
  • Component Architecture - Separated core, modules, components, UI, utils
  • Submodule Organization - YouTube (5), Favorites (3+6), Search (6), Song Fetcher (5), Plans (4)

๐Ÿ”ฎ Future Enhancements

Phase 2 - Enhanced Plans:

  • Workout session history tracking with statistics (duration, sets, dates, plans used)
  • Plan analytics (most used, completion rate, favorite segments)
  • Export/import plans as JSON
  • Share plans with friends (QR codes or URLs)
  • Community plan library (browse and download)
  • Advanced plan templates (progressive overload, periodization)

Phase 3 - Music Features:

  • Custom alert sounds (upload MP3/WAV files)
  • Playlist creation from library favorites
  • Advanced search filters (duration range, channel, upload date)
  • Spotify integration as alternative to YouTube
  • Local music file support (MP3, WAV)
  • Music mood detection and auto-matching to workout intensity

Phase 4 - Advanced Features:

  • Push notifications for workout reminders
  • Background sync for workout logs
  • Social features (share workouts, challenges, leaderboards)
  • Fitness tracker integration (Apple Health, Google Fit, Garmin)
  • Voice commands (Web Speech API) - "Start workout", "Skip to rest"
  • Dark/Light theme toggle with multiple color schemes
  • Weekly workout statistics dashboard
  • Achievement system and progress tracking

Technical Improvements:

  • TypeScript migration for type safety
  • Comprehensive unit tests with Vitest
  • Enhanced E2E test coverage
  • CI/CD pipeline with GitHub Actions
  • Internationalization (i18n) for multiple languages
  • Web Components for better modularity
  • Accessibility audit (WCAG AA compliance)
  • Performance monitoring (Core Web Vitals)

๐Ÿ“š Documentation

  • docs/plan.md - Comprehensive implementation plan and architecture
  • docs/app_style.md - Complete design system documentation
  • docs/features/ - Individual feature documentation (30+ files)
  • docs/fixes/ - Bug fix and improvement logs (50+ files)
  • CLAUDE.md - Development guidance for AI assistants
  • netlify.toml - Deployment configuration

๐Ÿค Contributing

Contributions are welcome! Please:

  1. Read the documentation in docs/
  2. Follow the existing code style (ES6 modules, JSDoc comments)
  3. Test on multiple browsers before submitting
  4. Update documentation for new features
  5. Keep the cyberpunk aesthetic consistent
  6. Add tests for new features (Playwright E2E)

๐Ÿ“„ License

MIT License - See LICENSE file for details


Built with ๐Ÿ’œ using Vite + Vanilla JavaScript

Experience the future of workout timing with professional plans, immersive visuals, and a curated music library.

๐Ÿ”— Live Demo: https://workout-timer.esekpo.co.il

๐ŸŽฎ Key Features:

  • ๐Ÿ‹๏ธ 12 Built-in Workout Plans - Professional programs from beginner to advanced
  • โœ๏ธ Custom Plan Builder - Create plans with 26 segment types across 6 categories
  • ๐Ÿง  Smart Repetition - Warmup/cooldown once, workout repeats efficiently
  • ๐Ÿ” Live YouTube Search - Find any song or mix instantly with real-time search
  • ๐ŸŽต 180+ Curated Tracks across 8 moods & 10 genres
  • ๐Ÿ’– Favorite Songs - Save and play random favorites from your collection everywhere
  • โฑ๏ธ Precision Timer with work/rest cycles and segment timeline
  • ๐ŸฅŠ Professional Sounds - Boxing bell, whistle, and completion sounds for authentic gym experience
  • ๐Ÿ“š Music Library - Beautiful visual library tracking your workout music with favorites
  • ๐ŸŽจ Cyberpunk Theme with neon gradient animations and custom scrollbars
  • ๐Ÿ“ฑ PWA - Install and use offline with screen wake lock
  • ๐Ÿ”„ Auto-Updating music library every 30 days
  • โšก Serverless Backend - Secure API integration via Netlify TypeScript Functions
  • ๐Ÿ“Š Privacy-Focused Analytics - Anonymous PostHog tracking with opt-out

About

Workout Timer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages