{"id":23440669,"url":"https://github.com/seletz/hello-zig","last_synced_at":"2025-04-09T20:37:17.146Z","repository":{"id":269436236,"uuid":"907409674","full_name":"seletz/hello-zig","owner":"seletz","description":"Some experiments in ZIG","archived":false,"fork":false,"pushed_at":"2024-12-23T18:22:48.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-02-15T12:47:47.884Z","etag":null,"topics":["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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seletz.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-12-23T14:13:46.000Z","updated_at":"2024-12-23T18:22:52.000Z","dependencies_parsed_at":"2024-12-23T15:27:44.514Z","dependency_job_id":"a81bed04-7056-4ff9-bcb8-ea084a936b46","html_url":"https://github.com/seletz/hello-zig","commit_stats":null,"previous_names":["seletz/hello-zig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletz%2Fhello-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletz%2Fhello-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletz%2Fhello-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletz%2Fhello-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seletz","download_url":"https://codeload.github.com/seletz/hello-zig/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248108783,"owners_count":21049197,"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":["zig","ziglang"],"created_at":"2024-12-23T16:17:20.943Z","updated_at":"2025-04-09T20:37:17.096Z","avatar_url":"https://github.com/seletz.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-zig\n\n[![.github/workflows/CI.yml](https://github.com/seletz/hello-zig/actions/workflows/CI.yml/badge.svg)](https://github.com/seletz/hello-zig/actions/workflows/CI.yml)\n\nSome experiments in [zig](https://ziglang.org).  The main goal here is to get some graphics going and generally play around a bit.\n\n## TODO\n\n- [x] Get a `hello world` going\n- [x] Get syntax highlighting and debugging to work\n- [x] Get a basic triangle on the screen\n- [ ] Get a animated triangle mesh going. Wireframes only.\n- [ ] Build for other systems than macos\n- [ ] Try to get a dynamic library built in zig, and use `dlopen()` to live-reload functions \n\n## Decisions made\n\n- Zig people seem to use VSCode.  Well, ok then.\n- I tried raylib-zig but could not get it to compile.  Switched to [sokol](https://github.com/floooh/sokol) and [sokol-zig](https://github.com/floooh/sokol-zig) bindings.\n\n## Dependencies\n\n### VSCode\n\n\u003e[!Note]\n\u003e I use `vscodium` and I'm a complete NOOB wrt VSCode.\n\nI use these extensions:\n\n- [Zig Language](https://open-vsx.org/vscode/item?itemName=ziglang.vscode-zig), which installs `zig` and `zls` (zig language server)\n- The debugger task uses [CodeLLDB](https://open-vsx.org/vscode/item?itemName=vadimcn.vscode-lldb)\n- [Shader language support](https://open-vsx.org/vscode/item?itemName=slevesque.shader)\n- [GLSL Lint](https://open-vsx.org/vscode/item?itemName=dtoplak.vscode-glsllint) *could not get this running*\n\n### sokol\n\n- put `sokol-shdc` from [sokol-tools](https://github.com/floooh/sokol-tools/tree/master) somewhere in your path. I used the binaries from [sokol-tools-bin](https://github.com/floooh/sokol-tools-bin) and linked it to `~/.local/bin`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseletz%2Fhello-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseletz%2Fhello-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseletz%2Fhello-zig/lists"}