From Idea to App in a Day: How I Built a macOS Productivity Tool with an AI Pair Programmer
Have you ever had an idea for a simple app, something to scratch a personal itch, but the thought of setting up a project, writing boilerplate code, and wrestling with APIs made you push it to the "someday" pile? I've been there. But recently, I decided to see if I could bring one of these ideas to life with the help of an AI large language model as my pair programmer. The result? A fully functional macOS status bar application for tracking my daily context switches, built from scratch in a single day. ## The Spark of an Idea My request was simple: a macOS app that lives in the status bar. I wanted a counter that I could manually increment every time I got distracted and switched away from focused work. The counter should reset daily, and I wanted to see a history of my context switches in a bar chart to visualize my focus patterns. The AI immediately laid out a clear plan: a Swift and SwiftUI application, data stored locally in a JSON file, and a status bar icon that wou...