Skip to content

uwon0625/pdf-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a small tool for PDF file redaction and form/signature fill. It was created with Claude Code in ~ 30 minutes with 3 steps:

  1. Initial creation for redaction/masking.

  2. Added form fill and signature (from typing and image uploading—background removal; btw, Google is better at creating handwritten-style images).

  3. quick UI touch-up (still rough).

How to run:

  1. Start the backend: npm run server (runs on port 300 1)

  2. Start the frontend: npm run dev (runs on port 5173)

  3. Or both at once: npm start

How to use:

  1. Open http://localhost:5173 in your browser.

  2. Upload a PDF file (as a source file).

  3. For redaction:

    1. Select the "Redact" tab on the top and draw red rectangles over areas you want to redact (click and drag).

    2. Use Undo to remove the last rectangle, or Clear All to reset

    3. Click "Save & Download" to get the redacted PDF with black boxes permanently covering the selected areas. The file name is {source_file}-redacted.pdf.

  4. For fill/signature:

    1. Select the "Fill & Sign" tab on the top and type in the fields (if applicable).

    2. Click the "Add Signature" icon on the top left; it will show a "Create Signature" pop-up. You may choose "Type" or "Upload Image" (the background will be cleared). Click "Apply Signature" on the bottom right of the pop-up. Draw (drag mouse) a rectangle for the signature—you can resize the signature/area to fit it in.

    3. Click "Save & Download" to get the filled/signed PDF file named as {source_file}-filled.pdf.

Releases

No releases published

Packages

 
 
 

Contributors