{"id":22745523,"url":"https://github.com/khalilgharbaoui/wkhtmltopdf-binary-edge-alpine","last_synced_at":"2025-04-14T10:07:09.516Z","repository":{"id":65029343,"uuid":"187535519","full_name":"khalilgharbaoui/wkhtmltopdf-binary-edge-alpine","owner":"khalilgharbaoui","description":"Alpine linux wkhtmltopdf binary ruby gem with qt patches ","archived":false,"fork":false,"pushed_at":"2022-02-16T17:38:37.000Z","size":250033,"stargazers_count":14,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T10:06:53.620Z","etag":null,"topics":["alpine-linux","docker","html","linux","pdf","pdf-generation","pdf-generator","rails","ruby","wkhtmltopdf"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/khalilgharbaoui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-19T22:43:06.000Z","updated_at":"2024-03-28T16:59:10.000Z","dependencies_parsed_at":"2023-01-01T04:21:38.742Z","dependency_job_id":null,"html_url":"https://github.com/khalilgharbaoui/wkhtmltopdf-binary-edge-alpine","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khalilgharbaoui","download_url":"https://codeload.github.com/khalilgharbaoui/wkhtmltopdf-binary-edge-alpine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860270,"owners_count":21173342,"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":["alpine-linux","docker","html","linux","pdf","pdf-generation","pdf-generator","rails","ruby","wkhtmltopdf"],"created_at":"2024-12-11T02:06:57.981Z","updated_at":"2025-04-14T10:07:09.475Z","avatar_url":"https://github.com/khalilgharbaoui.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wkhtmltopdf-binary-edge-alpine\n\n### Don't need _Alpine Linux_ support? please use [this gem](https://github.com/pallymore/wkhtmltopdf-binary-edge) instead!\n\n### If you are using wkhtmltopdf on heroku, please use [this gem](https://github.com/rposborne/wkhtmltopdf-heroku) instead!\n\n### Supported OS\n\n- Alpine Linux 3.15+ 64-bit\n- Linux (Ubuntu Trusty+) 64-bit\n- OS X 10.7+ 64-bit\n\n## Installation\n\nIn your `Gemfile`:\n\n```ruby\ngem 'wkhtmltopdf-binary-edge-alpine', '~\u003e 0.12.6.3', github: 'khalilgharbaoui/wkhtmltopdf-binary-edge-alpine'\n```\n\n### Docker dependencies for Alpine Linux\n\nAdd this layer in your `Dockerfile`:\n\n```bash\n# Install dependencies for wkhtmltopdf\nRUN apk add --update --no-cache --wait 10 \\\n  libstdc++ \\\n  libx11 \\\n  libxrender \\\n  libxext \\\n  libssl1.1 \\\n  ca-certificates \\\n  fontconfig \\\n  freetype \\\n  ttf-dejavu \\\n  ttf-droid \\\n  ttf-freefont \\\n  ttf-liberation \u0026\u0026 \\\n  apk add --update --no-cache --virtual .build-deps \\\n  msttcorefonts-installer \u0026\u0026 \\\n\n# Install microsoft fonts\n  update-ms-fonts \u0026\u0026 fc-cache -f \u0026\u0026 \\\n\n# Clean up when done\n  rm -rf /tmp/* \u0026\u0026 apk del .build-deps\n```\n\n### Current wkhtmltopdf version:\n\n#### 0.12.6 For Ubuntu \u0026 Mac OS\n\n#### 0.12.6 with qt patches For Alpine Linux\n\nExtracted from `surnet/alpine-wkhtmltopdf:3.15.0-0.12.6-small` docker image:\n\n```bash\ndocker run --rm --entrypoint cat \\\nsurnet/alpine-wkhtmltopdf:3.15.0-0.12.6-small \\\n/bin/wkhtmltopdf \u003e ./libexec/wkhtmltopdf-alpine-linux-amd64\n```\n\nSee: [wkhtmltopdf release notes](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.6)\n\n### Known Issues:\n\nImage is shrunk due to a zoom bug in the wkhtmltopdf binary version 0.12.5.0 when on Alpine Linux.\n\nWorkaround is to set the `zoom:` to exacly `1.3`.\n\nSee: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4036\n\nAnd also see: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4036#issuecomment-493812493\n\n## Contribute\n\nPlease feel free to open a issue or pull request with suggestions.\n\n## Credits\n\nBased upon the following repos:\n\n- https://github.com/pallymore/wkhtmltopdf-binary-edge\n- https://github.com/Surnet/docker-wkhtmltopdf\n- https://github.com/aantonw/docker-alpine-wkhtmltopdf-patched-qt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalilgharbaoui%2Fwkhtmltopdf-binary-edge-alpine/lists"}