Thanks to visit codestin.com
Credit goes to lib.rs

#pdf #assembly #convert #document #cli

app pagefuse

Your pages, your way — PDF, DOCX, images and more

3 unstable releases

0.1.1 Mar 19, 2026
0.1.0 Mar 9, 2026
0.0.1 Mar 5, 2026

#1361 in Text processing

MIT license

10KB
102 lines

PageFuse

Your pages, your way. Assemble pages from PDFs, Word docs, PowerPoint slides, images, HTML, and more into a single output — or split one document into many.

Install

cargo install pagefuse

Requires Python 3.9+ on your system. The pagefuse Python package is installed automatically on first run.

Alternatively, install the Python package directly:

pipx install pagefuse   # Linux (recommended)
pip install pagefuse    # macOS / Windows / venv

LibreOffice (optional)

Required only for Office and OpenDocument formats (.docx, .pptx, .odt, etc.). PDF, image, and HTML input/output work without it.

sudo apt install libreoffice   # Ubuntu / Debian
brew install --cask libreoffice  # macOS
# Windows: download from https://www.libreoffice.org/download

Usage

Inline — no config file needed

# Assemble pages from multiple files
pagefuse assemble output.pdf cover.pdf:1 report.docx:all slides.pptx:2-5

# Split one file into multiple outputs
pagefuse split report.pdf cover.pdf:1 body.pdf:2-10 appendix.docx:11-20

# Inspect any file
pagefuse info document.pdf

Config file (.fuse)

pagefuse assemble board_pack.fuse
pagefuse split split.fuse

Example board_pack.fuse:

output: board_pack.pdf
output: board_pack.docx

from: cover.pdf          1
from: financials.docx    all
from: slides.pptx        1-4

Page spec syntax

Spec Meaning
all Every page
5 Page 5 only
1-3 Pages 1 through 3
1,3,5 Pages 1, 3, and 5
1-3,5,7-9 Mixed ranges and singles

License management

pagefuse activate PF-XXXX-XXXX-XXXX-XXXX   # activate on this machine
pagefuse deactivate                          # free up an activation slot

30-day free trial, full access, no credit card required.

Supported Formats

Input: .pdf .docx .doc .pptx .ppt .odt .odp .ods .xlsx .xls .rtf .html .md .png .jpg .jpeg .tiff

Output: .pdf .docx .odt .pptx .odp .xlsx .ods .html .png .jpg .jpeg .tiff

Documentation

Full command reference, config format, and format compatibility: pagefuse.net/docs.html

Bug Reports & Feature Requests

Found a bug or have a feature request? Open an issue on GitHub: github.com/raptorgold14/pagefuse-support/issues

For license or billing issues: [email protected]

License

MIT

No runtime deps