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.
-
Install Docker Desktop: https://www.docker.com/products/docker-desktop
-
Clone GhostPdfShield:
git clone https://github.com/RozhakDev/GhostPdfShield.git cd GhostPdfShield -
Build image Docker:
docker build -t ghostpdfshield . -
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
git clone https://github.com/RozhakDev/GhostPdfShield.git
cd GhostPdfShield
chmod +x ghostpdfshieldDependencies: poppler-utils imagemagick qpdf
./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[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
MIT © Rozhak – Dibuat dengan cinta untuk Kamu yang selalu jadi prioritas utama. 💕
