Preview dustjackets, covers, and interior pages of print books before publication https://momovu.org
  • Python 99.5%
  • Makefile 0.5%
Find a file
2025-09-02 12:49:34 -06:00
docs Add font window screenshots to docs 2025-08-28 12:05:19 -06:00
samples Update Quixote sample cover 2025-08-27 19:11:06 -06:00
scripts mv vulture whitelist under scripts 2025-08-19 12:25:19 -06:00
src/momovu App changes for better testing 2025-09-02 10:16:22 -06:00
tests Add more main tests 2025-09-02 12:49:34 -06:00
.gitignore Don't ignore gettext pot files 2025-08-19 18:17:50 -06:00
BUILD.md Add dev build howto 2025-08-20 17:31:13 -06:00
CHANGELOG.txt v1.6.6 2025-08-28 12:05:51 -06:00
LICENSE-apache.txt Apache 2.0 2025-07-28 10:37:43 -06:00
Makefile Add msgmerge make command for CLI gettext po 2025-08-19 18:22:34 -06:00
MANIFEST.in Don't include build doc when distributing 2025-08-20 17:32:19 -06:00
pyproject.toml Initial support for font info window 2025-08-28 09:10:14 -06:00
pytest.ini really suppress mupdf warnings in pytests 2025-08-29 11:56:27 -06:00
README.md Notes on jump 2025-08-24 14:03:41 -06:00
SPINE-WIDTH.md Update preferences screenshots 2025-08-23 14:18:28 -06:00

Momovu

Preview dustjackets, covers, and interior pages of print books before publication

Momovu is an based application for visualizing safety margins, spine widths, and dustjacket layouts on PDF documents. It helps publishers and designers ensure proper margins before sending books to print.

Momovu proofing a dustjacket

Features

  • PDF Margin Visualization: Preview safety margins on any PDF document
  • Multiple Document Types: Support for interior pages, covers, and dustjackets
  • Interactive Navigation: Zoom, pan, and navigate through pages
  • Presentation Mode: Full-screen presentation for reviewing layouts
  • Configurable Margins: Customizable safety margins and spine dimensions
  • Performance Optimized: Efficient rendering with caching and spatial indexing

Installation

System Requirements

  • Python 3.9 or higher

Dependencies (Debian)

sudo apt install python3-pip python3-venv python-is-python3

Install from PyPi

The easiest install, suit to taste:

pip install momovu

Install from Source

git clone https://spacecruft.org/books/momovu
cd momovu/
python -m venv venv
source venv/bin/activate
pip install -U setuptools pip wheel
pip install -e .

Usage

Basic Usage

# Preview margins on a PDF
momovu document.pdf

# Specify document type and page count
momovu --document cover --num-pages 300 book.pdf

# Jump to a specific page in an interior document
momovu samples/bovary-interior.pdf --jump 50

# Short form with other options
momovu samples/bovary-interior.pdf -j 50 --side-by-side

# Enable debug logging
momovu --debug document.pdf

Command Line Options

$ momovu --help
usage: momovu [-h] [-D] [-v] [-V] [-n N] [-d TYPE] [-j PAGE] [-s] [-m | --safety-margins | --no-safety-margins] [-t | --trim-lines | --no-trim-lines] [-b | --barcode | --no-barcode] [-l | --fold-lines | --no-fold-lines] [-p] [-f] [PDF_FILE]

Preview margins on book PDFs before publication.

positional arguments:
  PDF_FILE              Path to the PDF file to preview margins for

options:
  -h, --help            show this help message and exit
  -D, --debug           Enable debug logging
  -v, --verbose         Increase output verbosity (can be used multiple times)
  -V, --version         Show version and exit
  -n, --num-pages N     Set number of pages for spine calculations (must be positive)
  -d, --document TYPE   Set document type for margin calculations (interior, cover, dustjacket)
  -j, --jump PAGE       Jump to page number (interior documents only)
  -s, --side-by-side    Enable side-by-side dual page view mode
  -m, --safety-margins, --no-safety-margins
                        Show safety margins (default: enabled)
  -t, --trim-lines, --no-trim-lines
                        Show trim lines (default: enabled)
  -b, --barcode, --no-barcode
                        Show barcode area for cover/dustjacket (default: enabled)
  -l, --fold-lines, --no-fold-lines
                        Show fold lines for cover/dustjacket (default: enabled)
  -p, --presentation    Start in presentation mode
  -f, --fullscreen      Start in fullscreen mode

Example: momovu --num-pages 300 --document cover book.pdf

Development

For main development docs, see:

To build and add to PyPi:

pip install -e .[dev]
python -m build
python -m twine upload dist/*

Links

Status

Stable - Works well.

License

Apache 2.0 License. See LICENSE-apache.txt for details.

This is an unofficial project, not related to any upstream projects.

Copyright © 2025 Jeff Moe