{"id":18104894,"url":"https://github.com/mtgrosser/pdfunite","last_synced_at":"2025-04-13T19:31:12.729Z","repository":{"id":22876536,"uuid":"26224485","full_name":"mtgrosser/pdfunite","owner":"mtgrosser","description":"Merge PDF files with Ruby, no Java required","archived":false,"fork":false,"pushed_at":"2023-04-21T21:29:18.000Z","size":121,"stargazers_count":38,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T13:31:14.500Z","etag":null,"topics":["joining-pdf-files","pdf","pdf-files","pdfunite","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtgrosser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-11-05T15:01:03.000Z","updated_at":"2024-10-12T04:44:20.000Z","dependencies_parsed_at":"2024-06-20T17:31:52.448Z","dependency_job_id":"ae3da413-5969-4eed-b0a3-271df10fdab9","html_url":"https://github.com/mtgrosser/pdfunite","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.23809523809523814","last_synced_commit":"51b994850d24da1e075c3f16433c9e90a2359511"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtgrosser%2Fpdfunite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtgrosser%2Fpdfunite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtgrosser%2Fpdfunite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtgrosser%2Fpdfunite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtgrosser","download_url":"https://codeload.github.com/mtgrosser/pdfunite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223602673,"owners_count":17171952,"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":["joining-pdf-files","pdf","pdf-files","pdfunite","ruby"],"created_at":"2024-10-31T22:16:16.060Z","updated_at":"2024-11-07T23:03:00.017Z","avatar_url":"https://github.com/mtgrosser.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/pdfunite.svg)](http://badge.fury.io/rb/pdfunite)\n[![build](https://github.com/mtgrosser/pdfunite/actions/workflows/build.yml/badge.svg)](https://github.com/mtgrosser/pdfunite/actions/workflows/build.yml)\n# Pdfunite\n\nMerge PDF files with Ruby.\n\nPdfunite is a Ruby wrapper for the pdfunite command line tool. No Java required.\n\n## Installation\n\nPdfunite requires the ```pdfunite``` command line tool, which uses the `poppler` library.\n\n### Linux\n\nInstall the `poppler-utils` package using your package manager.\n\n### OS X\n\nInstall `poppler` using Homebrew.\n\n### In your app\n\nAdd this line to your application's Gemfile:\n\n```ruby\n# Gemfile\ngem 'pdfunite'\n```\n\n## Usage\n\n```ruby\n# Join existing PDF files\npdf_data = Pdfunite.join('file1.pdf', 'file2.pdf', 'file3.pdf')\nFile.open('joined.pdf', 'wb') { |f| f \u003c\u003c pdf_data }\n\n# Join PDF binary data provided by a collection of objects\npdf_data = Pdfunite.join(objects) { |obj| obj.to_pdf }\n```\n\n## Optional configuration\n\n```ruby\n# Set pdfunite binary (defaults to the binary on PATH)\nPdfunite.binary = '/opt/local/bin/pdfunite'\n\n# Set custom logger (defaults to STDOUT)\nPdfunite.logger = Logger.new('pdfunite.log')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtgrosser%2Fpdfunite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtgrosser%2Fpdfunite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtgrosser%2Fpdfunite/lists"}