{"id":28334243,"url":"https://github.com/mgerb/imguiz","last_synced_at":"2026-04-16T07:31:09.497Z","repository":{"id":295552344,"uuid":"990417578","full_name":"mgerb/imguiz","owner":"mgerb","description":"dear_bindings to use imgui (docking branch) in zig","archived":false,"fork":false,"pushed_at":"2025-10-03T03:45:54.000Z","size":2485,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-03T05:41:52.242Z","etag":null,"topics":["imgui","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/mgerb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-26T04:58:31.000Z","updated_at":"2025-10-03T03:45:59.000Z","dependencies_parsed_at":"2025-10-03T05:30:39.241Z","dependency_job_id":"2b1d0342-058a-435e-a36e-877493b84963","html_url":"https://github.com/mgerb/imguiz","commit_stats":null,"previous_names":["mgerb/imguiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mgerb/imguiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fimguiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fimguiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fimguiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fimguiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgerb","download_url":"https://codeload.github.com/mgerb/imguiz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fimguiz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31876279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["imgui","zig","ziglang"],"created_at":"2025-05-26T21:18:00.360Z","updated_at":"2026-04-16T07:31:09.491Z","avatar_url":"https://github.com/mgerb.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imguiz\n\n- [dear_bindings](https://github.com/dearimgui/dear_bindings) to use [imgui](https://github.com/ocornut/imgui) (docking branch) in [zig](https://ziglang.org/)\n- currently only SDL3 and Vulkan are supported, but it should be easy to update by modifying the following to add imgui backends\n  - `@cInclude` in `./src/imguiz.zig`\n  - `module.addCSourceFile` invocations in `./build.zig`\n\n![screenshot](./screenshots/1.png)\n\n### Library\n\nimguiz exposes a module that can be used in your project.\n\n```sh\nzig fetch --save git+https://github.com/mgerb/imguiz\n```\n\n```zig\n// build.zig\n...\nconst imguiz = b.dependency(\"imguiz\", .{});\nexe.root_module.addImport(\"imguiz\", imguiz.module(\"imguiz\"));\n...\n```\n\n```zig\n// main.zig\nconst std = @import(\"std\");\nconst imguiz = @import(\"imguiz\").imguiz;\n\npub fn main() !void {\n    std.debug.print(\"{s}\\n\", .{imguiz.ImGui_GetVersion()});\n}\n```\n\n### Generator\n\nAll bindings are in `./generated`. I will update them from the following branches as needed.\n\n- [imgui](https://github.com/ocornut/imgui) (docking)\n- [dear_bindings](https://github.com/dearimgui/dear_bindings) (master)\n\n```sh\nnix develop # This is optional if you want to manually install dependencies (zig, python\u003e=3.12, python ply package)\nzig build run -Dgenerate\n```\n\nThe generator does the following\n\n- clones [dear_bindings](https://github.com/dearimgui/dear_bindings) to `./tmp`\n- clones [imgui](https://github.com/ocornut/imgui) to `./tmp`\n- executes `./tmp/dear_bindings/BuildAllBindings.sh`\n- copies all required C bindings to `./generated`, which can be natively included in zig\n\n### Example\n\nSee a more in depth example using [vulkan-zig](https://github.com/Snektron/vulkan-zig) in `./example`.\n\n```sh\ncd example\nnix develop # nix package manager makes this easy: https://nixos.org/download/\nzig build run\n```\n\n**Note:** Only tested on NixOS, but should work on any Linux distro with the [nix](https://nixos.org/download/)\npackage manager, or the right dependencies installed (zig, vulkan sdk, vulkan validation layers, sdl3).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fimguiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgerb%2Fimguiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fimguiz/lists"}