#Receipt.Cash
A mobile-first receipt settlement PWA using Nostr and Cashu.
Receipt.Cash is a Progressive Web App (PWA) that allows users to split and settle bills by capturing receipts and sharing them with others using the Nostr protocol and Cashu payments.
- Receipt Capture: Instantly capture receipts with your device's camera
- AI Processing: Extract line items, totals, and tax information automatically
- Nostr Integration: Share receipts and track settlements via Nostr events
- Cashu Payments: Fast, easy payments with Cashu ecash
- Real-time Updates: See settlement status in real-time as payments come in
- Payer: The person who paid the bill and wants to be reimbursed
- Settling Person(s): People who need to pay their share of the bill
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/yourusername/receipt-cash.git
cd receipt-cash
# Install dependencies
npm install
# Start the development server - https needed for access to camera on mobile
env VITE_USE_HTTPS=true npm run devnpm run build- The payer captures a receipt using their phone's camera
- Receipt data is automatically extracted and displayed
- The payer creates a Cashu payment request
- A Nostr event is published containing receipt data and payment request
- A QR code is generated for settling persons to scan
- Settling persons select their items and make payments
- All users see real-time updates as items are settled
- Vue.js: Frontend framework
- Tailwind CSS: Styling
- NDK (Nostr Development Kit): Nostr protocol integration
- Cashu: Ecash payments
- ppq.ai API: Receipt OCR and data extraction
Contributions are welcome! Please feel free to submit a Pull Request.