{"id":21962098,"url":"https://github.com/ec-nordbund/gotenberg","last_synced_at":"2026-04-29T06:38:47.793Z","repository":{"id":40437817,"uuid":"452744058","full_name":"EC-Nordbund/gotenberg","owner":"EC-Nordbund","description":"A gotenberg client for Deno","archived":false,"fork":false,"pushed_at":"2023-12-15T02:22:20.000Z","size":49,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T16:26:59.537Z","etag":null,"topics":["deno","docx2pdf","gotenberg","office2pdf","topdf","xlsx2pdf"],"latest_commit_sha":null,"homepage":"https://doc.deno.land/https://deno.land/x/gotenberg/mod.ts","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EC-Nordbund.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":"2022-01-27T15:48:06.000Z","updated_at":"2024-03-16T01:45:25.000Z","dependencies_parsed_at":"2024-11-13T12:32:09.607Z","dependency_job_id":"6ac112bf-42f2-43e0-a500-75c75a184c1f","html_url":"https://github.com/EC-Nordbund/gotenberg","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"050b1b17b7338b7cd17db0ac61f5b34c34ccc4ef"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/EC-Nordbund/gotenberg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EC-Nordbund%2Fgotenberg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EC-Nordbund%2Fgotenberg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EC-Nordbund%2Fgotenberg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EC-Nordbund%2Fgotenberg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EC-Nordbund","download_url":"https://codeload.github.com/EC-Nordbund/gotenberg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EC-Nordbund%2Fgotenberg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261630957,"owners_count":23187227,"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":["deno","docx2pdf","gotenberg","office2pdf","topdf","xlsx2pdf"],"created_at":"2024-11-29T10:32:43.104Z","updated_at":"2026-04-29T06:38:47.734Z","avatar_url":"https://github.com/EC-Nordbund.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gotenberg Deno Client\n\n## API\n\nWe have 4 types of exported functions:\n\n1. File-Loader helper (`readFile`)\n2. `RequestInfo` creator (`office`, `merge`, `convert`, `url`, `markdown`,\n   `url`)\n3. Executoren (`executor`, `webhookExecutor`)\n4. Response handler (`handleZipResponse`, `handleResponse`)\n\nTo create a request:\n\n1. create a (global) execcutor wich can be used for multiple requests (we\n   provide 2 one with webhook options). You might use multiple executoren in\n   your project!\n2. create the RequestInfo object by calling the corresponding function depending\n   on your use case.\n3. pass the RequestInfo to the executor it returns a `Promise\u003cResponse\u003e`.\n4. pass the Promise (or the Response) to one of the response handler. If you\n   expect more than one pdf file use `handleZipResponse`. If you expect a single\n   PDF use `handleResponse`\n\n## Basic example:\n\n```ts\nimport {\n  executor,\n  handleResponse,\n  office,\n  readFile,\n} from \"https://deno.land/x/gotenberg/mod.ts\";\n\nconst gotenberg = executor(\"http://gotenberg:3000\");\n\nconst { filename, content } = await handleResponse(\n  gotenberg(\n    office([await readFile(\"./path/to/file.docx\")], {\n      landscape: true,\n    }),\n  ),\n);\n```\n\n## API Documentation\n\nThe generated API documentaion you can find here:\nhttps://doc.deno.land/https://deno.land/x/gotenberg/mod.ts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fec-nordbund%2Fgotenberg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fec-nordbund%2Fgotenberg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fec-nordbund%2Fgotenberg/lists"}