{"id":31532655,"url":"https://github.com/a-nau/pdf-link-checker","last_synced_at":"2025-10-04T03:57:29.999Z","repository":{"id":65158660,"uuid":"583898354","full_name":"a-nau/pdf-link-checker","owner":"a-nau","description":"Github Action and CLI tool to automatically check all links in a PDF for dead or broken links.","archived":false,"fork":false,"pushed_at":"2023-02-12T21:03:42.000Z","size":22,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-23T04:19:47.571Z","etag":null,"topics":["check","cli","cli-app","github-actions","link","link-checker","pdf","pdf-generation","url"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/pdf-link-checker","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/a-nau.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":"2022-12-31T11:18:33.000Z","updated_at":"2025-09-11T23:09:47.000Z","dependencies_parsed_at":"2023-01-05T04:50:51.779Z","dependency_job_id":null,"html_url":"https://github.com/a-nau/pdf-link-checker","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"6b97dfa3461ef214be3840a365c20e82ca1c807c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/a-nau/pdf-link-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-nau%2Fpdf-link-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-nau%2Fpdf-link-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-nau%2Fpdf-link-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-nau%2Fpdf-link-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-nau","download_url":"https://codeload.github.com/a-nau/pdf-link-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-nau%2Fpdf-link-checker/sbom","scorecard":{"id":157772,"data":{"date":"2025-08-11","repo":{"name":"github.com/a-nau/pdf-link-checker","commit":"6b97dfa3461ef214be3840a365c20e82ca1c807c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/pypi_publish.yml:17","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi_publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/a-nau/pdf-link-checker/pypi_publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi_publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/a-nau/pdf-link-checker/pypi_publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/a-nau/pdf-link-checker/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/a-nau/pdf-link-checker/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.9-slim to python:3.9-slim@sha256:4b826e2ca2191c24a03bdbf0c342a73c6ee4ce929eac5ebc47fef78f66b839d6","Warn: pipCommand not pinned by hash: Dockerfile:7","Warn: pipCommand not pinned by hash: .github/workflows/pypi_publish.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/pypi_publish.yml:33","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-jrm6-h9cq-8gqw","Warn: Project is vulnerable to: PYSEC-2022-194 / GHSA-xcjx-m2pj-8g79"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T12:20:48.062Z","repository_id":65158660,"created_at":"2025-08-16T12:20:48.063Z","updated_at":"2025-08-16T12:20:48.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278262444,"owners_count":25957938,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["check","cli","cli-app","github-actions","link","link-checker","pdf","pdf-generation","url"],"created_at":"2025-10-04T03:57:28.838Z","updated_at":"2025-10-04T03:57:29.987Z","avatar_url":"https://github.com/a-nau.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Link Checker\n\nGithub Action and CLI tool to automatically check all links in a PDF for availability to find dead or broken links.\n\n## Usage\n\nInstall the package using `pip`\n\n```shell\npip install pdflinkchecker-cli\n```\n\nand use it as a CLI tool\n\n```shell\npdflinkchecker .                          # to search for and check all pdfs in the current directory recursively\npdflinkchecker path/to/pdf                # to check a specific file\npdflinkchecker path/to/pdf1 path/to/pdf2  # to check multiple specific files\n```\n\nExemplary output looks like this\n\n```shell\nAnalyzed /data/dummy1.pdf, found the following types of links/http codes: {200: 13}\n\nAnalyzed /data/dummy2.pdf, found the following types of links/http codes: {'mail': 4, 'tel': 4, 200: 49, 'error': 3}\n|   Page Number | URL                      | Details                                                             |\n|---------------+--------------------------+---------------------------------------------------------------------|\n|             1 | https://www.example1.com | \u003cHTTPError 999: 'INKApi Error'\u003e                                     |\n|             1 | https://www.example2.com | URLError(timeout('_ssl.c:1112: The handshake operation timed out')) |\n|             1 | https://www.example3.com | \u003cHTTPError 403: 'Forbidden'\u003e                                        |\n\n```\n\nTo use the Github Action, create a `pdf_link_checker.yml` in `.github/workflows`:\n\n```yaml\non: [ push ]\n\njobs:\n  check_pdf_links:\n    runs-on: ubuntu-latest\n    name: Check PDF Links\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: PDF Link Checker\n        uses: a-nau/pdf-link-checker@v0.2.0\n        with:\n          paths: '.'  # checks all PDFs, otherwise specify to file path(s)\n```\n\nTo run within Docker\n\n```shell\ndocker build -t pdf_link_checker .\ndocker run -it --rm --mount type=bind,source=${PWD},target=/data/ --name pdf_link_checker pdf_link_checker /data/.\n```\n\n## Credits\n\nI started from [pdf-link-checker](https://github.com/mattbriggs/pdf-link-checker)\nby [Matt Briggs](https://github.com/mattbriggs). Especially `get_links_from_page` is still heavily borrowed from the\noriginal.\n\nThis work is licensed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-nau%2Fpdf-link-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-nau%2Fpdf-link-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-nau%2Fpdf-link-checker/lists"}