{"id":28450130,"url":"https://github.com/bc1bb/mkhtml","last_synced_at":"2026-02-26T05:32:39.557Z","repository":{"id":43284646,"uuid":"264707936","full_name":"bc1bb/mkhtml","owner":"bc1bb","description":"📝 mkhtml makes HTML files using header/footer file and pages","archived":false,"fork":false,"pushed_at":"2022-10-22T07:56:37.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T11:39:07.736Z","etag":null,"topics":["bash","html","rust","rust-crate","rust-lang"],"latest_commit_sha":null,"homepage":"https://docs.rs/mkhtml/latest/mkhtmllib/","language":"Rust","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/bc1bb.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}},"created_at":"2020-05-17T16:18:29.000Z","updated_at":"2023-06-07T07:12:20.000Z","dependencies_parsed_at":"2022-09-16T18:10:20.551Z","dependency_job_id":null,"html_url":"https://github.com/bc1bb/mkhtml","commit_stats":null,"previous_names":["jusdepatate/mkhtml"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bc1bb/mkhtml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bc1bb%2Fmkhtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bc1bb%2Fmkhtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bc1bb%2Fmkhtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bc1bb%2Fmkhtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bc1bb","download_url":"https://codeload.github.com/bc1bb/mkhtml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bc1bb%2Fmkhtml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29849675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","html","rust","rust-crate","rust-lang"],"created_at":"2025-06-06T15:06:37.128Z","updated_at":"2026-02-26T05:32:39.551Z","avatar_url":"https://github.com/bc1bb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkhtml\nMakes HTML files from `header.html` and `footer.html` and `pages`.\n\n## Installation\n```shell\ncargo install mkhtml\n# !OR!\nbrew tap jusdepatate/jusdepatate\nbrew install mkhtml\n```\n\n## Building\n```shell\ncargo build     # dev\ncargo build -r  # release\n```\n\n## Usage\n### As a binary\n- put your header in `parts/header.html`,\n- put your footer in `parts/footer.html`,\n- put your pages in `pages/` (can have folders),\n- `mkhtml build`. (`b` also works).\n\n#### Arguments\nBy default `mkhtml` will build in the working directory but you can change that by using any of the following arguments:\n\n- `--pages-dir [path]`,\n- `--parts-dir [path]`,\n- `--static-dir [path]`,\n- `--build-dir [path]`.\n\n(you can use one or more of them, you can use both absolute and relative paths).\n\n#### As a library\nBasic example:\n```rust\nextern crate mkhtmllib;\nuse mkhtmllib::{mkhtml, Config};\n\nfn main() {\n    let mut c = Config::new();\n    c.set_pages_dir(\"path/\".to_string());\n    mkhtml(c);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbc1bb%2Fmkhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbc1bb%2Fmkhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbc1bb%2Fmkhtml/lists"}