{"id":16985600,"url":"https://github.com/nikneym/zig-wasix","last_synced_at":"2025-04-15T06:55:36.901Z","repository":{"id":194867242,"uuid":"691752410","full_name":"nikneym/zig-wasix","owner":"nikneym","description":"WASIX extensions for Zig ⚡","archived":false,"fork":false,"pushed_at":"2025-01-23T13:38:19.000Z","size":32,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T06:55:31.819Z","etag":null,"topics":["wasi","wasix","wasm","wasmer","webassembly","zig"],"latest_commit_sha":null,"homepage":"https://github.com/nikneym/zig-wasix","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/nikneym.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}},"created_at":"2023-09-14T20:15:44.000Z","updated_at":"2025-02-10T04:57:58.000Z","dependencies_parsed_at":"2023-12-17T12:24:47.476Z","dependency_job_id":"4c143496-00fa-4c62-9aed-bd1a63e02c4b","html_url":"https://github.com/nikneym/zig-wasix","commit_stats":null,"previous_names":["nikneym/zig-wasix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikneym%2Fzig-wasix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikneym%2Fzig-wasix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikneym%2Fzig-wasix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikneym%2Fzig-wasix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikneym","download_url":"https://codeload.github.com/nikneym/zig-wasix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023713,"owners_count":21199958,"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":["wasi","wasix","wasm","wasmer","webassembly","zig"],"created_at":"2024-10-14T02:43:49.943Z","updated_at":"2025-04-15T06:55:36.895Z","avatar_url":"https://github.com/nikneym.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zig-WASIX\nWASIX extensions for Zig ⚡. This module let's you to create programs with Wasmer \u0026 WASIX that can run on edge or be sandboxed.\n\n## Installation\nInstall via Zig package manager (Copy the full SHA of latest commit hash from GitHub):\n```sh\nzig fetch --save https://github.com/nikneym/zig-wasix/archive/\u003clatest-commit-hash\u003e.tar.gz\n```\nIn your `build` function at `build.zig`, make sure your build step and source files are aware of the module:\n```zig\nconst dep_opts = .{ .target = target, .optimize = optimize };\n\nconst wasix_dep = b.dependency(\"wasix\", dep_opts);\nconst wasix_module = wasix_dep.module(\"wasix\");\n\nexe_mod.addImport(\"wasix\", wasix_module);\n```\n\n## Building Projects\nNow you can build your projects by targeting WASM \u0026 WASI and run on Wasmer, as the following:\n```sh\nzig build -Dtarget=wasm32-wasi\nwasmer run zig-out/bin/\u003cyour-project\u003e.wasm\n\n# You may want to have networking and other stuff be enabled\nwasmer run --enable-all --net zig-out/bin/\u003cyour-project\u003e.wasm\n```\n\n## Documentation\nYou can refer to [wasix.org](https://wasix.org/) for documentation and further API reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikneym%2Fzig-wasix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikneym%2Fzig-wasix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikneym%2Fzig-wasix/lists"}