@j.hughes.cu/pdf-converter
v1.6.0
Published
Interactive PDF conversion dashboard with HTML editing, highlights, history, and export formats
Maintainers
Readme
PDF Converter
Interactive PDF conversion dashboard that extracts PDF content and exports multiple formats (interactive HTML, highlighted HTML, canvas HTML, text, CSV, H5P, images).
For a semi-technical setup and operations guide (including Node installation and port-clear troubleshooting), see USER_GUIDE.md. Word-format version: PDF_Converter_User_Guide.rtf
Install
Global CLI install (recommended)
npm install -g @j.hughes.cu/pdf-converter
pdf-converterRun
Start server:
pdf-converterShow CLI help:
pdf-converter --helpStart on a custom port:
pdf-converter --port 3010
# or
pdf-converter 3010If port 3000 is already in use:
portclear
pdf-converterportclear asks for confirmation before stopping processes. To skip prompts:
portclear --yesTo explicitly clear all listeners on port 3000:
portclear --allFor a custom app port:
portclear 3010If the blocked process is auto-restarted by a parent Node process, portclear will also stop that related parent supervisor.
Processes that look like this app are labeled as [pdf-converter] in portclear output.
Compatibility alias (still supported): pdf-converter-portclear
Open:
http://localhost:3000Put input PDFs in:
input/
Generated files appear in:
output/<pdf-name>/
First Run (Empty input/ + output/)
If both folders are empty, the app now shows an introduction page at startup.
Use this quick flow:
- Add one or more PDF files to
input/ - Refresh
http://localhost:3000 - In the dashboard, choose output formats and click Start Processing
- Open generated files from the output menu
The intro page is only shown when there are no input PDFs and no converted output folders yet.
Publish to npm
- Verify account/session:
npm whoami- Validate package contents:
npm run pack:check- Bump version:
npm version patch- Publish publicly:
npm publish --access publicNotes
- Requires Node.js
>=18.18.0 - If npm 2FA is enabled, publish will require OTP
- Package exposes CLI command:
pdf-converter - Package also exposes:
portclearandpdf-converter-portclear(both clear listeners on port3000)
