{"id":21384756,"url":"https://github.com/bzlparty/rules_html","last_synced_at":"2025-03-16T11:42:26.116Z","repository":{"id":215073893,"uuid":"738043467","full_name":"bzlparty/rules_html","owner":"bzlparty","description":"Bazel Rules for HTML","archived":false,"fork":false,"pushed_at":"2024-02-09T22:17:00.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-22T23:41:19.024Z","etag":null,"topics":["bazel","bazel-rules","bazel-tools","html"],"latest_commit_sha":null,"homepage":null,"language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bzlparty.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-02T09:29:33.000Z","updated_at":"2024-01-02T10:53:03.000Z","dependencies_parsed_at":"2024-02-09T23:26:32.972Z","dependency_job_id":"1f7db5ba-6dcb-4df2-aa01-2d025dca43aa","html_url":"https://github.com/bzlparty/rules_html","commit_stats":null,"previous_names":["bzlparty/rules_html"],"tags_count":1,"template":false,"template_full_name":"bzlparty/rules-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzlparty%2Frules_html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzlparty%2Frules_html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzlparty%2Frules_html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzlparty%2Frules_html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bzlparty","download_url":"https://codeload.github.com/bzlparty/rules_html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864626,"owners_count":20360355,"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":["bazel","bazel-rules","bazel-tools","html"],"created_at":"2024-11-22T11:43:05.531Z","updated_at":"2025-03-16T11:42:26.091Z","avatar_url":"https://github.com/bzlparty.png","language":"Starlark","readme":"# Bazel Rules for HTML\n\n[![Test](https://github.com/bzlparty/rules_html/actions/workflows/test.yaml/badge.svg?branch=main\u0026event=push)](https://github.com/bzlparty/rules_html/actions/workflows/test.yaml)\n\n## Installation\n\nSee install instructions on the [release page](https://github.com/bzlparty/rules_html/releases).\n\n## Usage\n\nGenerate an HTML file:\n\n```starlark\nload(\"@bzlparty_rules_html//:defs.bzl\", \"html_file\")\n\nhtml_file(\n    name = \"index\",\n    out = \"index.html\",\n    body = [\n        \"\u003cp\u003eHello, World!\u003c/p\u003e\",\n        \"\u003cscript src=\\\"$(location :hello_world.js)\\\"\u003e\u003c/script\u003e\":\n    ],\n    title = \"Hello, World!\",\n    data = [\n        \":hello_world.js\",\n    ],\n)\n```\n\nBundle an HTML file:\n\n```starlark\nload(\"@bzlparty_rules_html//:defs.bzl\", \"html_bundle\")\n\nhtml_bundle(\n    name = \"bundle\",\n    out = \"bundle.html\",\n    endtry_point = \":index.html\",\n)\n```\n\n## Development\n\nInstall git hooks:\n\n```bash\npre-commit install\n```\n\n## License\n\n[GNU GPL 3.0](/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzlparty%2Frules_html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbzlparty%2Frules_html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzlparty%2Frules_html/lists"}