Skip to content
jakepanlilio2000Public

About

A privacy-focused PDF toolkit built with C++20 and Qt 6. View, organize, annotate, sign, and redact PDFs offline, with CLI automation and Model Context Protocol (MCP) integration.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

104 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDFinity Logo

PDFinity

Professional • Modular • Offline-First PDF Productivity Suite

Release Version License: MPL 2.0 C++ Standard Qt Framework Platforms Privacy Guarantee

Engineered by StackSync Solutions
Lead Programmer: Jake Ashley Panlilio


Table of Contents


Overview

PDFinity is a modern, high-performance, modular desktop and mobile PDF productivity suite built with C++20 and Qt 6. Designed from first principles for absolute document integrity, memory safety, and verifiable privacy, PDFinity operates 100% offline with zero telemetry, zero cloud accounts, and zero background network calls.

PDFinity brings together a dual-engine architecture:

  • Google PDFium powers instant sub-pixel page rasterization, geometry extraction, interactive AcroForm rendering, and text layout analysis.
  • QPDF drives lossless structural page manipulation, stream encryption/decryption, linearization, cross-reference repair, and object stream transformation.

Whether you are performing high-volume document triage, restructuring large publications, filling dynamic interactive forms, applying PKCS#7 x509 cryptographic digital signatures, excising confidential data with multi-pass irreversible redaction, extracting text with local Tesseract OCR, or driving batch automation through CLI and Model Context Protocol (MCP) agents, PDFinity delivers total document autonomy.


Visual Showcase

Studio Home Dashboard (Pinned Workspace) 3-Pane Studio Workstation (Studio Dark)
Studio Home Dashboard Studio Workstation
Pinned Home dashboard with quick action cards, recent documents, and offline health. 3-pane layout with 2-tier Workflow Ribbon, Left Rail & Drawer, and Elevated Sheet.
Contextual Tools & Property Inspector Responsive Mobile & Android Studio UI
Tools Inspector Mobile Studio View
Right property inspector for annotations, PAdES signatures, and PDF/A compliance. Touch-adapted mobile shell with 48dp targets, bottom nav, and sliding tool sheet.
Visual Page Organizer & Assembly Cryptographic Redaction & Sanitization
Page Organizer Redaction & Signing
Drag-and-drop page assembly, rotation, split, merge, and page reordering. PKCS#7 x509 digital signing, certificate validation, and vector stream redaction.
Legacy Workspace Reference Android SAF Integration
Main Workspace Android View
Continuous scrolling viewer with search and dual-engine architecture. Touch-optimized mobile workflow with Storage Access Framework (SAF).

Core Capabilities & Feature Matrix

Capability Module Key Features & Implementation Details Documentation
High-Speed Rendering Google PDFium rasterization, sub-pixel text antialiasing, continuous single-page and two-page spreads, smooth High-DPI scaling (up to 800%), thumbnail strip rendering. User Guide
Visual Page Organization Grid-based drag-and-drop reordering, 90°/180° rotation, page extraction, insertion, page deletion, multi-document merging, and lossless split. User Guide
Annotations & Markups Highlight, underline, squiggly, strikeout, freehand ink with pressure smoothing, rectangular and circular vector callouts, customizable sticky notes, stamp watermarks. User Guide
Interactive AcroForms Native rendering and interactive editing of text fields, checkboxes, radio button groups, comboboxes, push buttons, form calculation events, and one-click flattening. User Guide
Direct Content Editing Real-time text block editing, typographical adjustments (font size, color, baseline), vector shape insertion, and image placement with aspect-ratio preservation. Content Limits
Cryptographic Signatures PKCS#7 / PAdES-BES digital signatures using local PKCS#12 (.p12 / .pfx) certificates, timestamping tokens, visual signature seals, and validation. Signatures
Irreversible Redaction Deep multi-pass redaction that strips underlying text glyphs, font character mappings, vector paths (Tj, TJ, Do), and raster images from PDF content streams. Redaction
Local Tesseract OCR Offline optical character recognition for scanned records, automatic orientation deskewing, searchable invisible text layer overlay. User Guide
Batch CLI Automation Headless command-line utility (pdfinity --headless-smoke / batch script) for bulk merging, splitting, converting, encrypting, and stamping. Batch Automation
Model Context Protocol (MCP) Stdio JSON-RPC MCP server integration allowing local agentic assistants to inspect, annotate, and transform documents safely. MCP Guide
Remote Companion Controller Sandboxed local REST / WebSocket interface bound to 127.0.0.1 protected by bearer tokens for automation and remote workflows. Remote Spec

