Hacker Newsnew | past | comments | ask | show | jobs | submit | tjohnell's commentslogin

You inspired me to release it to the app store: https://apple.co/4apwHBk

This should no longer be a problem. I am notarizing the app!

Posturr is now notarized!

Hi - thanks for the feedback. I've improved CPU usage with the latest release. I'll look into a kill switch.

I reduced the vision processing to about 10 fps as well as reduced camera resolution. I saw about an 80% reduction in CPU! Thanks for the feedback.

Thanks rdslw. I mentioned something similar on my blog post about this app here: https://tomjohnell.com/posturr-a-macos-app-that-blurs-your-s...

I love coming up with fun ideas and only having to worry about the fun part - not the toil. I would never have made this app without llm support.


Neat app. Any tips on how you used Claude Code to develop this?

My first prompt was:

"Help me develop a MacOS app that blurs my screen the closer my mouse is to the top of the monitor"

That was my PoC to see if there's APIs Claude could find that would make this easy to do. Once I proved that worked, I asked it to instead help me devise a way to adjust that blur based on my posture. It suggested the vision framework and measuring head height.

Just kept iterating, one step at a time. Any toil I experienced, I asked it to remove or automate.


This is going to sound very basic, but did you do it in a blank repo or did you use the cloned integration in Xcode, or a third thing I'm not thinking of?

I have had good success with using xcodegen and only a project.yml checked in. Claude can get tripped up on managing the xcode project xml.

However, before that, i set up a blank project in xcode, used the xcode github integration to create a new repo on github, set up one xcode cloud workflow and use it to push one build to testflight. That way, you get all the automatic config of app ids, profiles etc, and xcode cloud can not be enabled other way. Then tell claude to migrate to xcodegen and to run it in CI automatically.

I've started to develop iOS apps from scratch using only claude code web (no mac), by setting up a "Branch Build" workflow in xcode cloud, and a skill that teaches claude how to check builds and fetch logs.

Along with a workflow that pushes any merge on main to internal TestFlight, the dream of developing iPhone apps on the iPhone finally lives. I've tried most options for this over the years and they never stuck.

These are simple apps that build in 1-5 min on xcode cloud. For larger builds it probably won't work so well.


Not the OP, but I’ve had success starting with a blank app created by Xcode with the appropriate language/frameworks (ie something that will already run but does nothing). You then ask Claude to start from that point.

The only issue I’ve had is sometimes Xcode not ‘seeing’ new files that Claude has created along the way, and needing to add these manually into the Xcode project. (A Google around suggests this shouldn’t happen if you create the project in the right way, and yet it still sometimes does.)


I added compatibility mode that incorporates the public API. Give it a shot please. I welcome any feedback.

I've released 1.0.3 with compatibility mode to use public APIs. The blur isn't as good, but better than nothing!

1.0.4 is release with better descriptions.

Hi - this is the author. I can explain that, ha!

Right now I'm using a vision library to detect head height which was good enough. I went down a tangent where I hooked it up to my Claude Code instance to take a screen shot and have Claude Code assess how bad my slouch was. Claude would watch a folder for screen shots, read it in, and if it detected bad posture, write to a file the program was watching to adjust blur.

I did this weird work-around so I could use my Claude Code subscription as opposed to the API.

Anyways, it was too slow and Claude was a bad judge of slouchiness. Head height works well enough!

I'll clean this up.


Cool, thanks for the clarification. Indeed it's a good and practical idea for a small app. As other comments have said, (some) people might happily pay for this app.

I luckily won't need such feedback loop anymore, had some mild lower back pain show up over 10 years ago and bought a chair without a backrest that, after 3-4 weeks of struggling, trained me to sit up straight. Now I have some random cheap office chair with a backrest, but I rarely lean back to it. Funnily, I was going to give up using that "backrestless" chair after 2 weeks of inconvenience, but decided to give it one more week and then the magic happened :-) Mild lower back pain automatically gone.


Care to share an example of this backrestless chair? Is it like a regular chair just without the backrest, or has some other differences? Does it have armrests for example, and if not - does it bother you?

I went with an overkill approach at first (as I often do :-) and bought some expensive nicely designed "active chair" / stool that was adjustable high enough so that I could lean on it even when using my desk as a standing desk. It was interesting, but not a game changer at all for me. I don't use standing desks now at all.

But what I have now is this:

https://www.amazon.com/dp/B002FL3LY4

Just don't assemble the backrest at first. If sitting up straight, I just lean wrists on my keyboard wristpad and part of forearms on the desk, no armrests needed either.

Edit: I still use my height-adjustable standing desk, but now it's value is that I could adjust it for the perfect height for my sitting-up-straight position (so no chair armrests needed) and it's been fixed at that height for the last 7 years...


Not sure which one the parent was referring to but personalizing I've been using one of these for more than a decade at this point (I'm sitting on it right now) https://www.varierfurniture.com/en/products

The one I have does have a backrest but because of the way it's shaped you don't actually use it to slouch. It's more there to support when you lean back and want to take a break from typing or something like that.


Yes, it actually uses a private API: CGSSetWindowBackgroundBlurRadius. There's public APIs, but they do not provide as gentle of a blur as I was hoping to achieve. iTerm actually uses this same API: https://github.com/gnachman/iTerm2/blob/master/sources/iTerm...

Ah, that makes sense. Good to know iTerm does the same thing. Thanks for sharing the reference!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: