{"id":13344075,"url":"https://github.com/Inve1951/zig-template","last_synced_at":"2025-03-12T06:31:10.125Z","repository":{"id":43508437,"uuid":"509861879","full_name":"Inve1951/zig-template","owner":"Inve1951","description":"Base setup for zig projects with IDE glue.","archived":false,"fork":false,"pushed_at":"2023-03-06T22:12:02.000Z","size":6,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T18:35:19.295Z","etag":null,"topics":["boilerplate","template","vscode","vscode-snippets","zig","ziglang","zls"],"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/Inve1951.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}},"created_at":"2022-07-02T21:07:41.000Z","updated_at":"2024-11-13T08:13:13.000Z","dependencies_parsed_at":"2024-10-24T07:04:35.422Z","dependency_job_id":"40705eb4-a4f9-4e30-a924-210b80da4535","html_url":"https://github.com/Inve1951/zig-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inve1951%2Fzig-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inve1951%2Fzig-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inve1951%2Fzig-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inve1951%2Fzig-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inve1951","download_url":"https://codeload.github.com/Inve1951/zig-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171622,"owners_count":20247877,"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":["boilerplate","template","vscode","vscode-snippets","zig","ziglang","zls"],"created_at":"2024-07-29T19:32:20.132Z","updated_at":"2025-03-12T06:31:09.766Z","avatar_url":"https://github.com/Inve1951.png","language":"Zig","readme":"\n# Zig project template - v1.1\n\nBase setup for zig projects with IDE glue.\n\n\n## Features\n\n- vscode integration\n\n    - IDE \"tasks\" to build and run the app and tests\n\n    - IDE \"launch configurations\" to debug the app, all tests, or just the tests in the currently focused zig file\n\n    - format-on-safe via `zig fmt`\n\n    - `zls` integration\n\n    - zig file templates (see below)\n\n\n- TODO: cover other IDEs when their zig support gets good enough.\n\n\n## Zig File Template Setup\n\nTo make use of the included templates do the follow:\n\n- install vscode extension `Gruntfuggly.auto-snippet`\n\n- apply machine-local settings (see `.vscode/user/settings.json`) (also needed for format-on-safe and breakpoints)\n\n- install the templates (see `.vscode/user/snippets/zig.json`)\n\nThese get automatically applied when creating new `.zig` files. They provide typical boilerplate with smart TAB key navigation.\n\n\n## Usage Notes\n\nSet the executable name in `build.zig`.\n\nThe debugger \"launch configurations\" depend on the executable name matching the project's folder name.\n\nThe *debug current file's tests* launch configuration does not use `build.zig`.\n\nTested on Linux;\n*should* work on Mac OS;\n*should* work on Windows.\n\n`zls` is expected to be on $PATH. Same goes for `zig`.\n\n\n---\nGot any notes? Ping me in the zig discord.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInve1951%2Fzig-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInve1951%2Fzig-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInve1951%2Fzig-template/lists"}