How ayushexploring/statement-analyzer works
This is a browser-based SBI statement analyzer. The user uploads a selectable-text PDF; the app extracts page text, parses transactions, classifies card payments, and presents summaries and transaction views with CSV export. Card matching rules are configurable. The excerpts show PDF.js usage and the parsing and classification logic, but omit some wiring in the app, so links to those processing modules are marked unverified.
Main entry points: app.js Upload and report UI · parser.js Statement parser · classifier.js Payment classifier · config.js Card rules
Components 6
Browser application
- Upload and report UI
js/app.js - PDF.js
Statement processing
- Statement parser
js/parser.js - Payment classifier
js/classifier.js
Card matching
- Card rules
js/config.js
Other components
- Statement user
Connections 5
- Statement user → Upload and report UI: uploads PDF
js/app.js - Upload and report UI → PDF.js: extracts text
js/app.js - Upload and report UI → Statement parser: parses statement
- Upload and report UI → Payment classifier: classifies transactions
- Upload and report UI → Card rules: loads card rules