{"id":16487036,"url":"https://github.com/gmlewis/spin-moonbit-sdk","last_synced_at":"2026-03-11T23:33:56.277Z","repository":{"id":252993712,"uuid":"842130620","full_name":"gmlewis/spin-moonbit-sdk","owner":"gmlewis","description":"Experimental Spin SDK for the MoonBit programming language.","archived":false,"fork":false,"pushed_at":"2026-03-11T00:25:18.000Z","size":812,"stargazers_count":24,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-11T06:07:52.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MoonBit","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmlewis.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-13T18:22:53.000Z","updated_at":"2026-03-11T00:25:22.000Z","dependencies_parsed_at":"2024-12-31T02:27:29.970Z","dependency_job_id":"c3f9210f-39b9-4f4c-a5d0-922dc6e82e8e","html_url":"https://github.com/gmlewis/spin-moonbit-sdk","commit_stats":null,"previous_names":["gmlewis/spin-moonbit-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gmlewis/spin-moonbit-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmlewis%2Fspin-moonbit-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmlewis%2Fspin-moonbit-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmlewis%2Fspin-moonbit-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmlewis%2Fspin-moonbit-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmlewis","download_url":"https://codeload.github.com/gmlewis/spin-moonbit-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmlewis%2Fspin-moonbit-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30407001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T22:36:59.286Z","status":"ssl_error","status_checked_at":"2026-03-11T22:36:57.544Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-11T13:32:03.592Z","updated_at":"2026-03-11T23:33:56.272Z","avatar_url":"https://github.com/gmlewis.png","language":"MoonBit","readme":"# gmlewis/spin-moonbit-sdk\n[![check](https://github.com/gmlewis/spin-moonbit-sdk/actions/workflows/check.yml/badge.svg)](https://github.com/gmlewis/spin-moonbit-sdk/actions/workflows/check.yml)\n\nThis is an experimental [Spin SDK] for the [MoonBit] programming language.\nPlease expect breaking changes while still experimenting with the API.\n\nThis is based on this blog post: https://www.moonbitlang.com/blog/component-model\nand this GitHub example: https://github.com/moonbitlang/moonbit-docs/tree/464356567270284446244cccecd101c04e9806f8/examples/wasi-http\n\n[Spin SDK]: https://www.fermyon.com/spin\n[MoonBit]: https://www.moonbitlang.com/\n\n## Templates\n\nIf you wish to install MoonBit templates for the [Spin CLI tool] (v3), you can run:\n\n```bash\nspin templates install --git https://github.com/gmlewis/spin-moonbit-sdk\n```\n\nThe templates are located in the `templates` folder.\n\n## Build (SDK Development)\n\nBefore building, you must have already installed the MoonBit programming language\nand the [Spin CLI tool]. You also need version `v1.236.0` or later of [wasm-tools].\n\nTo install [MoonBit], follow the instructions here (it is super-easy with VSCode):\nhttps://www.moonbitlang.com/download/\n\nIf you already have the [Rust] programming language installed, you can install\n[wasm-tools] by typing:\n\n```bash\ncargo install --locked wasm-tools\n```\n\nThen, to build this SDK, clone the repo, and type:\n\n```bash\nmoon update \u0026\u0026 moon install\nmoon build\n```\n\n[Spin CLI tool]: https://spinframework.dev/v3/install\n[wasm-tools]: https://github.com/bytecodealliance/wasm-tools\n[Rust]: https://www.rust-lang.org/tools/install\n\n## Examples\n\nExamples can be found at: https://github.com/gmlewis/spin-moonbit-sdk-examples\n\nTo run an example, type:\n\n```bash\n$ cd examples/hello-world\n$ spin up --build\n```\n\nthen from another terminal, hit the endpoint with `curl`:\n\n```bash\n$ curl -i localhost:3000/hello\nHTTP/1.1 200 OK\ncontent-type: text/plain\ntransfer-encoding: chunked\ndate: Sat, 17 Aug 2024 00:15:14 GMT\n\nHello, World!\n```\n\nEach example contains a README. Please refer to the README for additional commands and setup instructions.\nIt might also be required to issue an update command: `moon update` to retrieve the latest dependencies.\n\n## Status\n\nThe code has been updated to support compiler:\n\n```bash\n$ moon version --all\nmoon 0.1.20260309 (f21b520 2026-03-09) ~/.moon/bin/moon\nmoonc v0.8.3+cd28f524e (2026-03-09) ~/.moon/bin/moonc\nmoonrun 0.1.20260309 (f21b520 2026-03-09) ~/.moon/bin/moonrun\nmoon-pilot 0.0.1-df92511 (2026-03-09) ~/.moon/bin/moon-pilot\n```\n","funding_links":[],"categories":["MoonBit","\u003ca name=\"MoonBit\"\u003e\u003c/a\u003eMoonBit"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmlewis%2Fspin-moonbit-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmlewis%2Fspin-moonbit-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmlewis%2Fspin-moonbit-sdk/lists"}