{"id":22687418,"url":"https://github.com/cablehead/luajit-bundle","last_synced_at":"2025-07-15T11:05:22.570Z","repository":{"id":20958323,"uuid":"24247002","full_name":"cablehead/luajit-bundle","owner":"cablehead","description":"An experiment at packaging the ability to compile luajit applications to standalone system binaries","archived":false,"fork":false,"pushed_at":"2014-09-19T22:50:19.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T11:04:58.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","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/cablehead.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}},"created_at":"2014-09-19T22:06:35.000Z","updated_at":"2016-04-29T04:46:37.000Z","dependencies_parsed_at":"2022-07-23T15:32:17.243Z","dependency_job_id":null,"html_url":"https://github.com/cablehead/luajit-bundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cablehead/luajit-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fluajit-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fluajit-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fluajit-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fluajit-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cablehead","download_url":"https://codeload.github.com/cablehead/luajit-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fluajit-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265430331,"owners_count":23763982,"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-12-09T23:18:24.393Z","updated_at":"2025-07-15T11:05:22.540Z","avatar_url":"https://github.com/cablehead.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"## luajit-bundle\n\nThis is an experiment at packaging the ability to compile luajit applications\nto standalone system binaries. It's inspired by Luke Gorrie's\n[Snabbswitch](https://github.com/SnabbCo/snabbswitch) project.\n\nAt the moment it supports compiling a single Lua script to a standalone binary,\nand makes the binaries argv and argc available to the Lua script as the\nstandard Lua arg global.\n\n## Dependencies\n\n```\n  $ luarocks install stdlib lua-path\n```\n\n## Usage\n\nfoo.lua:\n\n```lua\n  for i, v in ipairs(arg) do\n    print(i, v)\n  end\n```\n\n```bash\n  $ bin/luajit-bundle foo.lua -o ./foo\n  ...\n  $ ./foo bar 123\n  1       bar\n  2       123\n```\n\n## TODO\n\nCompiling a single Lua file isn't particularly useful. This needs the ability\nto describe all the Lua modules which should be linked with the binary.\n\nIt'd be great if this could just be installed with luarocks. I'm a complete Lua\nnewb though. Is it possible to distribute runnable commands with luarocks?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fluajit-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcablehead%2Fluajit-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fluajit-bundle/lists"}