Inspiration

Yoga has become one of the most talked about fitness regime in recent times yet most people still shy away from it. Why would that be? In this project I figure some of these reasons and solve them to introduce people to the world of yoga, so that they can rediscover themselves!

What it does

Yogatastic is a voice enabled web app to help you discover the world of yoga! Yogatastic scrapes data from multiple websites and resources to bring you yoga poses for every one of your need right on a plate. You can ask it to find you poses which focus on a particular body area or condition and filter them based on complexity. So that there is something for everyone. No excuses left for physical capability, not understanding the benefits and so on!

How I built it

This app was built using

  • NodeJS - Backend API
  • ReactJS - Frontend
  • Puppeteer - Web Scraping
  • Wit.ai - Natural language processing
  1. We scrape data for different poses from various websites and resources available including their description, use, image and complexity.
  2. We send all this data to Wit.AI’s natural language processor which tags these poses to the body part or condition they help with.
  3. Whenever the user requests a pose, we filter through this data and fetch the top 5 relevant poses sorted in order of complexity, from beginner to expert.

Challenges I ran into

Finding consistent data for yoga poses across internet platforms was a very difficult task. I had to draft normalization rules to make the data consistent so I can tag it using wit.ai. All the scraped data went through a pipeline to filter out the inconsistent data points and only then were sent to wit.ai's natural language processor for tagging.

Accomplishments that I'm proud of

I was able to create a consistent data pipeline for data filtering. I was able to create normalization rules for very inconsistent data. I learned about wit.ai over a night. Designing and implementing a responsive and mobile first UI

What I learned

React's useState hook and how to hack it! Scraping data from dynamic webpages using headless browsers. Wit.ai and how to use it

What's next for Yogatastic - Discover Yoga. Rediscover Yourself

I hope to introduce video tutorials for some of the most common poses for better explanation. Create a full fledged speech bot for interacting with users and helping them use Yogagtastic more efficiently!

Built With

Share this project:

Updates