{"id":24310344,"url":"https://github.com/fly-studio/luajit_static_modules","last_synced_at":"2025-03-08T00:31:10.722Z","repository":{"id":271383378,"uuid":"913257296","full_name":"fly-studio/luajit_static_modules","owner":"fly-studio","description":"Compile openssl, cjson, http, https to luajit","archived":false,"fork":false,"pushed_at":"2025-01-07T11:16:22.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T06:12:33.723Z","etag":null,"topics":[],"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/fly-studio.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}},"created_at":"2025-01-07T10:34:35.000Z","updated_at":"2025-01-07T11:16:25.000Z","dependencies_parsed_at":"2025-01-07T11:41:01.177Z","dependency_job_id":"43deb796-ffdc-4889-94c5-c813a6c785b4","html_url":"https://github.com/fly-studio/luajit_static_modules","commit_stats":null,"previous_names":["fly-studio/luajit_static_modules"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Fluajit_static_modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Fluajit_static_modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Fluajit_static_modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Fluajit_static_modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-studio","download_url":"https://codeload.github.com/fly-studio/luajit_static_modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242483273,"owners_count":20135784,"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":"2025-01-17T06:12:35.113Z","updated_at":"2025-03-08T00:31:10.702Z","avatar_url":"https://github.com/fly-studio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 静态编译luajit\n\n静态编译luajit为独立文件，并且包含一些第三方库。\n\n\n# 已经包含的第三方库\n\n- [x] luajit\n- [x] lua-cjson\n- [x] lua-openssl\n- [x] lua-protobuf\n- [x] lua-sec\n- [x] luasocket\n- [x] inspect-lua\n- [x] serpent\n\n## 可以require的模块\n```\ncjson\ninspect\nltn12\nmime\nmime.core\nopenssl\npb\npb.buffer\npb.conv\npb.io\npb.slice\npb.unsafe\nprotoc\nserpent\nsocket\nsocket.core\nsocket.ftp\nsocket.headers\nsocket.http\nsocket.smtp\nsocket.tp\nsocket.url\nssl\nssl.config\nssl.context\nssl.core\nssl.https\nssl.x509\n```\n\n# 编译方法\n\n可静态编译的操作系统:\n- [X] mingw\n- [X] linux\n\nTodo:\n- [ ] openssl 静态编译\n\n\n## Linux\n```\napt install build-essential openssl-devel vim\ngit clone --recursive https://github.com/fly-studio/luajit_static_modules\ncd luajit_static_modules\nmake\n```\n\n## MingW\n```\npacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-make openssl-devel vim\ngit clone --recursive https://github.com/fly-studio/luajit_static_modules\ncd luajit_static_modules\nmingw32-make\n```\n\n会编译成一个独立的luajit.exe，只依赖OpenSSL的libssl-3-x64.dll、libcrypto-3-x64.dll\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-studio%2Fluajit_static_modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-studio%2Fluajit_static_modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-studio%2Fluajit_static_modules/lists"}