Clair is an app for keeping business expenses in one place.
It helps you:
- add an expense by hand
- upload a receipt or invoice
- read the document with OCR
- review and fix the extracted data
- save the expense as a record
- see spending trends over time
Clair has two parts:
ios/for the iPhone appbackend/for the API, database, and file storage
The backend runs with Docker Compose.
cd backend
docker compose up --buildThis starts the API, the worker, and PostgreSQL.
Open ios/Clair.xcodeproj in Xcode and run the Clair scheme.
If you are testing on a real iPhone, the app can use the backend over Tailnet.
- Go to
Expenses - Tap
+ - Upload a receipt or enter the expense by hand
- Review the extracted text and fields
- Save the expense when it looks right
Overviewshows spend trends and totals.Expensesshows draft and saved expenses.Categorieslets you manage expense categories.Draft Expenseis where you review an upload or manual draft.Saved Expenseis where you edit an expense after saving it.
- Apple Vision OCR on iPhone
- AI in the backend to turn OCR text into structured expense data like merchant, date, line items, category, subtotal, tax, and total
- PostgreSQL for storage
- Alembic for database migrations
If you want the backend setup details, see backend/README.md.
If you want the product plan and screen designs, see: