{"id":29614759,"url":"https://github.com/popovicu/glua-kit-example","last_synced_at":"2025-07-21T00:01:38.723Z","repository":{"id":305564228,"uuid":"1023215325","full_name":"popovicu/glua-kit-example","owner":"popovicu","description":"Example repo for declaring a remote Bazel dependency on glua-kit","archived":false,"fork":false,"pushed_at":"2025-07-20T19:26:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T21:13:50.309Z","etag":null,"topics":["bazel","go","lua"],"latest_commit_sha":null,"homepage":"https://popovicu.com/glua-kit/","language":"Starlark","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/popovicu.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-20T19:07:52.000Z","updated_at":"2025-07-20T20:25:09.000Z","dependencies_parsed_at":"2025-07-20T21:14:29.828Z","dependency_job_id":"583e4e94-52f9-4633-bc98-6ab1bf17eb27","html_url":"https://github.com/popovicu/glua-kit-example","commit_stats":null,"previous_names":["popovicu/glua-kit-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/popovicu/glua-kit-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popovicu%2Fglua-kit-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popovicu%2Fglua-kit-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popovicu%2Fglua-kit-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popovicu%2Fglua-kit-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/popovicu","download_url":"https://codeload.github.com/popovicu/glua-kit-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popovicu%2Fglua-kit-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266217170,"owners_count":23894242,"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":["bazel","go","lua"],"created_at":"2025-07-21T00:00:33.584Z","updated_at":"2025-07-21T00:01:38.693Z","avatar_url":"https://github.com/popovicu.png","language":"Starlark","readme":"# glua-kit-example\n\nThis repository contains a few examples of how to concisely place a remote dependency on `glua-kit` in your Bazel project. Some example Bazel targets are below.\n\nAt the heart of this example is the `MODULE.bazel` file which trivially adds `glua_kit` Bazel repo to the project.\n\n## Standalone bytecode compilation\n\nThis uses a `glua-kit` Bazel rule to build a single Lua file into Lua bytecode. Run the following:\n\n```\nbazel build //lua:test.luac\n```\n\nYou can verify the file:\n\n```\nfile bazel-bin/lua/test.luac\nbazel-bin/lua/test.luac: Lua bytecode, version 5.4\n```\n\n## Using in a Go application\n\n```\nbazel run //go:demo\n```\n\nor if you're having linker issues:\n\n```\nbazel run --linkopt=-fuse-ld=gold //go:demo\n```\n\nThe Go binary simply declares an external dependency on the `glua-kit` Go Lua VM library:\n\n```\ndeps = [\n    \"@glua_kit//go/vm\",\n],\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopovicu%2Fglua-kit-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpopovicu%2Fglua-kit-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopovicu%2Fglua-kit-example/lists"}