Skip to content

Secure PDF protector: convert to images, apply blur/noise, embed random watermarks, lock with qpdf (extract=no). Anti-copas, anti-OCR, no password needed. Ghostly defense for your files.

License

Notifications You must be signed in to change notification settings

RozhakDev/GhostPdfShield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GhostPdfShield - Invisible PDF Fortress

GhostPdfShield Banner

Lindungi tugasmu seperti hantu tak terlihat — anti-copas, anti-OCR, tetap bisa dibaca.

CLI tool untuk secure PDF: konversi ke gambar, tambah blur/noise, watermark acak, lock dengan qpdf (extract=no, modify=none). Tanpa password user, tapi tak tergoyahkan.

Installation

Windows

  1. Install Docker Desktop: https://www.docker.com/products/docker-desktop

  2. Clone GhostPdfShield:

    git clone https://github.com/RozhakDev/GhostPdfShield.git
    cd GhostPdfShield
  3. Build image Docker:

    docker build -t ghostpdfshield .
  4. Gunakan GhostPdfShield:

    PowerShell:

    $fullpath = $PWD.Path -replace '\\','/'
    docker run --rm -v "${fullpath}:/app/workdir" ghostpdfshield sh -c "./ghostpdfshield /app/workdir/examples/input_tugas.pdf --output /app/workdir/output.pdf"

    Command Prompt:

    docker run --rm -v "%cd%:/app/workdir" ghostpdfshield sh -c "./ghostpdfshield /app/workdir/examples/input_tugas.pdf --output /app/workdir/output.pdf"

    Alternative for WSL/Docker Desktop on Windows:

    docker run --rm -v "/host_mnt/c/Path/To/GhostPdfShield:/app/workdir" ghostpdfshield ./ghostpdfshield workdir/examples/input_tugas.pdf --output workdir/output.pdf

Linux/macOS

git clone https://github.com/RozhakDev/GhostPdfShield.git
cd GhostPdfShield
chmod +x ghostpdfshield

Dependencies: poppler-utils imagemagick qpdf

Usage

./ghostpdfshield input.pdf [options]
Option Deskripsi Default
--output <file> Nama output input_secure.pdf
--blur <0-9> Level blur 0
--noise <0-9> Level noise 0
--watermark-count <n> Jumlah watermark per halaman 5
--no-watermark Skip watermark -
--watermark-list <file> Custom list watermark src/config/watermark_list.txt
--owner-pass <pass> Owner password (random jika kosong) random 16-char

Contoh:

./ghostpdfshield examples/input_tugas.pdf --blur 1 --noise 2 --output aman.pdf

Output Example

[INIT] GhostPdfShield v1.0 - Secure Mode Activated
[1/6] Converting PDF to images... Done (7 pages)
[2/6] Applying effects... Done
[3/6] Embedding watermarks... Done
[4/6] Recombining... Done
[5/6] Securing... Done → aman.pdf
[6/6] Cleaning up... Done
[OUTPUT] Secure PDF ready: aman.pdf

License

MIT © Rozhak – Dibuat dengan cinta untuk Kamu yang selalu jadi prioritas utama. 💕

About

Secure PDF protector: convert to images, apply blur/noise, embed random watermarks, lock with qpdf (extract=no). Anti-copas, anti-OCR, no password needed. Ghostly defense for your files.

Topics

Resources

License

Stars

Watchers

Forks