How atifmunawar34/pdf-forge-main works
PDF Forge is a browser-based PDF and document toolkit, with additional general-purpose utilities, templates, and an AI assistant. The main workflow is user selects or searches for a tool, configures it in the workspace, processes a file in-browser or sends it to the backend, and receives a result. Backend capabilities include PDF organization, conversion, editing, compression, and security; the README also documents OCR and PDF intelligence. The server implementation is indexed as read but its routing code is not excerpted, so backend stage connections are documented at a high level rather than traced endpoint by endpoint.
Main entry points: App.jsx Application Shell · server.js Conversion API · ToolStudio.jsx PDF Workspace · pdfWorker.js PDF Operations
Components 24
App Experience
- Application Shell
src/App.jsx - Tool Catalog
src/data/pdfTools.js - Translations
src/i18n/index.jsx
PDF Processing
- PDF Workspace
src/components/ToolStudio.jsx - PDF Text Editor
src/components/PdfTextEditor.jsx - PDF Operations
src/utils/pdfWorker.js
Utility Toolkit
- Utility Catalog
src/data/kit/index.js - Utility Tool Pages
src/components/toolkit - Utility Engine Registry
src/components/toolkit/engines.js - Document Creator
src/components/DocumentCreator.jsx
Assistant And Templates
- AI Assistant
src/components/AssistantPage.jsx - Intent Planner
src/utils/aiEngine.js - Service Catalog
src/data/ai/services.js - Template Experience
src/components/TemplatesHub.jsx - Template Values
src/utils/templateValues.js - Template PDF Generation
src/utils/templatePdfLayouts.js
Backend Services
- Conversion API
backend/server.js - Page Operations
backend/page_ops.py - PDF Converters
backend/convert_pdf2docx.py - Office To PDF
backend/office_to_pdf.py - PDF Editing And Security
backend/edit_pdf_text.py - PDF To Markdown
backend/convert_pdf2md.py
Other components
- User
- Conversion Engines
Connections 24
- User → Application Shell: opens
- Application Shell → Tool Catalog: lists tools
src/App.jsx - Application Shell → Utility Catalog: searches tools
src/App.jsx - Application Shell → PDF Workspace: opens workspace
src/App.jsx - PDF Workspace → PDF Operations: processes files
src/components/ToolStudio.jsx - PDF Operations → User: returns result
- PDF Workspace → PDF Text Editor: uses editor
src/components/ToolStudio.jsx - PDF Operations → Conversion API: requests conversion
- Conversion API → Page Operations: dispatches page jobs
- Conversion API → PDF Converters: dispatches PDF conversions
- Conversion API → Office To PDF: dispatches Office conversion
- Conversion API → PDF Editing And Security: dispatches edits
- Conversion API → PDF To Markdown: dispatches markdown
- Conversion API → Conversion Engines: invokes CLI tools
- Application Shell → AI Assistant: opens assistant
src/App.jsx - AI Assistant → Intent Planner: plans requests
src/components/AssistantPage.jsx - Intent Planner → Service Catalog: finds services
src/utils/aiEngine.js - Application Shell → Utility Tool Pages: shows utility pages
src/App.jsx - Utility Tool Pages → Utility Engine Registry: selects engines
src/components/toolkit/engines.js - Application Shell → Document Creator: opens creator
src/App.jsx - Application Shell → Template Experience: opens templates
src/App.jsx - Template Experience → Template Values: fills values
- Template Values → Template PDF Generation: supplies layout data
src/utils/templatePdfLayouts.js - Application Shell → Translations: localizes interface
src/i18n/index.jsx