Skip to content
/ makepdf Public

A CLI tool to concatenate images and PDFs into a single PDF file.

License

Notifications You must be signed in to change notification settings

gauden/makepdf

Repository files navigation

makepdf

A simple tool to concatenate images and PDFs into a single PDF file.

Fully created with Github Spec-kit and Google Gemini-CLI as a learning exercise. Do not install on your system.

Installation

It is recommended to install makepdf using uv.

uv tool install makepdf

Alternatively, you can build and install it from source.

Build from Source

  1. Clone the repository:

    git clone https://github.com/gauden/makepdf.git
    cd makepdf
  2. Build the package:

    python -m build
  3. Install using uv:

    uv tool install --from dist/makepdf-0.1.0-py3-none-any.whl
  4. Verify the installation:

    makepdf --version

Uninstallation

To uninstall the makepdf command, run:

uv tool uninstall makepdf

Usage

If no input files or directories are specified, makepdf will automatically process all supported files in the current working directory.

Concatenate all images and PDFs in a directory

makepdf /path/to/your/directory

This will create a file named output.pdf in your current directory.

Specify an output filename

makepdf /path/to/your/directory --output my-document.pdf

Concatenate specific files

makepdf file1.jpg file2.pdf file3.png

Append to an existing PDF

makepdf file1.jpg file2.png --start existing.pdf

About

A CLI tool to concatenate images and PDFs into a single PDF file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published