{"id":31942356,"url":"https://github.com/awman3703/cct-bundler","last_synced_at":"2026-06-20T23:32:08.448Z","repository":{"id":316143715,"uuid":"1062163347","full_name":"AwMan3703/CCT-bundler","owner":"AwMan3703","description":"CC: Tweaked tool to bundle a script with its dependencies, making it portable","archived":false,"fork":false,"pushed_at":"2025-09-23T21:14:21.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T08:59:45.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AwMan3703.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T22:28:01.000Z","updated_at":"2025-09-23T21:14:25.000Z","dependencies_parsed_at":"2025-09-23T00:20:55.397Z","dependency_job_id":"b7250f06-226a-40fd-8506-db14698a5420","html_url":"https://github.com/AwMan3703/CCT-bundler","commit_stats":null,"previous_names":["awman3703/cct-bundler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AwMan3703/CCT-bundler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwMan3703%2FCCT-bundler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwMan3703%2FCCT-bundler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwMan3703%2FCCT-bundler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwMan3703%2FCCT-bundler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AwMan3703","download_url":"https://codeload.github.com/AwMan3703/CCT-bundler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwMan3703%2FCCT-bundler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34589204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-14T09:42:19.757Z","updated_at":"2026-06-20T23:32:08.430Z","avatar_url":"https://github.com/AwMan3703.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CC:Tweaked LUA bundler\nBundles a script and its dependencies (APIs and such, imported with `require()`)\n#### Note that:\nThe bundling operation is not recursive, nested dependencies will be preserved: if script **A** `require`s script **B** and script **B** `require`s script **C**, when script **A** is bundled and script **B** is built into it, script **C** will still be required as an external file. To obtain a single file, script **C** would first need to be bundled in script **B**, before script **B** is built into script **A**.\n\nFurthermore, only explicitly declared imports will be bundled.\n```\nlocal lib = require(\"mylibrary\")\n```\nThe above dependency will be included, whereas the following will not:\n```\nlocal libname = \"mylibrary\"\nlocal lib = require(libname)\n```\n\n\n\n## How to use\n1. Import or download the `bundler.lua` script to a computer.\n2. Use the `bundler build \u003cscript-path\u003e.lua` command to bundle scripts (see \"commands \u003e build\").\n3. The bundled file will be saved at `\u003cscript-path\u003e_bundled.lua`.\n4. You can now remove all dependencies from the computer — the bundled script will run fine on its own.\n\n## Commands\n### `bundler build \u003cscript-path\u003e \u003coutput-path\u003e`\nBuilds a bundle by looking for `require()` statements in the script at `\u003cscript-path\u003e` and replacing them with the code they import from other files. The resulting script is then saved at `\u003coutput-path\u003e`.\n- `\u003cscript-path\u003e` The path of the script to bundle up.\n- `\u003coutput-path\u003e` (OPTIONAL) The location to save the newly built bundle in. If this parameter is omitted, it defaults to the same directory as `\u003cscript-path\u003e`, naming the new file \"`\u003coriginal-name\u003e_bundled.lua`\".\n### `bundler test \u003cscript-path\u003e`\nTemporarily builds and runs a bundle. This command is meant to test if your script would run when bundled, without creating new files.\n- `\u003cscript-path\u003e` The path of the script to test.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawman3703%2Fcct-bundler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawman3703%2Fcct-bundler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawman3703%2Fcct-bundler/lists"}