{"id":25430016,"url":"https://github.com/samyeyo/rtc","last_synced_at":"2026-02-27T00:32:31.895Z","repository":{"id":60115010,"uuid":"430796483","full_name":"samyeyo/rtc","owner":"samyeyo","description":"Lua script to executable compiler","archived":false,"fork":false,"pushed_at":"2025-09-16T10:18:08.000Z","size":77,"stargazers_count":72,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-16T12:41:46.779Z","etag":null,"topics":["compilation","compiler","exe","executable","lua","lua-script","self-contained","self-executable","standalone","windows"],"latest_commit_sha":null,"homepage":"https://www.luart.org","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samyeyo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-11-22T17:07:31.000Z","updated_at":"2025-09-16T10:56:26.000Z","dependencies_parsed_at":"2023-11-26T15:10:26.534Z","dependency_job_id":null,"html_url":"https://github.com/samyeyo/rtc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/samyeyo/rtc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyeyo%2Frtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyeyo%2Frtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyeyo%2Frtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyeyo%2Frtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samyeyo","download_url":"https://codeload.github.com/samyeyo/rtc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyeyo%2Frtc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29879026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["compilation","compiler","exe","executable","lua","lua-script","self-contained","self-executable","standalone","windows"],"created_at":"2025-02-17T02:33:29.181Z","updated_at":"2026-02-27T00:32:31.864Z","avatar_url":"https://github.com/samyeyo.png","language":"Lua","readme":"\u003cdiv align=\"center\"\u003e\n\n![rtc][title] \n\n[![Made with LuaRT](https://badgen.net/badge/Made%20with/LuaRT/yellow)](https://www.luart.org/)\n![Windows Vista+](https://badgen.net/badge/Windows/Vista%20and%20later/blue?icon=windows)\n[![MIT License](https://badgen.net/badge/License/MIT/green)](#)\n\nBuild standalone Windows executables from your Lua scripts.\n\n[Features](#features) |\n[Installation](#installation) |\n[Usage](#usage) |\n[Documentation](https://www.luart.org/doc/toolchain/rtc.html) |\n[Links](#links) |\n[License](#license)\n\u003c/div\u003e\n\n## Features\n\n- Standalone tool : no Makefile, no C compiler needed\n- Compile from command line or using a GUI frontend\n- Build Windows native executable (.exe) from your Lua 5.4.6 scripts\n- Windows desktop or console applications\n- Static executables (without `lua54.dll` dependency)\n- Dynamic executables (with `lua54.dll` dependency)\n- Embed any files with your executable, even Lua binary modules with seamless loading using `require()`\n- Access embedded files seamlessly from your Lua scripts\n- Deploy your applications easily without the need to install Lua\n\n## Installation\n\n#### Using latest release package\n\nThe easiest way to install is to download the latest binary release from the Github repository.\nJust add the directory where you have unpacked the release package to your Windows system PATH variable.\n\nIf you use the release package, you don't need any other dependencies to compile Lua scripts.\n\n#### Build rtc\n  \nTo build **rtc**, you will need to install the LuaRT programming framework sources before to proceed.\nGo to the ```src\\``` directory in the LuaRT folder and type \"**make rtc**\" in a command prompt.\nIt should produce a \"**rtc.exe**\" and \"**wrtc.exe**\"executable. \n\n## Usage\n\n#### rtc command line options\n  \n```\nusage:\trtc.exe [-s][-c][-w][-i icon][-o output] [-lmodname] [directory] main.lua\n\t-s\t\tcreate static executable (without LUA54.DLL dependency)\n\t-c\t\tcreate executable for console (default)\n\t-w\t\tcreate executable for Windows desktop\n\t-i icon\t\tset executable icon (expects an .ico file)\n\t-o output\tset executable name to 'output'\n\t-lmodname\tlink the LuaRT binary module 'modname.dll'\n\tdirectory\tthe content of the directory to be embedded in the executable\n\tmain.lua   \tthe Lua script to be executed\n```\n  \nThe specified optional directory will then be embedded within the executable with all its content archived in the ZIP format, bundled with the generated executable.\nAs an alternative, you can use **wrtc.exe**, the GUI frontend which is more usert friendly.\n\n\u003e **Warning**\n\u003e Compiled dynamic executable depends on the provided `lua54.dll` library. Do not use any other library or your application will throw an error or may crash.\n\n#### Accessing embedded files from your LuaRT application\n  \nTo access embedded files from your LuaRT application, just use the global \"**embed**\" module. It will return a Zip instance, already open for read access, that contains the directory content provided on the command line during compilation with rtc :\n\n```lua\n-- extract all the embedded content\nembed:extractall(\"c:/installdir/\")\n```\n\nIf no embedded content exists, \"**embed**\" will be set to a **nil** value. You should check that the current script is compiled embed table before using it.\nSee the [LuaRT Zip object documentation](https://www.luart.org/doc/compression/Zip.html) for more information.\n  \n#### Requiring Lua modules from embedded files\n\nTo require a LuaRT script file in the embedded files, use **require** with the name of the module. You can require Lua modules, and binary modules (DLL) without the need to extract first (please note that in-memory binary modules loading works only with dynamic executables and may not work for some modules).\n\n```lua\n-- require for the english.lua module, that must have been previously embedded with rtc \nlocal english = require \"english\"\nprint(english.hello)\n```\n  \n## Links\n  \n- [rtc Documentation](https://www.luart.org/doc/toolchain/rtc.html)\n- [rtc Tutorial](https://www.luart.org/doc/tutorial/rtc.html)\n- [LuaRT Homepage](https://www.luart.org/)\n- [LuaRT Community](https://community.luart.org/)\n\n## License\n  \nLuaRT and rtc are copyright (c) 2023 Samir Tine.\nrtc is open source, released under the MIT License.\nSee full copyright notice in the LICENSE file.\n\n[title]: rtc.png\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyeyo%2Frtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamyeyo%2Frtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyeyo%2Frtc/lists"}