{"id":20279157,"url":"https://github.com/peterhellberg/art-init","last_synced_at":"2026-05-07T21:42:50.001Z","repository":{"id":255440551,"uuid":"851152318","full_name":"peterhellberg/art-init","owner":"peterhellberg","description":"Initialize a Zig ⚡ Art canvas project ","archived":false,"fork":false,"pushed_at":"2025-03-03T13:11:59.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T13:40:58.124Z","etag":null,"topics":["canvas","template","wasm"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterhellberg.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-09-02T14:19:48.000Z","updated_at":"2025-03-03T13:12:03.000Z","dependencies_parsed_at":"2024-12-11T13:25:29.251Z","dependency_job_id":"0424624f-3988-49d9-86f3-8f1abbf19e18","html_url":"https://github.com/peterhellberg/art-init","commit_stats":null,"previous_names":["peterhellberg/art-init"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fart-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fart-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fart-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fart-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/art-init/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768278,"owners_count":20017129,"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":["canvas","template","wasm"],"created_at":"2024-11-14T13:28:36.215Z","updated_at":"2026-05-07T21:42:49.997Z","avatar_url":"https://github.com/peterhellberg.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# art-init :sparkles:\n\n`art-init` is used to create a directory containing code that\nallows you to promptly get started with using [Zig](https://ziglang.org/)\nto draw into a [Canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API).\n\nThe Zig build `.target` is declared as `.{ .cpu_arch = .wasm32, .os_tag = .freestanding }`\nand `.optimize` is set to `.ReleaseSmall`\n\n\u003e [!Important]\n\u003e No need to specify `-Doptimize=ReleaseSmall`\n\n## Installation\n\n(Requires you to have [Go](https://go.dev/) installed)\n\n```sh\ngo install github.com/peterhellberg/art-init@latest\n```\n\n\u003e [!Note]\n\u003e Live reloading when using `make run` is handled by\n\u003e \u003chttps://github.com/peterhellberg/live\u003e via `go run`.\n\n## Usage\n\n(Requires you to have an up to date (_nightly_) version of\n[Zig](https://ziglang.org/download/#release-master) installed.\n\n```sh\nart-init mycanvas\ncd mycanvas\nmake run\n```\n\n\u003e [!Tip]\n\u003e If you want to write WebGL shaders instead, then use the `-shaders` flag\n\u003e\n\u003e ```sh\n\u003e art-init -shaders myshaders\n\u003e cd myshaders\n\u003e make run\n\u003e ```\n\n:seedling:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fart-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Fart-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fart-init/lists"}