Workout-Run-Bot is a Telegram bot designed to assist users in tracking and managing their workouts. It provides features for recording training sessions, monitoring progress, and analyzing performance data.
To install and run the Workout-Run-Bot, follow these steps:
- Clone the repository: git clone https://github.com/freelkee/Workout-Run-Bot.git
markdown Copy code
- Install the required dependencies: cd Workout-Run-Bot npm install
markdown Copy code
- Configure the bot:
- Rename the
.env.examplefile to.env. - Open the
.envfile and provide your Telegram bot token.
- Start the bot: npm start
vbnet Copy code
Once the bot is up and running, you can interact with it through Telegram. Search for "Workout-Run-Bot" in Telegram and start a conversation with it.
The bot supports various commands and interactions to manage your workouts. Some of the available commands include:
/start: Start the bot and receive a welcome message./newtraining: Record a new training session, providing details like date, duration, distance, and heart rate./mytrainings: View a list of your recorded training sessions./statistics: Get insights and statistics about your training data.
Refer to the bot's responses and inline commands for more information on how to use specific features.
The Workout-Run-Bot offers the following features:
- Record Training Sessions:
- Capture and store details about your workouts, such as date, duration, distance, heart rate, and more.
- Differentiate between various types of workouts, such as running or general workouts.
- View and Analyze Training Data:
- Retrieve a list of your recorded training sessions, including relevant information.
- Get insights and statistics about your performance, such as average heart rate, total distance, and more.
- Personalization:
- Customize your user profile with information like weight, height, age, and condition.
- Use personalized data for better analysis and tracking of your progress.
- Interactive Interface:
- Communicate with the bot using commands and inline interactions for a user-friendly experience.
- Receive helpful tips and suggestions based on your training data.
Contributions to the Workout-Run-Bot project are welcome! If you have any ideas, improvements, or bug fixes, please follow these steps:
- Fork the repository.
- Create a new branch for your feature/fix:
git checkout -b my-feature. - Commit your changes:
git commit -am 'Add a new feature'. - Push the branch to your fork:
git push origin my-feature. - Submit a pull request.
Please ensure that your code follows the project's coding style and conventions. Include clear descriptions and tests for your changes to facilitate the review process.