{"id":13741437,"url":"https://github.com/swaywm/zig-wlroots","last_synced_at":"2025-04-05T04:09:05.124Z","repository":{"id":38440459,"uuid":"303496238","full_name":"swaywm/zig-wlroots","owner":"swaywm","description":"[mirror] Zig bindings for wlroots","archived":false,"fork":false,"pushed_at":"2025-03-07T10:04:04.000Z","size":484,"stargazers_count":99,"open_issues_count":0,"forks_count":32,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T14:40:29.811Z","etag":null,"topics":["bindings","wayland","wlroots","zig"],"latest_commit_sha":null,"homepage":"https://codeberg.org/ifreund/zig-wlroots","language":"Zig","has_issues":false,"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/swaywm.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":"2020-10-12T19:44:02.000Z","updated_at":"2025-03-11T01:01:44.000Z","dependencies_parsed_at":"2024-01-07T02:30:57.738Z","dependency_job_id":"dd663dfd-7f60-4824-9dd4-6399490637dd","html_url":"https://github.com/swaywm/zig-wlroots","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaywm%2Fzig-wlroots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaywm%2Fzig-wlroots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaywm%2Fzig-wlroots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaywm%2Fzig-wlroots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swaywm","download_url":"https://codeload.github.com/swaywm/zig-wlroots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284945,"owners_count":20913704,"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":["bindings","wayland","wlroots","zig"],"created_at":"2024-08-03T04:00:59.184Z","updated_at":"2025-04-05T04:09:05.045Z","avatar_url":"https://github.com/swaywm.png","language":"Zig","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# zig-wlroots\n\nIdiomatic [Zig](https://ziglang.org/) bindings for\n[wlroots](https://gitlab.freedesktop.org/wlroots/wlroots).\n\nThe main repository is on [codeberg](https://codeberg.org/ifreund/zig-wlroots),\nwhich is where the issue tracker may be found and where contributions are accepted.\n\nRead-only mirrors exist on [sourcehut](https://git.sr.ht/~ifreund/zig-wlroots)\nand [github](https://github.com/swaywm/zig-wlroots).\n\n## Completion status\n\nLarge parts of the wlroots API are fully bound, more than enough for the\n[river](https://codeberg.org/river/river) Wayland compositor to use these bindings.\n\nAt this stage, I only personally add bindings for new parts of the\nwlroots API as required by river. If your project requires some\npart of the wlroots API not yet bound please open an issue or pull\nrequest on [codeberg](https://codeberg.org/ifreund/zig-wlroots).\n\n## Dependencies\n\n- [zig](https://ziglang.org/) 0.14\n- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.18\n- [zig-wayland](https://codeberg.org/ifreund/zig-wayland)\n- [zig-xkbcommon](https://codeberg.org/ifreund/zig-xkbcommon)\n- [zig-pixman](https://codeberg.org/ifreund/zig-pixman)\n\n## Usage\n\nSee [tinywl.zig](./tinywl/) for an example compositor using zig-wlroots and an example\nof how to integrate zig-wlroots and its dependencies into your build.zig.\n\nSee the C headers of wlroots for documentation.\n\n## Versioning\n\nzig-wlroots versions have the form `major.minor.revision` where major and minor\nare the major and minor version numbers of the compatible wlroots release. The\nrevision number is incremented for every zig-wlroots release compatible with a\ngiven wlroots release. Breaking changes and bugfixes may occur with only a\nrevision version bump. The required Zig version may be updated with a revision\nversion bump.\n\nFor example, zig-wlroots `0.16.42` would be compatible with wlroots 0.16, the 42\nindicating that there were 42 zig-wlroots releases since the initial wlroots 0.16\ncompatible zig-wlroots release.\n\nFor unreleased versions, the `-dev` suffix is used (e.g. `0.1.0-dev`).\n\n## License\n\nzig-wlroots is released under the MIT (expat) license. The contents of the tinywl directory\nare not part of zig-wlroots and are released under the Zero Clause BSD license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswaywm%2Fzig-wlroots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswaywm%2Fzig-wlroots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswaywm%2Fzig-wlroots/lists"}