{"id":13529384,"url":"https://github.com/xilopaint/alfred-pdf-tools","last_synced_at":"2025-04-01T16:31:26.491Z","repository":{"id":38431996,"uuid":"64030501","full_name":"xilopaint/alfred-pdf-tools","owner":"xilopaint","description":"Optimize, encrypt and manipulate PDF files.","archived":false,"fork":false,"pushed_at":"2024-04-14T11:14:29.000Z","size":70104,"stargazers_count":152,"open_issues_count":1,"forks_count":11,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-24T04:15:09.445Z","etag":null,"topics":["alfred","alfred-workflow","alfred-workflows","pdf"],"latest_commit_sha":null,"homepage":"","language":"Python","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/xilopaint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-07-23T18:45:23.000Z","updated_at":"2025-03-12T08:18:45.000Z","dependencies_parsed_at":"2024-06-21T17:30:28.445Z","dependency_job_id":"27d1f03a-4f13-41cc-bc95-f0f7b967f797","html_url":"https://github.com/xilopaint/alfred-pdf-tools","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilopaint%2Falfred-pdf-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilopaint%2Falfred-pdf-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilopaint%2Falfred-pdf-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilopaint%2Falfred-pdf-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xilopaint","download_url":"https://codeload.github.com/xilopaint/alfred-pdf-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246670543,"owners_count":20815002,"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":["alfred","alfred-workflow","alfred-workflows","pdf"],"created_at":"2024-08-01T07:00:35.833Z","updated_at":"2025-04-01T16:31:22.694Z","avatar_url":"https://github.com/xilopaint.png","language":"Python","funding_links":[],"categories":["Python","Utility","Productivity"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eAlfred PDF Tools\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/xilopaint/alfred-pdf-tools/releases/latest\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/v/release/xilopaint/alfred-pdf-tools\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/xilopaint/alfred-pdf-tools/releases\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/downloads/xilopaint/alfred-pdf-tools/total\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/psf/black\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/PyCQA/pylint\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/linting-pylint-yellowgreen\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/PyCQA/bandit\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/security-bandit-yellow\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.codacy.com/gh/xilopaint/alfred-pdf-tools/dashboard\"\u003e\n  \u003cimg src=\"https://app.codacy.com/project/badge/Grade/3b9d7ae47ec34509a2ba833b0e0d5cc0\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.codacy.com/gh/xilopaint/alfred-pdf-tools/dashboard\"\u003e\n  \u003cimg src=\"https://app.codacy.com/project/badge/Coverage/3b9d7ae47ec34509a2ba833b0e0d5cc0\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"src/icon.png\"\u003e\n\u003c/p\u003e\n\nOptimize, encrypt and manipulate PDF files using [Alfred][1].\n\n## Usage\n\n**Alfred PDF Tools** can be used through the following [file actions][2]:\n\n* `Optimize`: Optimize the selected PDF files by entering the intended\n  resolution of the output file (150 dpi is used if no value is input) and the\n  document will be improved with increased contrast and straightened text.\n* `Deskew`: Straighten the selected PDF files with no further appearance changes.\n\n\u003e [!TIP]\n\u003e Invoke Alfred and type the `progress` keyword to track the enhancement\n\u003e process from either of the first two mentioned file actions.\n\n* `Encrypt`: Encrypt the selected PDF files by entering a password.\n* `Decrypt`: Decrypt the selected PDF files by entering their password or just\n  `↩` if they're not password protected.\n* `Merge`: Merge the selected PDF files. Use the `⌘` modifier key if you also\n  want to move the source files to Trash.\n* `Split by Page Count`: Split the selected PDF file by page count.\n* `Split by File Size`: Split the selected PDF file by file size.\n* `Slice in Multiple Files`: Slice the selected PDF file in multiple files by\n   entering page numbers and/or page ranges separated by commas (e.g. 2, 5-8, 20-).\n* `Slice in a Single File`: Slice the selected PDF file in a single file by\n  entering page numbers and/or page ranges separated by commas (e.g. 2, 5-8, 20-).\n* `Crop`: Convert two-column pages in single pages.\n* `Scale`: Scale the selected PDF files to a given paper size.\n* `Extract Text`: Extract the text from the selected PDF files.\n\n## Contribute\n\nTo report a bug or request a feature, please [create an issue][3] or [submit a\npull request][4].\n\n## Credits\n\nThis workflow relies on [pypdf][5] library by Martin Thoma, [docopt][6] by\nVladimir Keleshev and [K2pdfopt][7] by willus.\n\n[1]:http://www.alfredapp.com/\n[2]:https://www.alfredapp.com/blog/tips-and-tricks/file-actions-from-alfred-or-finder/\n[3]:https://github.com/xilopaint/alfred-pdf-tools/issues\n[4]:https://github.com/xilopaint/alfred-pdf-tools/pulls\n[5]:https://github.com/py-pdf/pypdf\n[6]:https://github.com/docopt/docopt\n[7]:http://www.willus.com/k2pdfopt/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilopaint%2Falfred-pdf-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxilopaint%2Falfred-pdf-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilopaint%2Falfred-pdf-tools/lists"}