{"id":21684745,"url":"https://github.com/codecaine-zz/workout_interval_timer","last_synced_at":"2026-05-04T16:34:45.355Z","repository":{"id":145417921,"uuid":"617638866","full_name":"codecaine-zz/workout_interval_timer","owner":"codecaine-zz","description":"A workout interval timer using python as the backend with pywebview as the frontend using html, css, and javascript","archived":false,"fork":false,"pushed_at":"2024-07-31T23:37:45.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T12:07:14.538Z","etag":null,"topics":["bootstrap5","exercises","fitness","fitness-app","fitness-tracker","interval","intervals","javascript","python","timer","workout"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecaine-zz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-22T19:56:55.000Z","updated_at":"2024-07-31T23:41:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddd90c83-ee52-4f0e-9f79-1a7f7a9a3f88","html_url":"https://github.com/codecaine-zz/workout_interval_timer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fworkout_interval_timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fworkout_interval_timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fworkout_interval_timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fworkout_interval_timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecaine-zz","download_url":"https://codeload.github.com/codecaine-zz/workout_interval_timer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244603027,"owners_count":20479748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap5","exercises","fitness","fitness-app","fitness-tracker","interval","intervals","javascript","python","timer","workout"],"created_at":"2024-11-25T16:16:58.220Z","updated_at":"2026-05-04T16:34:40.327Z","avatar_url":"https://github.com/codecaine-zz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workout Interval Timer Application\n\n## Overview\n\nThe Workout Interval Timer is a web-based application wrapped in a desktop interface using Python and pywebview. It helps users manage their workouts by providing a customizable timer for exercises, sets, and rest periods.\n\n## Features\n\n- **Add Custom Workouts**: Specify exercise name, reps, sets, interval, and rest time.\n- **Workout List Management**: View added workouts and clear the list as needed.\n- **Interactive Timer**: Start, pause, and resume your workout session.\n- **Progress Tracking**: Displays current exercise, set, and workout state (exercise or rest).\n- **Completion Alerts**: Visual and auditory notifications when workouts are completed.\n- **Text-to-Speech**: Voice announcements for transitions between exercises and rest periods.\n- **Responsive Design**: Adapts to different screen sizes for optimal viewing.\n\n## Prerequisites\n\n- Python 3.6 or higher\n- pywebview library\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/codecaine-zz/workout_interval_timer\n   cd workout-interval-timer\n   ```\n\n2. Install the required Python library:\n   ```\n   pip install pywebview\n   ```\n\n## Project Structure\n\n```\nworkout-interval-timer/\n│\n├── main.py\n├── workout_timer.html\n├── workout_timer.js\n├── workout_timer.css\n└── README.md\n```\n\n## Implementation Details\n\n### HTML (workout_timer.html)\n\nThe HTML file provides the structure for the user interface, including input fields for workout details, buttons for control, and display areas for the timer and current workout information.\n\n### JavaScript (workout_timer.js)\n\nThe JavaScript file contains the core functionality of the application, including:\n- Workout management (adding, clearing)\n- Timer logic\n- State management\n- Display updates\n- Text-to-speech functionality\n\n### CSS (workout_timer.css)\n\nThe CSS file styles the application, ensuring a clean, responsive, and user-friendly interface.\n\n### Python (main.py)\n\nThe Python script uses pywebview to create a desktop application window that loads the HTML file:\n\n```python\nimport webview\n\ndef start_app():\n    webview.create_window('Workout Interval Timer', 'workout_timer.html', width=800, height=600)\n    webview.start()\n\nif __name__ == '__main__':\n    start_app()\n```\n\n## Running the Application\n\nTo launch the Workout Interval Timer:\n\n```bash\npython main.py\n```\n\n## Usage\n\n1. **Adding a Workout**:\n   - Fill in the exercise details (name, reps, sets, interval, rest time).\n   - Click \"Add Workout\" to add it to the list.\n\n2. **Starting the Timer**:\n   - After adding workouts, click \"Start\" to begin the timer.\n\n3. **During the Workout**:\n   - The timer will count down for each exercise and rest period.\n   - The current exercise, set, and state will be displayed.\n   - Voice announcements will guide you through transitions.\n\n4. **Pausing and Resuming**:\n   - Click \"Pause\" to pause the timer at any time.\n   - Click \"Start\" again to resume.\n\n5. **Clearing Workouts**:\n   - Click \"Clear Workouts\" to remove all workouts from the list.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n## Acknowledgments\n\n- pywebview library for enabling the desktop wrapper.\n- Bootstrap for providing the CSS framework.\n\n---\n\nFor more information or to report issues, please visit the [GitHub repository](https://github.com/codecaine-zz/workout_interval_timer).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecaine-zz%2Fworkout_interval_timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecaine-zz%2Fworkout_interval_timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecaine-zz%2Fworkout_interval_timer/lists"}