{"id":15412442,"url":"https://github.com/robertknight/pdf-text-checker","last_synced_at":"2025-05-01T10:27:10.131Z","repository":{"id":66375303,"uuid":"300854352","full_name":"robertknight/pdf-text-checker","owner":"robertknight","description":"A small web app to check whether a PDF has selectable text","archived":false,"fork":false,"pushed_at":"2020-10-04T09:35:16.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-09T15:43:09.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertknight.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":"2020-10-03T10:31:52.000Z","updated_at":"2020-10-04T09:35:18.000Z","dependencies_parsed_at":"2023-02-22T02:30:17.777Z","dependency_job_id":null,"html_url":"https://github.com/robertknight/pdf-text-checker","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"1ccc7ac3dd09f3ae769941e30f20ada6f16c6bc7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fpdf-text-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fpdf-text-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fpdf-text-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fpdf-text-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertknight","download_url":"https://codeload.github.com/robertknight/pdf-text-checker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251858875,"owners_count":21655460,"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":[],"created_at":"2024-10-01T16:53:14.847Z","updated_at":"2025-05-01T10:27:10.104Z","avatar_url":"https://github.com/robertknight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF text checker\n\nThis is a small web application that retrieves a PDF from a URL and\nchecks whether it has selectable text that can be extracted by\n[PDF.js](https://mozilla.github.io/pdf.js/)\n\nA PDF that has selectable text is suitable for use with tools like [Hypothesis](https://hypothes.is).\nPDFs without selectable text will require pre-processing with an\n[OCR](https://en.wikipedia.org/wiki/Optical_character_recognition) tool.\n\n**[➡️ View live demo](https://robertknight.github.io/pdf-text-checker/check-pdf-text.html)**\n\n## Usage\n\nStart a local HTTP server with:\n\n```\npython3 -m http.server 5002\n```\n\nThen browse to http://localhost:5002/check-pdf-text.html. Enter the URL\nof a PDF to fetch and check and click \"Check PDF\".\n\n## Notes\n\nThis tool relies on a proxy server to bypass cross-origin restrictions on fetching\nURLs. It currently uses https://cors-anywhere.herokuapp.com for this purpose.\n\nChecking whether a PDF's text layer is usable for the purposes of copying and\nannotating text is not a binary classification. A PDF may have selectable text\nthat is garbled or otherwise problematic. This tool uses very basic heuristics\nand the result does not guarantee that the PDF will have \"usable\" text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertknight%2Fpdf-text-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertknight%2Fpdf-text-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertknight%2Fpdf-text-checker/lists"}