PDFStacker CLI is a simple command-line utility for merging/binding a list of PDF files together.
add <path> - Add a PDF file to the list
list - Show current PDFs in the list
startover - Remove everything and start over
remove <indexNumber> - Remove PDF at given position
move <currentIndex> -> <newIndex> - Move a PDF in the list
merge <output.pdf> - Merge all PDFs into one file
scanf - Scan a folder for PDFs
scanfd - Scan a folder and its subdirectories for all PDFs
donate - Donate to support development
exit - Exit the application
Download the .exe from the Releases page and double-click to run the application.
No additional installation is required.
- Ensure Java 17 or newer is installed.
Check your Java version:
java -versionClone the repository:
git clone https://github.com/yourusername/PDFStacker.git
cd PDFStackerCompile the project:
javac -d out src/*.javaRun the application:
java -cp out App- Java 17+ (JDK recommended)
- Apache PDFBox (included via Maven or Gradle)
- Terminal / console that supports ANSI colors (optional for colored output)
