{"id":37107210,"url":"https://github.com/r0kyi/glua","last_synced_at":"2026-01-14T12:53:32.257Z","repository":{"id":320047078,"uuid":"1074760706","full_name":"r0kyi/glua","owner":"r0kyi","description":"glua 基于 gopher-lua 二次开发，在原版基础上新增了许多模块","archived":false,"fork":false,"pushed_at":"2025-10-21T15:50:48.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-21T17:44:25.823Z","etag":null,"topics":["go","golang","gopher-lua","lua"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r0kyi.png","metadata":{"files":{"readme":"README.MD","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-12T12:36:35.000Z","updated_at":"2025-10-21T15:50:53.000Z","dependencies_parsed_at":"2025-10-21T17:44:33.043Z","dependency_job_id":null,"html_url":"https://github.com/r0kyi/glua","commit_stats":null,"previous_names":["r0kyi/glua"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/r0kyi/glua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0kyi%2Fglua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0kyi%2Fglua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0kyi%2Fglua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0kyi%2Fglua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r0kyi","download_url":"https://codeload.github.com/r0kyi/glua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0kyi%2Fglua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","golang","gopher-lua","lua"],"created_at":"2026-01-14T12:53:31.521Z","updated_at":"2026-01-14T12:53:32.239Z","avatar_url":"https://github.com/r0kyi.png","language":"Go","readme":"# glua\n\n## 简介\n\nglua 基于 [gopher-lua](https://github.com/r0kyi/gopher-lua) 二次开发，在原版基础上新增了许多模块\n\n## 安装\n\n```bash\ngo get github.com/r0kyi/glua\n```\n\n## 使用\n\n直接安装二进制版本\n\n```bash\ngo install github.com/r0kyi/glua/cmd/glua@latest\nglua \u003clua file\u003e\n```\n\n在 go 代码中使用\n\n```lua\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/r0kyi/glua\"\n)\n\nfunc main() {\n\tL := glua.NewState()\n\tdefer L.Close()\n\n\targs := os.Args\n\tif len(args) \u003c 2 {\n\t\tprintln(\"usage: glua \u003clua file\u003e\")\n\t\treturn\n\t}\n\n\tif err := L.DoFile(args[1]); err != nil {\n\t\tprintln(err.Error())\n\t}\n}\n\n```\n\n## 模块列表\n\n| 模块名称                       | 模块介绍       |\n| ------------------------------ | -------------- |\n| [base](docs/base.md)           | base 编解码    |\n| [cron](docs/cron.md)           | 计划任务       |\n| [crypto](docs/crypto.md)       | 加解密         |\n| [database](docs/database.md)   | 数据库连接     |\n| [format](docs/format.md)       | 格式化字符串   |\n| [http](docs/http.md)           | http 请求      |\n| [json](docs/json.md)           | json 解析      |\n| [jwt](docs/jwt.md)             | jwt 解析       |\n| [re](docs/re.md)               | 正则           |\n| [time](docs/time.md)           | 时间           |\n| [uuid](docs/uuid.md)           | 通用唯一识别码 |\n| [validator](docs/validator.md) | 数据验证       |\n| [web](docs/web.md)             | web 服务       |\n| [xml](docs/xml.md)             | xml 解析       |\n| [yaml](docs/yaml.md)           | yaml 解析      |\n\n## 特别鸣谢\n\n- [gopher-lua](https://github.com/yuin/gopher-lua)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0kyi%2Fglua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr0kyi%2Fglua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0kyi%2Fglua/lists"}