Image: u/edgetr on Reddit
Petal, a macOS dock of 100,000 lines of Swift written by Claude Code
A developer reports that 560 of 570 commits on an open-source Mac dock were co-authored by Claude, about 103,000 lines of Swift in nine days.
Credits
Earliest dated source:
The full story
Petal is a free, open-source dock for macOS in which you can tag Claude on a sticky note and it carries out the task. Its developer reports that between 5 and 13 November there were 570 commits, 560 of them co-authored by Claude, mostly Opus 5.5: about 103,000 lines of Swift across 136 files.
Claude built the SwiftUI dock on Liquid Glass, the sticky notes, a helper runner, a Keychain vault, routines, an MCP server, a command-line tool, the installer, the release workflow and the website. The developer set the direction, wrote the rules files, including a CLAUDE.md that imports a 215-line AGENTS.md and a 427-line spec for notes, and reviewed and merged 41 pull requests.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Claude Code wrote ~100k lines of Swift for my Mac dock in 9 days. Here's how I ran itReddit poster: edgetrPosted
The developer's post in r/ClaudeAI explaining how Claude Code wrote the app.