From 459f5935aab505cdb8174e5f9f04a9a3c426f37e Mon Sep 17 00:00:00 2001 From: Lena Date: Wed, 1 Apr 2026 00:00:00 +0000 Subject: Enter pdfstamp Terminal-only PDF stamp picker. Renders a coarse page preview in the terminal, places text and image stamps with the keyboard, saves the layout as a JSON plan, and burns it into an output PDF. MuPDF (via go-fitz) renders the preview; pdfcpu overlays the generated stamp PDF onto the source 1:1 and validates the result. --- go.mod | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 go.mod (limited to 'go.mod') diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b0c6876 --- /dev/null +++ b/go.mod @@ -0,0 +1,25 @@ +module pdfstamp + +go 1.25.0 + +require ( + github.com/gen2brain/go-fitz v1.24.15 + github.com/pdfcpu/pdfcpu v0.12.1 + golang.org/x/term v0.43.0 +) + +require ( + github.com/clipperhouse/uax29/v2 v2.7.0 // indirect + github.com/ebitengine/purego v0.8.4 // indirect + github.com/hhrutter/lzw v1.0.0 // indirect + github.com/hhrutter/pkcs7 v0.2.2 // indirect + github.com/hhrutter/tiff v1.0.3 // indirect + github.com/jupiterrider/ffi v0.5.0 // indirect + github.com/mattn/go-runewidth v0.0.23 // indirect + github.com/pkg/errors v0.9.1 // indirect + golang.org/x/crypto v0.50.0 // indirect + golang.org/x/image v0.43.0 // indirect + golang.org/x/sys v0.44.0 // indirect + golang.org/x/text v0.38.0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect +) -- cgit v1.2.3