{"id":13858698,"url":"https://github.com/spl/homebrew-pdftk","last_synced_at":"2025-07-14T01:31:28.633Z","repository":{"id":13227370,"uuid":"15911790","full_name":"spl/homebrew-pdftk","owner":"spl","description":"(UNMAINTAINED) Homebrew Formula for PDFtk Server","archived":true,"fork":false,"pushed_at":"2016-10-24T16:51:45.000Z","size":11,"stargazers_count":54,"open_issues_count":0,"forks_count":6,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-06T03:05:49.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-14T18:50:37.000Z","updated_at":"2023-06-11T13:25:21.000Z","dependencies_parsed_at":"2022-08-24T11:01:10.774Z","dependency_job_id":null,"html_url":"https://github.com/spl/homebrew-pdftk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fhomebrew-pdftk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fhomebrew-pdftk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fhomebrew-pdftk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fhomebrew-pdftk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spl","download_url":"https://codeload.github.com/spl/homebrew-pdftk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225938647,"owners_count":17548525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:02:17.911Z","updated_at":"2024-11-22T17:30:21.009Z","avatar_url":"https://github.com/spl.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Homebrew Formula for PDFtk Server\n\nThis is a [Homebrew](http://brew.sh/) formula for [PDFtk\nServer](https://www.pdflabs.com/tools/pdftk-server/), the\n[GPL-licensed](https://www.pdflabs.com/docs/pdftk-license/) version of\n[PDFtk](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/), a PDF toolkit.\n\n[![Maintenance](https://img.shields.io/maintenance/no/2013.svg)](http://stackoverflow.com/questions/32505951/pdftk-server-on-os-x-10-11)\n\n**NOTICE!** _This project is no longer maintained. The author of PDFtk has not released\na new source distribution [since July 24, 2013](https://www.pdflabs.com/docs/pdftk-version-history/).\nThe latest source release (2.02) does not work for Mac OS X 10.11 (El Capitan) and above.\nSee [this Stack Overflow post](http://stackoverflow.com/questions/32505951/pdftk-server-on-os-x-10-11)\nfor a binary distribution and alternatives to PDFtk._\n\n## Features\n\nFrom the [PDFtk Server website](https://www.pdflabs.com/tools/pdftk-server/),\nPDFtk Server can:\n\n* Merge PDF documents or collate PDF page scans\n* Split PDF pages into a new document\n* Rotate PDF documents or pages\n* Decrypt input as necessary (password required)\n* Encrypt output as desired\n* Fill PDF forms with X/FDF data and/or flatten forms\n* Generate FDF data stencils from PDF forms\n* Apply a background watermark or a foreground stamp\n* Report PDF metrics, bookmarks and metadata\n* Add/update PDF bookmarks or metadata\n* Attach files to PDF pages or the PDF document\n* Unpack PDF attachments\n* Burst a PDF document into single pages\n* Uncompress and re-compress page streams\n* Repair corrupted PDF (where possible)\n\n## Installation\n\nTo install PDFtk Server, first install Homebrew by running this command at the\nshell prompt:\n\n```\n$ ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n```\n\nSee the [Homebrew installation\ninstructions](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Installation.md#installation)\nfor more information.\n\nThen, use [`brew\ntap`](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md#brew-tap)\nto track the\n[`spl/homebrew-pdftk`](https://github.com/spl/homebrew-pdftk)\nrepository:\n\n```\n$ brew tap spl/pdftk\n```\n\nFinally, install the `pdftk` formula:\n\n```\n$ brew install pdftk\n```\n\nNote that this formula requires the\n[`ecj`](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ecj.rb)\n(for Java) and\n[`gcc`](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gcc.rb)\n(for `gcj`) formulas. By default, it requires `gcc` with the\n`--with-all-languages` flag. You can pass `--with-java` to `brew install pdftk`\nif you prefer to install `gcc` with only Java support (or if you already have\nthat version of `gcc` installed).\n\nTo confirm that installation worked:\n\n```\n$ which pdftk\n/usr/local/bin/pdftk\n$ pdftk --version\n\npdftk 2.02 a Handy Tool for Manipulating PDF Documents\nCopyright (c) 2003-13 Steward and Lee, LLC - Please Visit: www.pdftk.com\nThis is free software; see the source code for copying conditions. There is\nNO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n```\n\n## Usage\n\nTyping `pdftk` at the shell prompt gives you a summary of commands:\n\n```\n$ pdftk\nSYNOPSIS\n       pdftk \u003cinput PDF files | - | PROMPT\u003e\n            [ input_pw \u003cinput PDF owner passwords | PROMPT\u003e ]\n            [ \u003coperation\u003e \u003coperation arguments\u003e ]\n            [ output \u003coutput filename | - | PROMPT\u003e ]\n            [ encrypt_40bit | encrypt_128bit ]\n            [ allow \u003cpermissions\u003e ]\n            [ owner_pw \u003cowner password | PROMPT\u003e ]\n            [ user_pw \u003cuser password | PROMPT\u003e ]\n            [ flatten ] [ need_appearances ]\n            [ compress | uncompress ]\n            [ keep_first_id | keep_final_id ] [ drop_xfa ] [ drop_xmp ]\n            [ verbose ] [ dont_ask | do_ask ]\n       Where:\n            \u003coperation\u003e may be empty, or:\n            [ cat | shuffle | burst | rotate |\n              generate_fdf | fill_form |\n              background | multibackground |\n              stamp | multistamp |\n              dump_data | dump_data_utf8 |\n              dump_data_fields | dump_data_fields_utf8 |\n              dump_data_annots |\n              update_info | update_info_utf8 |\n              attach_files | unpack_files ]\n\n       For Complete Help: pdftk --help\n```\n\nFor a detailed description, refer to the man page:\n\n```\n$ man pdftk\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Fhomebrew-pdftk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspl%2Fhomebrew-pdftk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Fhomebrew-pdftk/lists"}