An open-source, lightning-fast UI for demonstrating receipt extraction in Nigerian Fintech using receipt-ocr-ng.
Dispacc Receipt OCR UI is a beautiful, highly interactive frontend environment designed to showcase the capabilities of the lightweight receipt-ocr-ng extraction engine.
Instead of manually verifying bank transfers, Dispacc OCR automatically parses transaction screenshots to securely extract normalized key-value data including Amount, Date, Sender, Recipient, Bank, and Reference.
This repository functions as both a standalone application and a reference implementation to inspire developers looking to build local fintech automation flows.
- Blazing Fast Extraction: Uses
receipt-ocr-ngbacked by the ultra-fast Groq API. - Beautiful Tailwind v4 UI: Carefully crafted user experience with drag-and-drop functionality, fluid UI states, and elegant success/failure animations.
- Smart Fraud Prevention: Automatically parses incomplete or flagged receipts and generates appropriate warnings.
- Developer Ready: Toggable developer JSON view with syntax highlighting to instantly inspect raw engine responses.
- Node.js >= 18
pnpm(recommended)- A Groq API Key
# 1. Clone the repository
git clone https://github.com/codepraycode/dispacc-receipt-ocr.git
cd dispacc-ocr-ui
# 2. Install dependencies
pnpm install
# 3. Create your environment variables
cp .env.example .env.localOpen .env.local and add your Groq API key:
GROQ_API_KEY=gsk_your_api_key_herepnpm devNavigate to http://localhost:3000 to start dropping in receipts!
Dispacc is actively looking for open-source contributions. Whether you're fixing bugs, improving OCR accuracy configurations, or polishing the UI, your PRs are warmly welcome!
- Model Optimization: Adjust prompt templating in the linked
receipt-ocr-nglibrary. - UI Enhancements: Make the file uploader and data representation more robust. Support more banking platforms.
- Accessibility: Make the application completely usable with screen readers.
- Documentation: Enhance the README, inline comments, or add a standard API spec on how to consume the underlying route.
- Fork the repo and create your branch from
main. - Ensure you have run
pnpm lintand formatting passes. - Issue a descriptive Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.