{"id":21289436,"url":"https://github.com/hansmi/dossier","last_synced_at":"2025-03-15T16:10:13.988Z","repository":{"id":214208319,"uuid":"735687124","full_name":"hansmi/dossier","owner":"hansmi","description":"Extract textual information from PDF documents","archived":false,"fork":false,"pushed_at":"2025-03-13T15:17:23.000Z","size":378,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T16:26:27.207Z","etag":null,"topics":["extraction","golang","ocr","ocrmypdf","paperless","pdf"],"latest_commit_sha":null,"homepage":"","language":"Go","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/hansmi.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":"2023-12-25T20:31:21.000Z","updated_at":"2025-03-13T15:17:26.000Z","dependencies_parsed_at":"2024-03-12T23:31:16.579Z","dependency_job_id":"cb288421-cf87-458b-bb32-d62f603aaa82","html_url":"https://github.com/hansmi/dossier","commit_stats":null,"previous_names":["hansmi/dossier"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fdossier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fdossier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fdossier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fdossier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansmi","download_url":"https://codeload.github.com/hansmi/dossier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754094,"owners_count":20342542,"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":["extraction","golang","ocr","ocrmypdf","paperless","pdf"],"created_at":"2024-11-21T12:40:12.299Z","updated_at":"2025-03-15T16:10:13.964Z","avatar_url":"https://github.com/hansmi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extract information from PDF documents\n\n[![Latest release](https://img.shields.io/github/v/release/hansmi/dossier)][releases]\n[![CI workflow](https://github.com/hansmi/dossier/actions/workflows/ci.yaml/badge.svg)](https://github.com/hansmi/dossier/actions/workflows/ci.yaml)\n[![Go reference](https://pkg.go.dev/badge/github.com/hansmi/dossier.svg)](https://pkg.go.dev/github.com/hansmi/dossier)\n\nDossier is a library for extracting textual information from PDF documents. It\nis written using the Go programming language.\n\nCurrently PDF is the only supported format (using [MuPDF][mupdf]). Other\nformats can be implemented using custom parsers or by amending the library.\n\n[Sketches](#sketches) provide a declarative approach to locating information as\nan alternative to imperative/procedural access.\n\n\n## Sketches\n\n[Protocol buffers][protobuf] are used to define a sketch. The [sketch protobuf\ndefinition](proto/sketch.proto) documents available configuration options.\nUsually [textproto][textproto] will be the format used for writing sketches.\n\nA web-based viewer is included in the command line utility. Screenshot of the\nviewer with an [example sketch for\ninvoices](/pkg/sketch/testdata/acme-invoice.textproto):\n\n![Graphical viewer showing an example invoice analysis](/docs/viewer-acme-invoice.png)\n\nInvocation:\n\n```shell\n$ dossiercli web ./invoice.pdf ./sketch.textproto\n2023/12/31 00:00:00 HTTP server listening on http://[::1]:8080\n```\n\n\n## Installation\n\n```shell\ngo get github.com/hansmi/dossier\n```\n\nCommand line utility:\n\n```shell\ngo install github.com/hansmi/dossier/cmd/dossiercli@latest\n```\n\n\n[releases]: https://github.com/hansmi/dossier/releases/latest\n[mupdf]: https://mupdf.com/\n[protobuf]: https://protobuf.dev/\n[textproto]: https://protobuf.dev/reference/protobuf/textformat-spec/\n\n\u003c!-- vim: set sw=2 sts=2 et : --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansmi%2Fdossier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansmi%2Fdossier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansmi%2Fdossier/lists"}