How himal-joshi/pdfquill works
PDFQuill is a PDF and image utility presented as a browser-based React app. A user selects an operation and files in the workspace; the app coordinates processing helpers and presents downloadable results. The main processing stages include PDF manipulation, OCR/text extraction, image conversion, and page previews, with Firebase authentication as a supporting layer. The tree also contains a Node API and a Python PDF-to-Markdown function, although the README emphasizes client-side processing. Edges reflect shown references or calls; unsampled API wiring is left unverified.
Main entry points: App.tsx PDF workspace · main.tsx React entry · pdfToMdProcessing.ts PDF to Markdown · ocrProcessing.ts OCR and extraction
Components 14
Workspace
- PDF workspace
webapp/client/src/App.tsx - React entry
webapp/client/src/main.tsx - Page previews
webapp/client/src/lib/pdfThumbnails.ts
PDF Tools
- PDF operations
webapp/client/src/lib/pdfProcessing.ts - PDF to Markdown
webapp/client/src/lib/pdfToMdProcessing.ts
Image and OCR
- OCR and extraction
webapp/client/src/lib/ocrProcessing.ts - Image processing
webapp/client/src/lib/imageProcessing.ts
Identity and platform
- Firebase auth
webapp/client/src/lib/firebase.ts - Auth helpers
webapp/client/src/lib/auth.ts - Platform detection
webapp/client/src/lib/platform.ts
API services
- PDF API
webapp/server/index.js - Markdown function
webapp/client/api/pdf_to_md.py
Other components
- User
- Markdown endpoint
Connections 13
- User → React entry: opens app
webapp/client/src/main.tsx - React entry → PDF workspace: renders
webapp/client/src/main.tsx - PDF workspace → PDF operations: uses
webapp/client/src/App.tsx - PDF workspace → PDF to Markdown: uses
webapp/client/src/App.tsx - PDF workspace → OCR and extraction: uses
webapp/client/src/App.tsx - PDF workspace → Image processing: uses
webapp/client/src/App.tsx - PDF workspace → Firebase auth: uses
webapp/client/src/App.tsx - PDF workspace → Page previews: renders pages
webapp/client/src/App.tsx - PDF workspace → Firebase auth: signs out
webapp/client/src/App.tsx - Image processing → Platform detection: checks runtime
webapp/client/src/lib/imageProcessing.ts - OCR and extraction → Platform detection: checks runtime
webapp/client/src/lib/ocrProcessing.ts - PDF to Markdown → Markdown endpoint: posts PDF
webapp/client/src/lib/pdfToMdProcessing.ts - Markdown endpoint → Markdown function: may route to