{"id":13712659,"url":"https://github.com/andrewrk/lua-in-the-browser","last_synced_at":"2026-03-05T22:05:47.932Z","repository":{"id":66013662,"uuid":"187116582","full_name":"andrewrk/lua-in-the-browser","owner":"andrewrk","description":"using zig to build lua for webassembly","archived":false,"fork":false,"pushed_at":"2019-05-16T23:56:53.000Z","size":210,"stargazers_count":34,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T23:43:51.467Z","etag":null,"topics":["lua","webassembly","zig"],"latest_commit_sha":null,"homepage":null,"language":"C","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/andrewrk.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":"2019-05-16T23:54:19.000Z","updated_at":"2025-02-01T09:18:42.000Z","dependencies_parsed_at":"2023-03-30T09:35:14.374Z","dependency_job_id":null,"html_url":"https://github.com/andrewrk/lua-in-the-browser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewrk/lua-in-the-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrk%2Flua-in-the-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrk%2Flua-in-the-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrk%2Flua-in-the-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrk%2Flua-in-the-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewrk","download_url":"https://codeload.github.com/andrewrk/lua-in-the-browser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrk%2Flua-in-the-browser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30152045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["lua","webassembly","zig"],"created_at":"2024-08-02T23:01:21.064Z","updated_at":"2026-03-05T22:05:47.884Z","avatar_url":"https://github.com/andrewrk.png","language":"C","funding_links":[],"categories":["Web","Network \u0026 Web","Applications"],"sub_categories":["WebAssembly"],"readme":"# lua-in-the-browser\n\nThis is the result of a\n[2.5 hour live coding stream](https://youtu.be/DtZBac-IUBQ) in which I tried\nto build [Lua](https://www.lua.org/) using [ZIG](https://ziglang.org/),\ntargeting [WebAssembly](https://webassembly.org/).\n\n# Status\n\nAble to produce `lib/lua.wasm`, however in the browser it says\n`LinkError: import object field 'getc' is not a Function`.\n\nTo make further progress it is required to make modifications to Lua\nsource code in order to remove the dependency on a file system.\n\nThis depends on\n[pending modifications to Zig](https://github.com/ziglang/zig/pull/2512).\n\n# How to build it and run it\n\n```\nzig build install --prefix .\npython3 -m http.server\n```\n\nThen visit the link printed with a modern browser such as Firefox.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewrk%2Flua-in-the-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewrk%2Flua-in-the-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewrk%2Flua-in-the-browser/lists"}