{"id":20838755,"url":"https://github.com/royalicing/orbwasmtime","last_synced_at":"2025-12-11T23:45:34.705Z","repository":{"id":179126963,"uuid":"657043046","full_name":"RoyalIcing/OrbWasmtime","owner":"RoyalIcing","description":"Run WebAssembly in Elixir via Wasmtime","archived":false,"fork":false,"pushed_at":"2024-07-27T10:54:01.000Z","size":3364,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T21:29:07.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoyalIcing.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":"2023-06-22T07:34:10.000Z","updated_at":"2025-03-30T19:25:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"3639db17-9453-4255-98ad-6f306b5c54e6","html_url":"https://github.com/RoyalIcing/OrbWasmtime","commit_stats":null,"previous_names":["royalicing/orb_wasmtime"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoyalIcing%2FOrbWasmtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoyalIcing%2FOrbWasmtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoyalIcing%2FOrbWasmtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoyalIcing%2FOrbWasmtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoyalIcing","download_url":"https://codeload.github.com/RoyalIcing/OrbWasmtime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153017,"owners_count":21862294,"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":[],"created_at":"2024-11-18T01:11:27.873Z","updated_at":"2025-12-11T23:45:34.629Z","avatar_url":"https://github.com/RoyalIcing.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OrbWasmtime\n\nRun WebAssembly modules in Elixir via Rust \u0026 Wasmtime.\n\n**Note: this project is in alpha and will change. For another WebAssembly runtime for Elixir [check out Wasmex](https://github.com/tessi/wasmex).**\n\n## Installation\n\nAdd `orb_wasmtime` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:orb_wasmtime, \"~\u003e 0.1.2\"}\n  ]\nend\n```\n\n## About\n\nOrbWasmtime lets you run WebAssembly modules. You can call functions, list exports, pass imports, get/set globals, and read/write memory.\n\n```elixir\ndefmodule Example do\n  alias OrbWasmtime.Instance\n\n  def run() do\n    inst = Instance.run(example_wat())\n    add = Instance.capture(inst, :add, 2)\n    add.(2, 3) # 5\n    add.(4, 5) # 9\n  end\n\n  defp example_wat() do\n    \"\"\"\n    (module $Add\n      (func (export \"add\") (param $a i32) (param $b i32) (result i32)\n        (i32.add (local.get $a) (local.get $b))\n      )\n    )\n    \"\"\"\n  end\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at \u003chttps://hexdocs.pm/orb_wasmtime\u003e.\n\n## Releasing\n\n```bash\ngit tag v0.x.x\ngit push --tags\n# Wait for GitHub Action to succeed\nmix rustler_precompiled.download OrbWasmtime.Rust --all --print --ignore-unavailable\nrm -rf native/orb_wasmtime/target/\nmix hex.publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyalicing%2Forbwasmtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyalicing%2Forbwasmtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyalicing%2Forbwasmtime/lists"}