I Put My Weight on the Internet

I Put My Weight on the Internet
Photo by Joachim Schnürle / Unsplash

So I made a web app that shows my weight to anyone who wants to see it. https://weight.chaioverflow.com - it's just sitting there on the internet, telling the world I'm around 78kg.

Why? Honestly, no deep reason. I just thought it would be cool.

Vibe Coding It in Less Than a Day

I wanted to build something and a weight tracker seemed like a good excuse. I just went for it and built the whole thing in less than a day.

I'm calling it "vibe coded" because that's what it was. I threw my requirements at Lovable (https://lovable.dev), sent it a reference design I found online for a completely different app, and just said make this but for weight tracking.

The prompt was something like: "Design this weight tracking app. Add a sample placeholder to fetch from the API which I'll develop. For now, let that function return dummy data. This is a website to display my public weight logs."

Then I kept iterating. Sent it a screenshot from my Fitdays app (that's what my smart scale syncs to) and told it to show detailed views with all the metrics. Added a settings page with theme switching. The backend API and Prisma integration? All done with GitHub Copilot on VS code.

The whole thing is basically AI-generated with me just guiding it along. I think AI has gotten to the point where even people who don't code could build something like this.

Automation

I have a smart weighing scale that syncs with the Fitdays app, which feeds into Apple Health. I set up an Apple Shortcuts automation that runs every day at 11 AM.

Recording Weight

The Shortcut pulls my weight and body fat data from Apple Health and POSTs it to my API. Just automatically, every day. I can also add entries manually if I want.

I spent some time learning about Apple Shortcuts. Googled some stuff, tried a few things. Now I think Shortcuts is genuinely one of the most powerful Apple apps. It's wild what you can do with it.

Setting it up was pretty straightforward once I figured out how to query Health data and make HTTP requests.

Apple Shortcuts Flow

Why Make It Public?

I don't really have a good answer for this. I'm not doing it for accountability or motivation. I just thought it would be cool to have my weight log sitting there publicly.

Does it help me stay accountable? Maybe? I'm not really sure.


You can check out my weight anytime at https://weight.chaioverflow.com. I'll either be at my goal weight by the end of the year, or you'll have a public record of me failing. Either way, it's out there.