@spark-apps/pdfile
v1.0.4
Published
A comprehensive PDF utility toolkit for document manipulation
Maintainers
Readme
Comprehensive PDF Utility Toolkit for Windows
✨ Features
- Merge PDFs - Combine multiple PDF files into one
- PDF to Word - Convert PDFs to editable .docx format
- Add Signature - Add PNG signatures with automatic background removal
- Insert Date - Add today's date in various formats
- Remove Pages - Delete specific pages from PDFs
- Reorder Pages - Rearrange or move pages up/down
- Rotate Pages - Rotate pages 90°, 180°, or 270°
All PDF exports are automatically compressed for optimal file size.
📥 Installation
npm install -g @spark-apps/pdfile
pdfile install # Add Windows context menuRequirements:
- Windows with WSL (Windows Subsystem for Linux)
- Node.js >= 18
- ImageMagick (optional, for signature background removal):
sudo apt install imagemagick
📖 Usage
CLI Commands
# Merge PDFs
pdfile merge file1.pdf file2.pdf -o output.pdf
# Convert to Word
pdfile to-word document.pdf
# Add signature (auto-removes background)
pdfile sign document.pdf signature.png
# Insert date
pdfile insert-date document.pdf -f "MM/DD/YYYY"
# Remove pages
pdfile remove-pages document.pdf -p "1,3,5"
# Reorder pages
pdfile reorder document.pdf -n "3,1,2"
pdfile move-page document.pdf 2 up
# Rotate pages
pdfile rotate document.pdf -r 90Windows Context Menu
Right-click any PDF in Windows Explorer to access tools via GUI:
pdfile install # Enable context menu
pdfile uninstall # Disable context menu🔧 Technical Details
Built with pdf-lib, pdf-parse, and docx. All PDFs are compressed with object streams for optimal file size.
🌱 Support & Contributions
⭐ Star the repo & I power up like Mario 🍄
☕ Devs run on coffee
🤝 Contributions are welcome
💖 Sponsor
If you find PDFile useful, please consider sponsoring the project! Your support helps maintain and improve the toolkit.
Released under AGPL-3.0 License | Privacy Policy
