How davidmahk-afk/pdf-extractor works
PDF Page Extractor is a browser-only application: users choose a local PDF, optionally unlock it, select pages or presets, and download a locally generated PDF, optionally AES-256 protected. The README also documents static GitHub Pages delivery; it describes no backend or upload service. The core app and page-range parser are excerpted; HTML layout and deployment wiring are not, so relationships involving those are omitted.
Main entry points: app.js Application workflow · page-ranges.js Range parser
Components 11
PDF input
- Application workflow
app.js - Local PDF file
- Password unlock
app.js
Page selection
- Range parser
page-ranges.js - Page presets
page-ranges.js
PDF output
- Page grafting
app.js - PDF download
app.js
Local PDF engine
- MuPDF engine
app.js
Other components
- User
- Browser runtime
- GitHub Pages
Connections 14
- User → Application workflow: selects PDF
app.js - Application workflow → Local PDF file: reads locally
app.js - Application workflow → MuPDF engine: opens document
app.js - Application workflow → Password unlock: requests password
app.js - Password unlock → MuPDF engine: authenticates
app.js - User → Range parser: enters pages
- Application workflow → Range parser: parses selection
app.js - Application workflow → Page presets: chooses preset
app.js - Application workflow → Page grafting: starts extraction
app.js - Page grafting → Range parser: uses page indices
app.js - Page grafting → MuPDF engine: grafts and saves
app.js - Page grafting → PDF download: creates download
app.js - PDF download → User: downloads PDF
app.js - Browser runtime → GitHub Pages: serves static app
README.md