Security, Privacy & Architectural Invariants

PDFinity is engineered to adhere to strict security and privacy standards:

  1. 100% Air-Gapped & Offline Guarantee:

    • PDFinity makes zero outbound network connections.
    • No telemetry, no crash reporting beacons, no usage analytics, and no remote license validation.
    • All document processing, cryptographic verification, and OCR occur exclusively on your local CPU.
  2. Atomic File Operations & Zero-In-Place Modification:

    • PDFinity never mutates open documents in-place.
    • Modified documents are serialized to an isolated staging file on the target filesystem.
    • Cross-reference tables (xref) and trailer dictionaries are structurally validated before executing an atomic filesystem rename (MoveFileExW / renameat2), preventing document corruption upon power interruption.
  3. Verifiable Redaction Integrity:

    • Unlike superficial viewers that draw black rectangles over confidential information, PDFinity's redaction engine parses and reconstructs the underlying PDF content streams.
    • Text operators, character widths, font descriptors, and underlying image tiles are permanently removed from the object graph.
  4. Sandboxed Local IPC:

    • The MCP stdio server and Remote Controller communicate exclusively via local process pipes or loopback sockets (127.0.0.1).
    • All remote commands require cryptographically secure bearer authentication tokens generated per session.

Non-Developer Quickstart

Windows 10 / 11

Choose from three official distribution packages:

  • Setup Wizard (PDFinity-Setup-x64.exe): Download the installer from Releases, run the wizard, and follow the on-screen steps.
    • Silent enterprise deployment:
      PDFinity-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /TASKS="fileassoc"
  • Enterprise MSI (PDFinity-x64.msi): Deploy silently via Active Directory Group Policy (GPO) or Microsoft Intune:
    msiexec /i PDFinity-x64.msi /qn /norestart
  • Portable Zero-Footprint ZIP (PDFinity-windows-x64-portable.zip): Extract the ZIP archive to any directory or removable drive and run PDFinity.exe. Configuration data is stored locally in data/, leaving the Windows Registry completely untouched.

Linux Distributions

PDFinity natively packages for all major Linux distributions:

Debian, Ubuntu & Linux Mint (.deb)

sudo apt install ./pdfinity_amd64.deb

Arch Linux & Manjaro (PKGBUILD)

cd packaging/linux/arch
makepkg -si

Fedora, RHEL & openSUSE (.rpm)

# Fedora / RHEL
sudo dnf install ./pdfinity.x86_64.rpm

# openSUSE
sudo zypper install ./pdfinity.x86_64.rpm

Universal Standalone AppImage

chmod +x PDFinity-x86_64.AppImage
./PDFinity-x86_64.AppImage

Sandboxed Flatpak

flatpak-builder --user --install --force-clean build-dir packaging/linux/flatpak/com.stacksyncsolutions.pdfinity.yml
flatpak run com.stacksyncsolutions.pdfinity

macOS (Apple Silicon & Intel)

  1. Download PDFinity.dmg from the Releases page.
  2. Double-click to mount the disk image.
  3. Drag PDFinity.app into your /Applications directory.
  4. Launch PDFinity from Spotlight or Launchpad.

Android (Phones & Tablets)

PDFinity provides full mobile document viewing, page reordering, and annotation:

  • Standalone APK (PDFinity-release.apk): Download from the official Releases page or F-Droid, or sideload via Android Debug Bridge (ADB):
    adb install -r PDFinity-release.apk
  • Android App Bundle (PDFinity-release.aab): Built for Google Play Store and modern app stores. To deploy locally using bundletool:
    bundletool build-apks --bundle=PDFinity-release.aab --output=pdfinity.apks --mode=universal
    bundletool install-apks --apks=pdfinity.apks
  • Storage Access Framework (SAF): PDFinity requests zero broad storage permissions (MANAGE_EXTERNAL_STORAGE), communicating exclusively through Android's secure system document picker to open and save files on internal storage, SD cards, and USB drives.

Developer Guide & Build Instructions

PDFinity utilizes modern CMake with standardized presets for deterministic, reproducible builds.

Prerequisites by Platform

