{"id":13692501,"url":"https://github.com/blocknotes/manual-generator","last_synced_at":"2025-05-02T19:32:15.118Z","repository":{"id":68600457,"uuid":"79724953","full_name":"blocknotes/manual-generator","owner":"blocknotes","description":"Crystal tool to generate PDF manuals from HTML documentation sites","archived":true,"fork":false,"pushed_at":"2020-04-12T15:58:02.000Z","size":657,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-12T18:41:21.206Z","etag":null,"topics":["crystal","pdf-manuals","wkhtmltopdf"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/blocknotes.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}},"created_at":"2017-01-22T15:12:06.000Z","updated_at":"2023-06-19T08:42:30.000Z","dependencies_parsed_at":"2024-01-14T19:13:33.688Z","dependency_job_id":"30d409e0-20a2-4ed1-a690-cb50cc557d57","html_url":"https://github.com/blocknotes/manual-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fmanual-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fmanual-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fmanual-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fmanual-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blocknotes","download_url":"https://codeload.github.com/blocknotes/manual-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095372,"owners_count":21693908,"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":["crystal","pdf-manuals","wkhtmltopdf"],"created_at":"2024-08-02T17:00:58.730Z","updated_at":"2025-05-02T19:32:14.793Z","avatar_url":"https://github.com/blocknotes.png","language":"Crystal","readme":"# manual-generator - PROJECT UNMAINTAINED\n\n\u003e *This project is not maintained anymore*\n\u003e\n\u003e *If you like it or continue to use it fork it please.*\n\n* * *\n* * *\n\nA Crystal program to generate PDF manuals from an HTML documentation site.\n\nIt gets all the links found in a table of contents element, downloads them and converts to a unique PDF using [wkhtmltopdf-crystal](https://github.com/blocknotes/wkhtmltopdf-crystal).\n\n## Install\n\nBuild the binary tool:\n\n`crystal build --release src/manual-generator.cr`\n\n## Usage / Command line options\n\n```\nUsage: manual-generator [arguments] URL\n    -a STRING, --attribute=STRING    CSS attribute to use for TOC links (default: \"href\")\n    -b, --include-base-url           Include base URL document in PDF (default: false)\n    -c STRING, --content=STRING      CSS element selector to look for the contents of the page (ex. \"#content\")\n    -e STRING, --extra-css=STRING    Extra CSS styles (ex. \"#nav_bar { display: none; }\")\n    -o FILE, --output=FILE           Output filename (default: doc.pdf)\n    -r, --remote-css                 Fetch remote CSS styles (default: false)\n    -s FILE, --custom-css=FILE       Filename with custom CSS\n    -t STRING, --toc=STRING          CSS element selector to look for the table of contents of the page (ex. \"#summary a\")\n    -h, --help                       Show this help\n    -v, --version                    Show version\n    -V, --verbose                    Verbose mode\n```\n\n## Examples\n\n```sh\nmanual-generator -V \"https://crystal-docs.org/blocknotes/wkhtmltopdf-crystal/\" -c \"#main-content\" -t \"#types-list a\" -o test.pdf\n```\n\nSee [examples](https://github.com/blocknotes/manual-generator/tree/master/examples) folder.\n\n## Contributors\n\n- [Mattia Roccoberton](http://blocknot.es) - creator, maintainer\n","funding_links":[],"categories":["Misc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fmanual-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocknotes%2Fmanual-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fmanual-generator/lists"}