HankPDF
github.com
Spec sheet
- Purpose
- HankPDF compresses scanned PDFs into compact, searchable PDFs, with a focus on medical and legal documents.Read 11 Oct 2026 · github.com
- Platforms
- The README documents native installation on Windows, macOS, and Linux, plus Docker use on those systems.Read 11 Oct 2026 · github.com
- API
- The Python package provides a compress() API as well as the hankpdf console command.Read 11 Oct 2026 · github.com
- Security
- The security policy says compression does not open network sockets or transmit user data and describes subprocess resource limits for hostile PDF parsing.Read 11 Oct 2026 · github.com
- Support
- The README directs users who remain stuck to open a GitHub issue and attach the output of hankpdf --version.Read 11 Oct 2026 · github.com
- License
- HankPDF is licensed under Apache-2.0, and the README states it is cleared for commercial use.Read 11 Oct 2026 · github.com
- Compression
- The README gives a target of 8–15× typical compression and up to 200× on text-dominant scans, while warning that already-efficient files may not shrink.Read 11 Oct 2026 · github.com
- Content checks
- Outputs are checked with OCR-text comparison, tile-level SSIM, and a structural audit; the project says it refuses rather than silently corrupting content.Read 11 Oct 2026 · github.com
- Dependencies
- A Python install requires separate Tesseract and qpdf binaries; jbig2enc is optional but improves text-only compression, and the Docker image includes these native tools.Read 11 Oct 2026 · github.com
- Installation
- The project is distributed through PyPI and GHCR, or can be installed from its source repository.Read 11 Oct 2026 · github.com
- Local processing
- It runs on the user's machine and states that PDFs are never uploaded, with no network, telemetry, or phone-home behavior during normal use.Read 11 Oct 2026 · github.com
- Maker location
- The maker's GitHub organization profile lists Hank AI, Inc. in the US.Read 11 Oct 2026 · github.com
- Output options
- The CLI can produce compressed PDFs, split output into chunks for size limits, and export selected pages as JPEG, PNG, or WebP images.Read 11 Oct 2026 · github.com
- Release integrity
- The security policy says Docker images are signed with cosign and carry SLSA provenance and an SPDX SBOM; PyPI publishing uses checksum and GitHub OIDC provenance.Read 11 Oct 2026 · github.com
Plans and prices
HankPDF Free Apache-2.0 licensed; local command-line tool Read 11 Oct 2026 · github.com
Where Specifiction places it
- PDF Compression Software#15 of 398.1