{"id":22151024,"url":"https://github.com/justcoded/dockerize-docsify-pdf","last_synced_at":"2025-07-19T07:04:23.330Z","repository":{"id":224081484,"uuid":"762266863","full_name":"justcoded/dockerize-docsify-pdf","owner":"justcoded","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-23T16:23:06.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T13:21:23.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justcoded.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-23T12:27:16.000Z","updated_at":"2024-02-23T16:11:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba712737-0f90-4902-805b-58378fbe630a","html_url":"https://github.com/justcoded/dockerize-docsify-pdf","commit_stats":null,"previous_names":["justcoded/dockerize-docsify-pdf"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/justcoded/dockerize-docsify-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fdockerize-docsify-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fdockerize-docsify-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fdockerize-docsify-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fdockerize-docsify-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justcoded","download_url":"https://codeload.github.com/justcoded/dockerize-docsify-pdf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fdockerize-docsify-pdf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265899822,"owners_count":23845875,"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":[],"created_at":"2024-12-02T00:29:47.904Z","updated_at":"2025-07-19T07:04:23.277Z","avatar_url":"https://github.com/justcoded.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docsify-pdf-export\n\n## Install\n\n```sh\nnpm install\n```\n\n## Using custom configuration:\n\nExample `.docsifytopdfrc.js` content:\n\n```js\n module.exports = {\n  addResumeFor: ['docs', 'code-guides'], // split documentation file with `_sidebar.md`\n  pathToPublic: 'output/pdf', // path where pdf will stored\n  pathToPublicHtml: 'output/html', // path where html will stored\n  pathToDocsifyStyles: 'input/assets/css/docsify4-themes-vue.css', // path where docsify styles file is stored\n  pathToCustomStyles: 'styles.css', // path where docsify styles file is stored\n  removeTemp: true, // remove temporary generated .md and .html in `docs` folder or not\n  emulateMedia: 'screen', // mediaType, emulating by puppeteer for rendering pdf (reference: https://pptr.dev/api/puppeteer.page.emulatemediatype)\n  pathToDocsifyEntryPoint: 'input', // path where docsify `index.html` file is stored\n  pdfOptions: { // options for rendering pdf (reference: https://pptr.dev/api/puppeteer.pdfoptions)\n    format: 'A2',\n    margin: {\n      bottom: 120,\n      left: 0,\n      right: 0,\n      top: 70,\n    }\n  },\n}\n```\n\n## Usage\n\nMove files from your docsify folder to `input` and run:\n```sh\nnode cli.js\n```\nThis command will initiate the conversion process. Wait for the conversion to complete.\n\nAfter the conversion process finishes, you will find two folders, `html` and `pdf`, generated in the `output` folder.\nThese folders will contain the converted files in their respective formats.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fdockerize-docsify-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustcoded%2Fdockerize-docsify-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fdockerize-docsify-pdf/lists"}