{"id":13574529,"url":"https://github.com/ksharindam/pdfcook","last_synced_at":"2026-03-04T16:33:34.443Z","repository":{"id":42123497,"uuid":"356877135","full_name":"ksharindam/pdfcook","owner":"ksharindam","description":"Prepress preparing tool and PDF editor","archived":false,"fork":false,"pushed_at":"2024-01-01T12:40:03.000Z","size":127,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-05T09:44:47.296Z","etag":null,"topics":["pdf","pdf-document-processor","pdf-editor","prepress"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksharindam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-11T13:36:10.000Z","updated_at":"2024-08-17T10:48:58.000Z","dependencies_parsed_at":"2023-12-21T09:54:12.763Z","dependency_job_id":"9cb712fd-c39f-433e-accf-791e717ba06f","html_url":"https://github.com/ksharindam/pdfcook","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksharindam%2Fpdfcook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksharindam%2Fpdfcook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksharindam%2Fpdfcook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksharindam%2Fpdfcook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksharindam","download_url":"https://codeload.github.com/ksharindam/pdfcook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247202707,"owners_count":20900829,"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":["pdf","pdf-document-processor","pdf-editor","prepress"],"created_at":"2024-08-01T15:00:52.410Z","updated_at":"2026-03-04T16:33:34.434Z","avatar_url":"https://github.com/ksharindam.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# pdfcook\nPreprinting preparation tool for PDF ebooks.  \n\n### Build and Install\nEnter directory src  \n`cd src`  \nrun  \n```\nmake -j4  \nsudo make install  \n```  \nInstall manpage  \n`sudo make installman`  \n\n**Windows Build**  \nOn windows create a folder build/ beside src/ directory.  \nAnd edit Makefile and remove lines with  \n`\t@mkdir -p $(@D)`  \nThen to build run...  \n `make -j4`  \n\n### Features\n* PDF v1.7 support  \n* Decrypt encrypted PDFs  \n* Join or Split PDFs  \n* Scale to any paper size, with specified margin  \n* Write Page numbers  \n* Write text  \n* Transform pages (rotate, flip, move)  \n* Booklet format arrange  \n* 2 or 4 pages per page (2-up, 4-up)  \n* More readable output syntax for easy debugging  \n\n### Usage\nSee manual page (PDF or man page) for detailed usage  \n\nScale to print in A4 size paper  \n`pdfcook 'scaleto(a4)' input.pdf output.pdf`  \n\nAdd binding margin after scaling (? for odd pages, + for even pages)  \n`pdfcook 'scaleto(a4) move(20){?} move(-20){+}' input.pdf output.pdf`  \n\nAdd page numbers  \n`pdfcook 'number' input.pdf output.pdf`  \n\nBooklet format  \n`pdfcook 'book nup(2, paper=a4)' input.pdf output.pdf`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksharindam%2Fpdfcook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksharindam%2Fpdfcook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksharindam%2Fpdfcook/lists"}