{"id":23282017,"url":"https://github.com/ndimensional/zig-ultralight","last_synced_at":"2025-07-06T10:04:11.652Z","repository":{"id":220706950,"uuid":"750049424","full_name":"nDimensional/zig-ultralight","owner":"nDimensional","description":"Zig bindings for Ultralight","archived":false,"fork":false,"pushed_at":"2025-04-26T01:00:28.000Z","size":63,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-26T02:29:17.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/nDimensional.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,"zenodo":null}},"created_at":"2024-01-29T22:15:01.000Z","updated_at":"2025-04-26T01:00:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e629035-82af-45f8-83d5-0abe8e1b9541","html_url":"https://github.com/nDimensional/zig-ultralight","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"dc4cd510c6d7699e07ea50f5b3ad82dc05edb34c"},"previous_names":["ndimensional/zig-ultralight"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nDimensional/zig-ultralight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nDimensional%2Fzig-ultralight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nDimensional%2Fzig-ultralight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nDimensional%2Fzig-ultralight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nDimensional%2Fzig-ultralight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nDimensional","download_url":"https://codeload.github.com/nDimensional/zig-ultralight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nDimensional%2Fzig-ultralight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263882260,"owners_count":23524459,"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-20T00:13:35.157Z","updated_at":"2025-07-06T10:04:11.639Z","avatar_url":"https://github.com/nDimensional.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-ultralight\n\nZig bindings for [Ultralight](https://ultralig.ht/), an embedded high-performance HTML renderer.\n\nBuilt and tested with Zig version `0.14.0`.\n\n## Usage\n\nFirst, [download the Ultralight v1.4.0 SDK](https://ultralig.ht/download) for your platform.\n\nThen, add zig-ultralight to `build.zig.zon`:\n\n```\n.{\n    .dependencies = .{\n        .ultralight = .{\n            .url = \"https://github.com/nDimensional/zig-ultralight/archive/$COMMIT.tar.gz\",\n            // .hash = \"...\",\n        },\n    },\n}\n```\n\nThen add the `ul` import to your root modules in `build.zig`, passing the path to the Ultralight SDK as a build argument:\n\n```zig\nconst ultralight = b.dependency(\"ultralight\", .{\n    .SDK = @as([]const u8, \"path/to/sdk/folder\"),\n});\napp.root_module.addImport(\"ul\", ultralight.module(\"ul\"));\n```\n\nTo run the example [example](example.zig), pass the SDK path in usind `-DSDK` from the CLI:\n\n```\n$ zig build run -DSDK=path/to/sdk/folder\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndimensional%2Fzig-ultralight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndimensional%2Fzig-ultralight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndimensional%2Fzig-ultralight/lists"}