{"id":13626625,"url":"https://github.com/zigwasm/wasmer-zig","last_synced_at":"2025-04-16T14:34:13.741Z","repository":{"id":50153529,"uuid":"370722301","full_name":"zigwasm/wasmer-zig","owner":"zigwasm","description":"Zig bindings for the Wasmer WebAssembly runtime","archived":false,"fork":false,"pushed_at":"2022-02-13T19:44:47.000Z","size":852,"stargazers_count":53,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-08T16:44:56.362Z","etag":null,"topics":["wasi","wasm","wasmer","zig","zig-library"],"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/zigwasm.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}},"created_at":"2021-05-25T14:29:51.000Z","updated_at":"2024-09-19T11:52:59.000Z","dependencies_parsed_at":"2022-08-25T10:40:34.650Z","dependency_job_id":null,"html_url":"https://github.com/zigwasm/wasmer-zig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigwasm%2Fwasmer-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigwasm%2Fwasmer-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigwasm%2Fwasmer-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigwasm%2Fwasmer-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigwasm","download_url":"https://codeload.github.com/zigwasm/wasmer-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250843,"owners_count":21237961,"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","wasm","wasmer","zig","zig-library"],"created_at":"2024-08-01T21:02:25.190Z","updated_at":"2025-04-16T14:34:13.342Z","avatar_url":"https://github.com/zigwasm.png","language":"Zig","funding_links":[],"categories":["Zig","Libraries"],"sub_categories":[],"readme":"# wasmer-zig\n\nZig bindings for the [Wasmer] WebAssembly runtime.\n\n[Wasmer]: https://github.com/wasmerio/wasmer\n\n## Disclaimer\n\nThis is a work-in-progress library so things will change without notice! Furthermore, building\nthis library and examples requires the latest nightly version of Zig `0.8.0`, and [`gyro`] package\nmanager.\n\n[`gyro`]: https://github.com/mattnite/gyro\n\n## Building\n\nThis library consumes the Wasmer's C API which is auto-installed with each release of Wasmer.\nThe current stable release of Wasmer this embedding relies on is [v1.0.2]. Therefore, make sure\nyou have `wasmer` binary installed and in your `PATH`.\n\n[v1.0.2]: https://github.com/wasmerio/wasmer/releases/tag/1.0.2\n\nTo build this library, simply run\n\n```\ngyro build\n```\n\nTests can be invoked as follows\n\n```\ngyro build test\n```\n\n## Running examples\n\nYou can find a few examples of how this library can be used to embed Wasmer in your app and\ninstantiate Wasm modules in the `examples/` dir. You can run any example with\n\n```\ngyro build run -Dexample=\u003cexample\u003e\n```\n\nIn particular, you will find there `examples/instance.zig` which is a Zig port of Wasmer's [instance.c]\nexample.\n\n[instance.c]: https://github.com/wasmerio/wasmer/blob/master/lib/c-api/examples/instance.c\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigwasm%2Fwasmer-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigwasm%2Fwasmer-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigwasm%2Fwasmer-zig/lists"}