Documents
Rhea
A study in AI-assisted development — a receipt-scanning app built entirely through conversation with Claude.
macOS 14+ · runs fully local · archived
Archived. Rhea was a deliberate experiment in AI-assisted software development. It was designed, specified, and written primarily through conversation with Claude. The code is functional but rough — it's a case study, not a product. Don't rely on it as your only copy of receipt data.
Drop in receipt PDFs, review each extraction next to the original scan, confirm it, and export to CSV or Postgres. Extraction runs against your own local vision model (LM Studio, oMLX, or anything else that speaks the OpenAI chat-completions API) — nothing leaves your machine.
This project demonstrates what's possible when a developer iterates closely with an AI coding assistant over the course of a project — from architecture decisions to bug fixes to feature additions, all through conversation.
Build from source
Rhea is a native Xcode macOS App project generated by XcodeGen
from project.yml (the source of truth — Rhea.xcodeproj itself isn't committed).
brew install xcodegen
xcodegen generate
open Rhea.xcodeproj
Then hit Run in Xcode, or build/run from the command line:
xcodebuild -project Rhea.xcodeproj -scheme Rhea -configuration Debug -derivedDataPath build build
open build/Build/Products/Debug/Rhea.app
See AGENTS.md for architecture and internals.
Run tests
xcodegen generate
xcodebuild -project Rhea.xcodeproj -scheme Rhea -destination 'platform=macOS' test
This runs both RheaTests (unit, Swift Testing) and RheaUITests (XCUITest) headlessly.
Changelog
All notable changes to this project are documented here. Format loosely follows Keep a Changelog; versioning is pre-1.0, so breaking changes may land in minor releases.
[0.2.1] - 2026-07-10
Added
- Sparkle 2 auto-updates (ticket #27): "Check for Updates…" menu item, with automatic
background checks after a one-time first-run consent prompt (Sparkle's own). The
release workflow now also force-pushes each release's
appcast.xmlto a dedicatedappcast-feedbranch, giving the app one stable feed URL across releases.
[0.2.0] - 2026-07-10
Added
- Tag-triggered release pipeline (
.gitea/workflows/release.yml): builds a Release configuration signed with a real Developer ID Application certificate, notarizes and staples the resulting.dmg, publishes it as a Gitea release with release notes pulled from this changelog, and generates + EdDSA-signs anappcast.xml(Sparkle isn't wired into the app yet, so this is release-side prep only).
[0.1.0] - 2026-07-09
Initial release.
Added
- Import receipt PDFs (single or bulk drag-and-drop); each is copied into a local vault, rendered to an image, and queued.
- Local vision-model extraction via an OpenAI-compatible endpoint (LM Studio, oMLX, etc.), with lenient decoding to tolerate model type drift.
- Sequential processing queue with live
N/Mposition and a count-up timer; in-progress items are safely re-queued and resumed after a crash or quit. - Review/edit surface with the source scan side-by-side, editable receipt and line-item fields, a distinct AI-suggested vs. user-confirmed common name per item, and per-line + overall AI confidence scores.
- Confirm workflow — fields lock once confirmed; list filters by All / Queued / Processed / Confirmed / Failed.
- Durable local persistence (Application Support) that survives quit/crash; no seeded sample data.
- CSV export (one row per line item) and Postgres export (upsert via
psql, with an auto-migrating schema). - Context menu: extract/re-process, confirm/unconfirm, reveal source in Finder, delete with confirmation.
- Stable ID scheme (
publicID,naturalKey, per-itemstableKey) so exports join cleanly across receipts and stores. - Packaged as a proper Xcode app via XcodeGen, with bundle id
net.danieldaum.rheaand a generated app icon.