r/commandline 13d ago

Command Line Interface Presse - fast PDFs compression and merging in your terminal

Recently shipped a new version of my PDFs manipulation CLI, now supporting PDFs merging.

presse press file.pdf          # compress
presse merge a.pdf b.pdf       # merge

Runs entirely locally — no network, nothing leaves your machine. I benchmarked it against Ghostscript /ebook over 19 real-world PDFs:

- 7× faster (0.135s vs 0.927s mean)

- Better compression on pre-optimized documents where Ghostscript inflates.

Supports batch processing, custom output paths, JPEG quality tuning (`--quality`), and optional compression on merge.

Yesterday I released pre-built binaries for Linux (musl), macOS (Intel + Apple Silicon), and Windows.

If you wanna check the code: https://github.com/SimonBure/presse
Feedback welcome!

See you guys online...

4 Upvotes

1 comment sorted by

1

u/AutoModerator 13d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: amphioctopus, Flair: Command Line Interface, Title: Presse - fast PDFs compression and merging in your terminal

Recently shipped a new version of my PDFs manipulation CLI, now supporting PDFs merging.

presse press file.pdf          # compress
presse merge a.pdf b.pdf       # merge

Runs entirely locally — no network, nothing leaves your machine. I benchmarked it against Ghostscript /ebook over 19 real-world PDFs:

- 7× faster (0.135s vs 0.927s mean)

- Better compression on pre-optimized documents where Ghostscript inflates.

Supports batch processing, custom output paths, JPEG quality tuning (`--quality`), and optional compression on merge.

Yesterday I released pre-built binaries for Linux (musl), macOS (Intel + Apple Silicon), and Windows.

If you wanna check the code: https://github.com/SimonBure/presse
Feedback welcome!

See you guys online...

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.