Show HN: Nudge – AI for macOS that detects procrastination via screenshots
github.comHey HN!
Nudge captures your screen every minute and uses GPT-4o to detect when you're distracted. Describe what you want to work on ("Review PRs on GitHub for 20min") and Nudge will alert when it sees you doing something else.
I built Nudge because I get easily distracted at work. I've been using it for a few weeks and I'd say my procrastination is down 20-30%. (That's partly because Nudge forces me to break my day into small, concrete activities.)
The AI detection can work perfectly but it depends on how clearly you describe your goal. For example, "I want to reply to my boss" is bad, but "I want to write a reply on Gmail" is good. It definitely helps to have some intuition of how LLMs behave. (Check out the system prompt here: https://github.com/felipap/nudge/blob/main/src/lib/ai/assess...)
Screenshots are very sensitive data so I decided to make this open-source and BYOM ("bring your own model"). Today you need to provide your own OpenAI API Key. I realize not everybody has one and it would be great to support other AI backends soon.
I'm excited to share this project and would love feedback on how well it works (both AI accuracy and user experience). Thanks for reading!