How shyam20040/certificateextractor works
Certify is a browser-based certificate information extractor and shared library. Users select an image or PDF, run local OCR (PDFs render their first page first), send recognized text to the Express API for Gemini structuring, review/edit the fields, and save the original file and metadata to Supabase. The library supports search, record and file management, and Excel/PDF exports. Excerpts show the primary UI/API/storage/export calls; some library and PDF implementation details are documented only in the README.
Main entry points: App.jsx Workflow interface · supabase.js Supabase client · index.js Extraction API · certificates.js Certificate operations
Components 13
Capture and extraction
- PDF page rendering
frontend/src/App.jsx - Browser OCR
frontend/src/App.jsx - Extraction API
backend/index.js
Certificate library
- Certificate operations
frontend/src/lib/certificates.js - Supabase client
frontend/src/lib/supabase.js - Excel workbook export
frontend/src/lib/exports.js - PDF export
frontend/src/App.jsx
External services
- Gemini extraction
- Certificate records
- Documents bucket
Application interface
- Workflow interface
frontend/src/App.jsx - Certificate editor
frontend/src/components/CertificateEditor.jsx
Other components
- Library user
Connections 15
- Library user → Workflow interface: selects and manages
README.md - Workflow interface → PDF page rendering: renders first page
README.md - Workflow interface → Browser OCR: recognizes text
README.md - Workflow interface → Extraction API: posts OCR text
frontend/src/App.jsx - Extraction API → Gemini extraction: requests extraction
backend/index.js - Gemini extraction → Extraction API: returns structured fields
backend/index.js - Workflow interface → Certificate editor: renders and updates
frontend/src/App.jsx - Workflow interface → Certificate operations: saves and manages
frontend/src/App.jsx - Certificate operations → Supabase client: requires client
frontend/src/lib/certificates.js - Supabase client → Certificate records: reads and writes
README.md - Supabase client → Documents bucket: uploads and signs URLs
README.md - Workflow interface → Excel workbook export: builds workbook
frontend/src/App.jsx - Workflow interface → PDF export: exports records
README.md - Workflow interface → Certificate operations: loads and resolves files
README.md - Workflow interface → Library user: shows library and downloads
README.md