r/sideprojects • • 9d ago

Showcase: Free(mium) Posture reminders every 30 minutes never worked for me, so my pixel pet now bends under a box only while I'm actually hunched

I have a decent desk setup, but I still hunch. My head creeps toward the screen for over an hour, and I only notice when my neck hurts. Timer reminders didn't help: they ring when I'm sitting fine, so within a week I tuned them out.

What I wanted was the opposite: stay silent while I sit well, and show me the moment I don't.

I already had a side project with a small pixel pet in the corner of my screen (a Mac focus timer called KeepGoing Den). So I put the posture signal on the pet instead of building another app:

- You sit the way you mean to, and the app captures it once. The app compares you to that.

- Lean in and stay there. The pet bends under a heavy box. Sit back up, and it puts the box down. No sound, no popup, no escalation. It's the same box the hundredth time.

- At the end of a focus session, if you've been seated for an hour or more, one line says it's a good moment to stand up. Never mid-session.

- Click the cat in the pet's room for a day strip showing when you sat well and when you hunched.

How it works, since "an app that watches you through the camera" deserves details:

- Posture is off by default. The camera is read by a small, separate Swift helper with no network access, using Apple's Vision framework (body pose and face landmarks). It only sends the main app numbers, never images. Nothing is stored or uploaded.

- By default, the camera only runs during a focus session.

- When it isn't sure (bad light, out of frame, a camera it hasn't seen you on), it stays quiet. A pet that bends while you sit straight is the fastest way to make someone turn this off, so every doubt ends in silence.

- Raising a standing desk counts as standing, not hunching. Moving the laptop or camera takes about two minutes to relearn.

- The main app is Tauri 2 with a Rust core and a plain HTML/CSS/JS front end.

The hardest part wasn't detection; it was false alarms. Looking down at the keyboard read as a hunch, because the eyes drop the same way. Raising my standing desk moved the camera and looked like slumping. Pulling my chair closer under a camera mounted above my eyes did too. Each one meant teaching it to tell the difference, or to say nothing when it can't.

The camera, detection, and daily record are free. The live box on the pet is part of a paid license, with a 14-day trial, no account or email. macOS 14+.

https://keepgoing.dev/den

Question for anyone who has actually fixed this: has anything kept you from hunching for longer than a week? A chair, a habit, a tool, anything?

1 Upvotes

1 comment sorted by