{"id":37091190,"url":"https://github.com/anastasop/pdfcovers","last_synced_at":"2026-01-14T11:02:57.678Z","repository":{"id":57573759,"uuid":"191237628","full_name":"anastasop/pdfcovers","owner":"anastasop","description":"Pdfcovers takes a list of pdf files and generates a pdf containing the first page (cover) of each one.","archived":false,"fork":false,"pushed_at":"2019-06-10T20:16:13.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T09:14:27.995Z","etag":null,"topics":["document-management","go"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anastasop.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}},"created_at":"2019-06-10T20:04:09.000Z","updated_at":"2022-11-14T13:54:47.000Z","dependencies_parsed_at":"2022-09-26T19:01:27.107Z","dependency_job_id":null,"html_url":"https://github.com/anastasop/pdfcovers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anastasop/pdfcovers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastasop%2Fpdfcovers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastasop%2Fpdfcovers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastasop%2Fpdfcovers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastasop%2Fpdfcovers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anastasop","download_url":"https://codeload.github.com/anastasop/pdfcovers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastasop%2Fpdfcovers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["document-management","go"],"created_at":"2026-01-14T11:02:57.126Z","updated_at":"2026-01-14T11:02:57.672Z","avatar_url":"https://github.com/anastasop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdfcovers\n\nPdfcovers takes a list of pdf files and generates a pdf containing the first page (cover) of each one.\n\nIt can help you cope with archives, usually external disks, which contains pdfs with cryptic names like _TR023213.pdf download.pdf paper.pdf MIT-LCS-1021.pdf_ etc and you no longer remember how you acquired each one. Pdfcovers also adds a text annotation to each page with the full path name of the origin pdf so that you can retrieve it.\n\n## Installation\n\nPdfcovers is written in Go and tested with go1.12. It can be easily installed with the go tool\n\n```\ngo get github.com/anastasop/pdfcovers\n```\n\n## Usage\n\n```\npdfcovers [-s] [-o file] [-lf \u003clicense file\u003e] [-ln \u003ccustomer name\u003e] [pdf files]\n```\n\nThe `-o` flag causes it to output the pdf result to file, otherwise to stdout\n\nThe `-s` flag causes it to read a lists of filenames from stdin, usually with find like `find . -name *.pdf | pdfcovers -s`. If both arguments files and `-s` are used then the argument files are displayed first in the output. This can be used to add a cover to the collection.\n\nThe `-lf` optional flag point to a file containing a license from [unidoc](https://unidoc.io/). See the section on licensing for details.\n\nThe `-ln` optional flag is the [unidoc](https://unidoc.io/) customer name for the license. See the section on licensing for details.\n\n## Examples\n\n```\n# extract the covers of all pdfs in the current directory\npdfcovers -o index.pdf *.pdf\n\n# extract the covers of all pdfs in the current directory\n# and redirect the output to a display program\npdfcovers *.pdf | 9 page\n\n# extract the covers of all pdfs in the current directory tree\nfind . -name *.pdf | pdfcovers -s -o index.pdf\n\n# extract the covers of all pdfs in the current directory tree\n# and add a cover page to the outpus\nfind . -name *.pdf | pdfcovers -s -o index.pdf cover-page.pdf\n\n# Another way to extract the covers without the -s flag\nfind . -name *.pdf -exec pdfcovers -o index.pdf '{}' '+'\n```\n\n## License\n\nPdfcovers is licensed under the [AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html) This is a requirement by [unidoc](https://unidoc.io/), the creators of [unipdf](https://github.com/unidoc/unipdf), the library that powers pdfcovers. You can check the above links for details on licensing.\n\nIf you don't have a unidoc license you can use pdfcovers but a watermark appears to the bottom of each page. Also it prints `Unlicensed copy of unidoc. To get rid of the watermark - Please get a license on https://unidoc.io`. This is not a major issue as pdfcovers is for personal use and the output is not excepted to be published. If however this is annoying you can [apply to unidoc](https://unidoc.io/pricing/) for a free license and use the `-lf` and `-ln` flag to hide the watermark.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanastasop%2Fpdfcovers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanastasop%2Fpdfcovers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanastasop%2Fpdfcovers/lists"}