Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlrg-invoice-editor

A simple browser-based editor for a fixed DLRG invoice layout.

What it does

  • Upload a PDF invoice
  • Preview the generated output in the browser
  • Edit the first line on page 2
  • Rebuild the invoice so the page 2 account block is moved into page 1
  • Download the changed PDF

Privacy

Everything runs locally in your browser using bundled dependencies from this repository. No files are uploaded to a server.

Files

  • index.html - single-page app shell
  • style.css - responsive UI styling
  • script.js - PDF parsing, preview, and export logic
  • vendor/ - bundled browser copies of pdf.js and pdf-lib

Run locally

Open index.html in a modern browser, or serve the folder with any static file server.

Notes

  • The editor is tailored to one specific invoice template.
  • It expects a two-page PDF with the account details on page 2.
  • Unsupported or ambiguous layouts are rejected instead of generating a guessed result.

About

A privacy-focused tool to modify and compact DLRG invoices. Edit specific payment text and merge two-page documents into one by reducing whitespace. Everything happens locally in your browser via pdf-lib, ensuring sensitive data never leaves your device. Secure, static, and serverless.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages