Document Processing & Media¶
PDFs, Word docs, Excel, OCR, image manipulation, video — every non-text input pipeline. The portfolio's heaviest users are DOC-AI and SmartForms, with Workflow Hub, OpenSentinel, Recruiting AI and GoGreen Verify close behind.
PDF¶
PyMuPDF (fitz)¶
What it is. Python wrapper around MuPDF — fastest pure-Python PDF reader/writer. Handles text extraction, image extraction, page-level rendering.
Used in: DOC-AI (PyMuPDF 1.28 — text, page rendering, tamper forensics), SmartForms.
pdf-parse (Node)¶
Lightweight Node PDF text extractor. Used in: OpenSentinel, HouseKey, Recruiting AI, AI Concierge (uploads).
unpdf¶
Serverless-friendly Node PDF text extraction. Used in: Workflow Hub.
PDFKit (Node)¶
PDF generation library. Used in: PoligoPro (poll-result PDFs), OpenSentinel (report PDFs), Toolbelt Handyman, GGPI website.
pdf-lib¶
Create and modify PDFs in pure JS. Used in: Workflow Hub (with @pdf-lib/fontkit; one of its 6 export formats), Recruiting AI, GoGreen Verify.
react-pdf¶
Render PDFs in the browser. Used in: DOC-AI (react-pdf ^10.5), SmartForms (in-app document viewing). SuperCabs uses @react-pdf/renderer to generate PDFs.
jsPDF¶
Client-side PDF generation. Used in: GoGreen Verify (jspdf); Recruiting AI's desktop UI.
pdfjs-dist¶
Mozilla's PDF renderer/parser for the browser. Used in: GoGreen Verify.
Dompdf (PHP)¶
Render HTML to PDF. Used in: VotigoPro (barryvdh/laravel-dompdf ^2.2).
ReportLab (Python)¶
Programmatic PDF generation — invoices, reports, structured documents. Used in: AutoDiag AI (diagnostic reports, invoices, estimates).
WeasyPrint (Python)¶
HTML/CSS to PDF. Used in: SmartForms.
Puppeteer (PDF + prerender)¶
Headless Chromium. Used in: Recruiting AI (puppeteer ^24 for PDF generation), GGPI website (puppeteer-core + Chromium prerenders every route at build).
LlamaParse / Unstructured.io (not currently used)¶
SaaS PDF-to-LLM-text services. The portfolio parses with self-hosted libraries (PyMuPDF, pdf-parse, unpdf) and, in DOC-AI, Claude vision for scans.
Office documents¶
Mammoth¶
DOCX → HTML / plain text. Used in: OpenSentinel, Recruiting AI, AI Concierge (uploads).
docx / python-docx¶
Create or read Word documents. Used in: DOC-AI (python-docx), SmartForms (python-docx), Workflow Hub (docx ^9.7 export), OpenSentinel (docx), Recruiting AI (docx ^9), Jarvis (Tauri; docx-rs crate in Rust).
jszip¶
ZIP handling in JS. Used in: Workflow Hub (export packaging, packages/manuscript-import).
openpyxl (Python) / ExcelJS / XLSX (Node) / PhpOffice (PHP)¶
Read and write XLSX. Used in:
- openpyxl — DOC-AI, SmartForms.
- XLSX — GoGreen Seller AI (xlsx ^0.18), Recruiting AI.
- rust_xlsxwriter (Rust) — Jarvis (Tauri).
- ExcelJS — OpenSentinel, GGPI website (fills the invoice template).
- Laravel Excel (maatwebsite/excel ^3.1) — VotigoPro.
OCR¶
Tesseract / Tesseract.js / pytesseract¶
What it is. Google-maintained OCR engine. The default open-source OCR.
Used in:
- SmartForms — pytesseract ensemble (PaddleOCR optional), paired with OpenCV preprocessing.
- Workflow Hub — tesseract.js ^7 + @napi-rs/canvas.
- OpenSentinel — tesseract.js.
Pattern. Image preprocessing (deskew, threshold, denoise via OpenCV/Pillow) → Tesseract → optional LLM cleanup pass.
Claude vision OCR¶
What it is. Sending the page image to a vision-capable LLM and asking for the text.
Used in: DOC-AI (scans are OCR'd via Claude vision), SuperCabs (LLM-based ocrExtract).
Docling (not used in portfolio)¶
What it is. IBM-released document-AI library — converts PDFs, Word, PowerPoint, images into structured Markdown/JSON, bundling OCR and layout analysis.
Used in: Not used in the portfolio — covered for comparison. DOC-AI removed Docling on 2026-10-05.
PaddleOCR / LayoutLMv3¶
What it is. PaddleOCR is a Tesseract competitor; LayoutLMv3 is a document-layout model.
Used in: SmartForms (optional requirements-ml.txt with torch / transformers / timm / ultralytics).
Image processing¶
Pillow (Python)¶
Used in: AutoDiag AI, SmartForms.
OpenCV¶
Used in: SmartForms (opencv headless — form preprocessing for OCR).
Sharp (Node)¶
What it is. Native libvips-backed image processor. Resize, crop, format-convert — extremely fast.
Used in: GoGreen Seller AI (sharp ^0.34, image enhancement and generation), Toolbelt Handyman (0.34), GoGreen Verify (0.35), PoligoPro, GGPI website (WebP).
Jimp (Node)¶
Pure-JS image library — slower than Sharp but no native deps. Used in: HouseKey (jimp ^0.9).
Barcode / QR¶
pyzbar¶
QR / barcode detection. Used in: SmartForms.
zxing-wasm¶
PDF417 / QR / DataMatrix decoding in WebAssembly. Used in: GoGreen Verify (alongside MRZ / ICAO 9303 and AAMVA barcode parsing).
QRCode generation¶
qrcode(Node) — PoligoPro, GGPI website.
ua-parser-js¶
User-agent string → device info. Used in: PoligoPro (device detection for poll metadata).
geoip-lite¶
IP → geolocation. Used in: PoligoPro.
Video / audio¶
FFmpeg¶
What it is. The Swiss-army-knife video/audio toolkit. Used as a child process.
Used in: Marketing AI (Go video-render worker), Recruiting AI (ffmpeg-static).
Whisper (OpenAI API)¶
Speech-to-text. Used in: Marketing AI, GoGreen Seller AI, AutoDiag AI, OpenSentinel (whisper-1), GGPI website, Sell Me A Pen, APEX Sales Training, Recruiting AI, PoligoPro, VotigoPro, HouseKey, Tutor AI, Jarvis (Electron and Tauri).
See LLM-Providers.md for the realtime variant.
ElevenLabs¶
TTS. See LLM-Providers.md.
Specialty extractors¶
Crawlee¶
What it is. Web-scraping framework — Apify's open-source crawler. Manages the queue, browser pool, retries, proxies. Works with Cheerio (HTML parsing) or Playwright (full browser).
Used in: AI Concierge (CheerioCrawler — knowledge ingestion). Marketing AI's SEO crawler is Go (goquery), not Crawlee.
Piston¶
Sandboxed code-execution engine. Used in: Recruiting AI (14-language code runner).
langdetect¶
Language identification on text. Used in: SmartForms.
NHTSA APIs¶
Free US-government vehicle data — VIN decode, recalls, TSBs. Used in: AutoDiag AI (VIN decoder).
python-obd¶
Python interface to OBD-II vehicle diagnostic ports (Bluetooth/USB ELM327 adapters). Used in: AutoDiag AI (python-obd 0.7.2).
Brave Search API¶
Privacy-preserving web search. Used in: Marketing AI (SERP rank tracking, internal/serp/brave.go), Tutor AI (web search for the tutor).
Regulatory / identity formats¶
Used in: GameTrakker (DOR XML generation, XSD-validated, PGP via openpgp; CSV export; pull-tab catalog import) and GoGreen Verify (MRZ ICAO 9303, AAMVA barcodes, NFC passport chip reading).
Comparison alternatives (not used)¶
| Tool | Notes |
|---|---|
| Apache Tika | Universal text extraction (Java). PyMuPDF + Mammoth + openpyxl cover the same surface in Python. |
| AWS Textract / GCP Document AI | Managed OCR + layout. Not used; DOC-AI relies on Claude vision for scans. |
| AWS Rekognition | Image labeling / face detection. Not used. |
| EasyOCR | Tesseract competitor. Not used (PaddleOCR is optional in SmartForms). |
Decision guide¶
Need to extract text from a PDF? PyMuPDF (Python) or pdf-parse / unpdf (Node).
Need to OCR a scan? Tesseract (+ OpenCV preprocessing) or a vision LLM.
Need OCR in Node without Python? tesseract.js.
Need to generate a PDF report? ReportLab (Python), PDFKit / pdf-lib (Node), Dompdf (PHP).
Need to resize / format-convert images? Sharp (server) or Pillow (Python).
Need to read barcodes / QR? pyzbar (Python) or zxing-wasm.
Need to crawl a customer's site? Crawlee.
Need video processing? FFmpeg.