How smyrna-pergamum/pdf-werkstatt works
PDF Workshop is a local-first browser PDF editor. Users open PDFs or images, work with rendered pages and editing tools, then save, print, or export the edited document. Distinct branches cover OCR/searchable text, text-format identification, document protection and links, and localization. The graph reflects documented capabilities and sampled module responsibilities; some cross-module wiring is not visible in the excerpts, so those relationships are shown only where documented by the README.
Main entry points: 1-core-and-file-opening.js Open and merge · 3-tools-and-panels.js Page tools · 2-page-view-and-items.js Page rendering · 4-pdf-writing-and-setup.js PDF generation
Components 14
Document workflow
- Open and merge
src/js/1-core-and-file-opening.js - Page rendering
src/js/2-page-view-and-items.js - PDF generation
src/js/4-pdf-writing-and-setup.js - Application startup
src/js/9-start.js
Page editing
- Page tools
src/js/3-tools-and-panels.js - Text formatting
src/js/7-text-formatting.js
Text and OCR
- OCR and protection
src/js/5-advanced-features.js - OCR controls
src/js/7b-v012-panels.js - Searchable text layer
src/js/7c-invisible-text.js - Font identification
src/js/7a-font-identification.js
Output and interface
- Document exports
src/js/6-export.js - Save and print
src/js/7d-v013-save-and-print.js - Interface languages
src/js/8-languages.js
Other components
- PDF editor user
Connections 15
- PDF editor user → Open and merge: opens files
README.md - Open and merge → Page rendering: loads pages
README.md - PDF editor user → Page tools: edits pages
README.md - Page rendering → Page tools: hosts edits
README.md - Page tools → PDF generation: writes changes
README.md - PDF editor user → OCR controls: starts OCR
README.md - OCR controls → OCR and protection: configures recognition
- OCR and protection → Searchable text layer: adds text layer
- PDF editor user → Font identification: identifies formatting
README.md - PDF editor user → Text formatting: formats text
README.md - PDF generation → Save and print: provides PDF output
src/js/7d-v013-save-and-print.js - PDF editor user → Document exports: exports document
README.md - PDF editor user → Save and print: saves or prints
README.md - PDF editor user → Interface languages: chooses language
README.md - Application startup → Open and merge: starts editor