Edit PDFs on your own device: text, signatures, form filling, highlights, white-out, merge, split, reorder and rotate pages. In the browser or as a Windows app. English and Turkish.
JavaScript electronform-fillingmerge-pdfofflinepdfpdf-editorpdf-libpdf-signaturepdfjsprivacysplit-pdfwindows
Contributing
Bug reports, ideas and fixes are welcome. Report vulnerabilities privately instead of in an issue.
Setup
- Node.js 24
- Edge or Chrome for the tests (set
BROWSER_PATHfor another Chromium-based browser)
npm ci
npm run serve # http://127.0.0.1:5180
npm test # end-to-end checks in a real browser
npm run test:desktop # the Windows app with a PDF on the command line
npm start # run the Windows app from source
The web app has no build step: edit the files in web/ and reload.
How the code is organised
| File | Role |
|---|---|
web/js/store.js |
Document state and the undo history. Every change goes through change() |
web/js/geometry.js |
Page coordinates. Items are stored in PDF points, so zoom and rotation never change them |
web/js/pdfio.js |
Opening with pdf.js, drawing pages, form fields, and writing the result with pdf-lib |
web/js/app.js |
The interface: page list, pages, tools, side panel, saving, shortcuts |
web/js/signature.js |
The signature dialog |
web/js/i18n.js |
English and Turkish text. Add every new string in both languages |
desktop/ |
Electron shell: app:// scheme, Open with, Save dialog |
Before you open a pull request
npm testpasses, andnpm run test:desktopif you toucheddesktop/.- New interface text exists in English and Turkish.
- User-visible changes are listed in
CHANGELOG.md. - If you changed a dependency version, run
npm run vendorand commit the files it updates. - If the interface changed visibly, run
npm run assetsto refresh the screenshots andnpm run demofor the demo videos (needs ffmpeg).
Releases
- Update the version in
package.json,web/js/version.jsand the cache name inweb/sw.js(the test checks they match). - Add the section to
CHANGELOG.md. - Tag and push:
git tag v1.2.3 && git push origin v1.2.3. The release workflow builds the Windows files and publishes the release; the website updates frommain.