Inspiration

I've been super unmotivated and sick of doing at home workouts lately. I find a lot of really cool workouts on TikTok when I'm scrolling in bed and I always "save them for later" but never find the time to actually do them. I wanted to create something that would compile my saved fitness-related TikToks and make me want to actually do them.

What it does

Extracts workout related content from a user's saved TikToks and places them in three super cute tumblr style levels that motivate you along the way.

How I built it

I created my web app using Flask and used bootstrap as well as a lot of cute gifs for the level designs. To extract the fitness TikToks I used a combination of:

  • David Teather's TikTok Api on Github : extracts a user's liked TikToks and returns info such as associated hashtags (then I compared to a typical fitness hashtag list)
  • TikTok for Developpers' embedded video Api: formats the video for html I then deployed my application using heroku.

Challenges I ran into

Unfortunately the tiktok api only works for public accounts that also have their likes public. These are actually pretty rare so it would be great to have an api that allows logged-in user's likes to be accessed. Secondly I had to give up on an idea that I had to offer the option of using trending fitness tiktoks (if you dont have a public account for example). This worked pretty well but resulted in suuuper long loading times.

Accomplishments that I'm proud of

I don't usually mess around much with front end design so this was quite a challenging one! I realize that I literally made a tumblr blog from 2010 but I kinda love that aesthetic ^^ I'm also happy with how nicely the two tiktok apis complimented each other in the end.

What's next for TikTok Fitness App

Alongside making it accessible for private accounts, I would love to implement a database with a rating system for each hashtag. This way I can ask users to rate each TikTok on its quality and improve suggested workouts for all users.

DEMO USERNAME TO TEST OUT THE APP : ambrayhacks

Built With

Share this project:

Updates