Operating System Compiler & Toolchain Dependencies Package Installation
Windows x64 MSVC 2022 / 2026 (C++20), CMake 3.25+, Ninja Qt 6.8+ LTS (msvc2022_64), Windows SDK Visual Studio Installer or vcpkg install
Ubuntu / Debian GCC 11+ or Clang 14+, CMake 3.25+, Ninja Qt 6 Base, Mesa GL, xkbcommon sudo apt install build-essential cmake ninja-build qt6-base-dev libgl1-mesa-dev libxkbcommon-dev
Arch Linux GCC 11+ / Clang, CMake, Ninja Qt 6 Base, Mesa sudo pacman -S base-devel cmake ninja qt6-base mesa
Fedora / RHEL GCC 11+ / Clang, CMake, Ninja Qt 6 Base, Mesa GL sudo dnf install @development-tools cmake ninja-build qt6-qtbase-devel mesa-libGL-devel
macOS Xcode 15+ (Apple Clang), CMake 3.25+, Ninja Qt 6.8+ LTS brew install cmake ninja qt@6
Android Android NDK r25b+, Android SDK API 34+ Qt 6 for Android (arm64-v8a) Qt Maintenance Tool -> Android component

CMake Presets & Build Workflow

1. Windows x64 (MSVC 2022/2026)

Open the Visual Studio Developer Command Shell:

:: Configure Release build
cmake --preset windows-x64-release

:: Compile all targets
cmake --build --preset windows-x64-release

:: Execute automated test suite
ctest --preset windows-x64-release --output-on-failure

:: Run PDFinity
.\build\windows-x64-release\bin\PDFinity.exe

2. Linux x64 (GCC / Clang)

# Configure and build
cmake --preset linux-x64-release
cmake --build --preset linux-x64-release

# Run tests in virtual framebuffer
xvfb-run ctest --preset linux-x64-release --output-on-failure

# Launch PDFinity
./build/linux-x64-release/bin/PDFinity

3. macOS (Apple Silicon / Intel)

cmake --preset macos-release
cmake --build --preset macos-release
ctest --preset macos-release --output-on-failure
open ./build/macos-release/bin/PDFinity.app

Command-Line Diagnostics & Headless Smoke Tests

The PDFinity binary supports runtime diagnostic switches:

:: Query version, lead programmer, and copyright info
PDFinity.exe --version

:: Print structured authorship and attribution details
PDFinity.exe --about

:: Execute headless smoke test and return exit code 0
PDFinity.exe --headless-smoke

:: Launch and directly load a target document
PDFinity.exe "C:\Documents\Contract.pdf"

Documentation Index

Explore the comprehensive technical and operational documentation:

Document Description
Architecture Specification Subsystem breakdown, dual-engine abstraction, thread topology, and data flow.
Build & Compilation Guide In-depth compiler setup, dependencies, and packaging steps for all platforms.
Installation & Deployment Guide Enterprise silent deployment, MSI switches, portable mode, and package managers.
Target Platform Support Hardware requirements, OS support matrix, and High-DPI handling.
End-User Manual Step-by-step walkthrough of viewing, editing, annotating, signing, and printing.
Android Port & Architecture Storage Access Framework, Android NDK bridge, and touch interaction model.
Batch Automation CLI Command-line parameters, headless transformations, and bulk processing scripts.
Model Context Protocol Guide JSON-RPC stdio integration guide for local AI developer tooling.
Remote Controller Specification REST / WebSocket API specification for localhost companion remote control.
Redaction & Sanitization Technical analysis of multi-pass redaction, metadata scrub, and stream reconstruction.
Signatures & Cryptography PKCS#7 / PAdES signing, X.509 certificate parsing, and certificate store integration.
Standards Compliance ISO 32000-1 (PDF 1.7), ISO 32000-2 (PDF 2.0), and PDF/A compliance specifications.
Supported Formats File formats, compression algorithms, image types, and export pipelines.
Content Editing Limits Safe boundaries, font subsetting policies, and layout reflow behaviors.
Software Bill of Materials Complete component inventory, licenses, and SHA-256 integrity hashes.
Security Policy Vulnerability reporting procedures, threat model, and security disclosure policy.
Contributing Guidelines Code style conventions, git commit standards, and pull request workflows.
Third-Party Licenses Legal attributions and license texts for all linked open-source libraries.
Changelog Release history, feature additions, fixes, and version progression.

Authorship & License

PDFinity — Professional Modular Offline-First PDF Productivity Suite
Copyright (c) 2026 StackSync Solutions. Lead Programmer: Jake Ashley Panlilio.
Covered Software is provided under the terms of the Mozilla Public License, v. 2.0.

Built with precision and care for sovereign, private, and local document computing.

About

A privacy-focused PDF toolkit built with C++20 and Qt 6. View, organize, annotate, sign, and redact PDFs offline, with CLI automation and Model Context Protocol (MCP) integration.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages