{"id":18409978,"url":"https://github.com/snowdogapps/vuepress-plugin-pdf-export","last_synced_at":"2025-06-26T10:35:09.490Z","repository":{"id":39968221,"uuid":"248316975","full_name":"SnowdogApps/vuepress-plugin-pdf-export","owner":"SnowdogApps","description":"Vuepress plugin for exporting as PDF without system wide dependencies suitable for headless environments","archived":false,"fork":false,"pushed_at":"2022-05-20T15:47:36.000Z","size":128,"stargazers_count":29,"open_issues_count":8,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-21T20:37:17.882Z","etag":null,"topics":["hacktoberfest","pdf","vuepress-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SnowdogApps.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-03-18T18:53:31.000Z","updated_at":"2024-09-20T12:57:18.000Z","dependencies_parsed_at":"2022-09-10T15:30:20.705Z","dependency_job_id":null,"html_url":"https://github.com/SnowdogApps/vuepress-plugin-pdf-export","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/SnowdogApps/vuepress-plugin-pdf-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fvuepress-plugin-pdf-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fvuepress-plugin-pdf-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fvuepress-plugin-pdf-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fvuepress-plugin-pdf-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnowdogApps","download_url":"https://codeload.github.com/SnowdogApps/vuepress-plugin-pdf-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fvuepress-plugin-pdf-export/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262049028,"owners_count":23250667,"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":["hacktoberfest","pdf","vuepress-plugin"],"created_at":"2024-11-06T03:28:23.070Z","updated_at":"2025-06-26T10:35:09.456Z","avatar_url":"https://github.com/SnowdogApps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @snowdog/vuepress-plugin-pdf-export\nVuepress plugin for exporting site as PDF\n\n## Features\n- Exports whole Vuepress based page as a single PDF file\n- Applies styles to hide UI elements like navigation or sidebar\n- Doesn't require other runtimes like Java to operate\n- Designed to work well in headless environments like CI runners\n\n## Config options\n- `theme` - theme name (default `@vuepress/default`)\n- `sorter` - function for changing pages order (default `false`)\n- `outputFileName` - name of output file (default `site.pdf`)\n- `puppeteerLaunchOptions` - [Puppeteer launch options object](https://github.com/puppeteer/puppeteer/blob/v2.1.1/docs/api.md#puppeteerlaunchoptions) (default `{}`)\n- `pageOptions` - [Puppeteer page formatting options object](https://github.com/puppeteer/puppeteer/blob/v2.1.1/docs/api.md#pagepdfoptions) (default `{format: 'A4'}`)\n\n### Usage\n\nUsing this plugin:\n\n``` js\n// in .vuepress/config.js\nmodule.exports = {\n  plugins: ['@snowdog/vuepress-plugin-pdf-export']\n}\n```\n\nThen run:\n\n``` bash\nvuepress export [path/to/your/docs]\n```\n\n### Tips\nTo run this plugin on Gitlab CI you may want to run Chrome with `no-sandbox` flag. [Details](https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#setting-up-chrome-linux-sandbox)\n\n```js\nmodule.exports = {\n  plugins: [\n    ['@snowdog/vuepress-plugin-pdf-export', {\n      puppeteerLaunchOptions: {\n        args: ['--no-sandbox', '--disable-setuid-sandbox']\n      }\n    }]\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowdogapps%2Fvuepress-plugin-pdf-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowdogapps%2Fvuepress-plugin-pdf-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowdogapps%2Fvuepress-plugin-pdf-export/lists"}