Giter Site home page Giter Site logo

matdweb / exercise-routine-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 21 KB

๐Ÿ’ช Fitness App: Personalized routines with voice guidance ๐Ÿ”Š for seamless workouts ๐Ÿƒ๐Ÿปโ€โ™‚๏ธ. Easily customize exercises ๐Ÿฆพ, track progress ๐Ÿ“‰, and stay motivated. ๐Ÿ•’

Home Page: https://app-rutina-ejercicios.netlify.app/

HTML 5.64% JavaScript 82.31% CSS 12.05%
asynchronous-programming excersices javascript vanilla-javascript

exercise-routine-app's Introduction

Exercise Routine App ๐Ÿ‹๏ธโ€โ™‚๏ธ

Description

Purpose

The Exercise Routine App was born out of a personal need, intending to streamline exercise routines. Its primary goals include precise time control for each exercise, voice guidance, visual aids for exercises, and easy routine customization.

Challenges & Learnings

Developed entirely with vanilla JavaScript and CSS, this project presented challenges in asynchronous coding and working without a framework. Navigating public domain image usage and creating structured JSON files for routines added complexity. Despite the initial hurdles, the app now functions seamlessly.

About the Project โ„น๏ธ

Technology Stack

Built using pure vanilla JavaScript and CSS, the Exercise Routine App showcases the possibilities of fundamental web technologies.

Logic

Asynchronous coding techniques were employed to orchestrate the app's functionality, ensuring a smooth user experience during exercises.

Customization

The app allows effortless customization of exercise routines. By modifying the "Rutinas.txt" JSON file, users can create and tailor routines to their specific needs.

Getting Started ๐Ÿš€

To use the app:

  1. Download the entire project.
  2. Open the "index.html" file in your preferred web browser.
  3. Customize routines by modifying the "Rutinas.txt" JSON file using the provided structure.

Features โœจ

Routine Menu

The app presents a user-friendly menu for creating and customizing exercise routines.

Default Routines

Two default routines, labeled 1 and 2, are included to provide users with a starting point.

Creating New Routines

Users can easily add new routines by extending the "Rutinas.txt" JSON file with a new array structure.

Voice Technology

Employing the Web Speech API, the app offers voice guidance, ensuring users stay informed about each exercise without needing to glance at the screen.

NoSleep Library

To enhance the user experience, a "NoSleep" library is integrated, preventing device shutdown during app use.

Technologies Used ๐Ÿ› ๏ธ

Web Speech API

The app leverages the Web Speech API to provide audible exercise information, making the experience more immersive.

NoSleep Library

Integration of the NoSleep library ensures uninterrupted app use, crucial for maintaining exercise routines.

Execution Flow ๐Ÿ”„

Upon opening the Exercise Routine App, users are greeted with a user-friendly menu. Here's how the app flows during routine execution:

  1. Routine Selection:

    • Users select a routine by interacting with the menu.

    • Routines can be customized by intercating with the menu.

    • You can add more routines by modifying the "Rutinas.txt" JSON file

      image

  2. Initiating the Routine:

    • Clicking the "Empezar" button initiates the selected routine.
  3. Exercise Information Display:

    • During each exercise, the app displays information in a yellow header.

    • Series number, time, and the next exercise are presented in a red box.

    • Exercise guidance images are displayed at the bottom.

      image

  4. Time Management and Voice Guidance:

    • Time is managed, and voice technology announces key information.

    • Users can advance to the next exercise manually.

    • The app freezes briefly to allow users to complete the current exercise.

      image

  5. Routine Completion:

    • The app guides users through the entire routine until completion.

    • An end routine message marks the conclusion of the exercise routine.

      image

Learn More ๐Ÿ“š

Explore the Web Speech API documentation for more details on its implementation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.