Solo developer ports LokalBot, a 150,000-line Swift Mac app, to Rust for Windows and Linux in about 53 hours with Claude Code agents
LokalBot is an open-source Mac work-memory app of about 150,000 lines of Swift. A first port attempt with Codex on 2 October produced a working app that didn't share the Mac's data format, and it was closed. The second attempt in Claude Code began on 18 October with four read-only agents writing specs of the Mac app, then core types matched to the Mac's files and tests against a real Mac-recorded library, then six parallel implementation agents on separate branches. Builds ran on a rented server and a gaming PC, never the laptop. CI tested the app on virtual displays with virtual audio and real models, and Codex later wrote the 24 interface languages and a feature-gap plan that became five more agent sessions. Version 0.11.0 shipped Windows and Linux alpha installers about 53 hours after the first commit.
The numbers (as reported)
| Source app size | About 150,000 lines of Swift |
|---|---|
| Time | About 53 hours from first commit to the 0.11.0 release |
| Human input | About 35 messages and about three hours at the Mac |
| CI time | Full run from about 32 to 17 minutes on self-hosted runners, then about 9 after a Windows fix |
| Cost | No API bill; ran on a regular subscription (nearly all weekly usage two weeks running) |
Facts
- Company / subject
- LokalBot (Stevan Bogosavljević)
- Tools
- Claude Code, OpenAI Codex
- Codebase
- brownfield
- Work type
- Language port
- Stack
- Swift, Rust, GPUI
- Published
- 2026-10-20
- Last checked
- 2026-10-26
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- Windows and Linux versions released about 53 hours after the first commit, with about 35 messages and three hours at the Mac from the author ~53 hours
“Version 0.11.0 went out at 12:22 on Tuesday, about 53 hours after the first commit.”
- A full CI run cut from about 32 minutes to 17 32 → 17 min
“A full CI run went from about 32 minutes to 17”
Caveats
Self-reported. The author didn't review the code himself and judged it from screenshots, demo videos and CI. Windows and Linux builds are alpha, unsigned, and some Mac features aren't ported yet. No line count for the Rust port.
More stories by tool: Claude CodeOpenAI Codex
Related topics: Language portsBrownfield codebases