{"id":18000166,"url":"https://github.com/msp95/pdftotext","last_synced_at":"2025-08-22T23:13:32.054Z","repository":{"id":62430298,"uuid":"132376194","full_name":"MSP95/pdftotext","owner":"MSP95","description":"A simple Elixir package to convert .pdf file to .txt using OCR API","archived":false,"fork":false,"pushed_at":"2018-05-08T22:48:08.000Z","size":179,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T02:21:43.767Z","etag":null,"topics":["elixir","hex"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/MSP95.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":"2018-05-06T21:09:08.000Z","updated_at":"2025-02-24T16:39:41.000Z","dependencies_parsed_at":"2022-11-01T20:22:52.572Z","dependency_job_id":null,"html_url":"https://github.com/MSP95/pdftotext","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MSP95/pdftotext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSP95%2Fpdftotext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSP95%2Fpdftotext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSP95%2Fpdftotext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSP95%2Fpdftotext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MSP95","download_url":"https://codeload.github.com/MSP95/pdftotext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSP95%2Fpdftotext/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264473886,"owners_count":23613960,"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":["elixir","hex"],"created_at":"2024-10-29T23:09:59.233Z","updated_at":"2025-07-09T14:09:52.272Z","avatar_url":"https://github.com/MSP95.png","language":"Elixir","readme":"\n# Pdftotext\nA simple Elixir package to convert .pdf file to .txt using OCR API\n\n**Module Page:** [hex.pm/packages/pdftotext](https://hex.pm/packages/pdftotext)\n\n\u003e convert(file, key)\n\nThis is the main PDF to Text Module.\n\nConverts the given pdf file into text.\n\n**Parameters:**\n1. File -\u003e Accepts a Plug.Upload{} struct or a binary of the file.\n2. Key -\u003e Accepts a key for the OCR API. Get your key here: [OCR API KEY](https://ocr.space/ocrapi)\n\n**Returns:**\n\u003e {:ok, result} -\u003e On a successful parse returns this where 'result' is a string containing the contents of the passed file.\n\n\u003e {:error, error_message, result} -\u003e returns a :error struct with the error_message and the partial result if any.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsp95%2Fpdftotext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsp95%2Fpdftotext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsp95%2Fpdftotext/lists"}