See Fatty in action! Or continue reading…
For reasons I won’t get into now, life has been a little rough at home the past two years. Due to being stressed, worried and busy I have let my body turn into a croissant. It’s a shitty excuse but it’s true. I just didn’t have the discipline to stick to any sort of exercise or diet regimes.
It’s finally cold in Paris and for the fist time in a year I decided to put on my winter coat. I could barely close it! I walked around like the Michelin man, ready to burst out if my dog pulled too much.
When I came home, I opened the zipper and I was finally able to breath again. I felt shame. I’m the guy who lost 35kg (77lbs) a couple of years ago. I used to be in the best shape of my life. I could deadlift 2x my body weight and I ran a marathon.
This was my Harajuku moment. The “Harajuku” moment is the moment where a person is actually ready and willing to change their life.
To be able to lose weight I need a good incentive. And for me that incentive is public accountability. This little app shows how much weight I have lost and it tweets an update into the world every time I step on the scale.
In February 2020 I’m speaking at the Front-end Developer Love conference and by that time I want to weigh ~95kg.
How the app was build.
Fatty is a PWA which was build with Vue.js. The weight data is stored using Netlify CMS and the site is hosted on the Netlify platform. It is a JAMstack app in all its glory.
The moment I enter a weight value, Netlify uses a post-deploy web hook which calls an Azure lambda function which in turn tweets my current weight loss data. This makes me publicly accountable. I better keep losing the weight or I look like an ass on stage at the conference.
See Fatty in action!