How shivansh-58/aurora-reader works
Invoice Simplifier is a React application that accepts an invoice file, extracts text in the browser, sends that text for AI structuring, and displays and exports the simplified invoice. The supplied excerpts show the OCR and AI request workflow, result fields, and JSON download; omitted source limits certainty about file-format handling and the proxy request details.
Main entry points: App.js Invoice interface · index.js React mount
Components 11
Invoice workflow
- React mount
index.js - Invoice interface
App.js - File selection
App.js
Extraction and AI
- Image OCR
App.js - Browser APIs
- Invoice simplification
App.js - Gemini API
- CORS proxy
Results and export
- Invoice results
App.js - JSON download
App.js
Other components
- Invoice user
Connections 15
- Invoice user → React mount: opens app
- React mount → Invoice interface: renders
- Invoice user → File selection: selects file
- File selection → Invoice interface: updates state
- Invoice interface → Image OCR: invokes OCR
- Image OCR → Browser APIs: reads image
- Image OCR → Invoice interface: returns text
- Invoice interface → Invoice simplification: submits text
- Invoice simplification → Gemini API: POSTs request
- Gemini API → Invoice simplification: returns JSON
- Invoice simplification → CORS proxy: may route via
- Invoice simplification → Invoice interface: returns invoice
- Invoice interface → Invoice results: renders invoice
- Invoice user → JSON download: requests download
- JSON download → Browser APIs: downloads JSON