{"id":13590786,"url":"https://github.com/vadv/gopher-lua-libs","last_synced_at":"2026-01-27T09:38:39.881Z","repository":{"id":34870669,"uuid":"161613333","full_name":"vadv/gopher-lua-libs","owner":"vadv","description":"Libs for gopher lua","archived":false,"fork":false,"pushed_at":"2025-11-06T12:24:42.000Z","size":1612,"stargazers_count":156,"open_issues_count":5,"forks_count":47,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-06T14:21:08.616Z","etag":null,"topics":["go","gopher-lua","lua"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vadv.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":"2018-12-13T09:14:30.000Z","updated_at":"2025-11-06T12:24:07.000Z","dependencies_parsed_at":"2024-01-14T04:35:29.489Z","dependency_job_id":"afc090eb-5908-4e7c-a399-31cf72dd9569","html_url":"https://github.com/vadv/gopher-lua-libs","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/vadv/gopher-lua-libs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadv%2Fgopher-lua-libs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadv%2Fgopher-lua-libs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadv%2Fgopher-lua-libs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadv%2Fgopher-lua-libs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vadv","download_url":"https://codeload.github.com/vadv/gopher-lua-libs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadv%2Fgopher-lua-libs/sbom","scorecard":{"id":914521,"data":{"date":"2025-08-11","repo":{"name":"github.com/vadv/gopher-lua-libs","commit":"7c75a2e0b6a7f202b1cb48a95707936118202c51"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"21 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/goreleaser.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/vadv/gopher-lua-libs/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/vadv/gopher-lua-libs/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/vadv/gopher-lua-libs/goreleaser.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/vadv/gopher-lua-libs/goreleaser.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/vadv/gopher-lua-libs/goreleaser.yaml/master?enable=pin","Warn: containerImage not pinned by hash: tests/data/zabbix3/Dockerfile:1: pin your Docker image by updating mysql:5 to mysql:5@sha256:4bc6bc963e6d8443453676cae56536f4b8156d78bae03c0145cbe47c2aad73bb","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T20:29:38.505Z","repository_id":34870669,"created_at":"2025-08-24T20:29:38.505Z","updated_at":"2025-08-24T20:29:38.505Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28810890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"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","gopher-lua","lua"],"created_at":"2024-08-01T16:00:50.490Z","updated_at":"2026-01-27T09:38:39.874Z","avatar_url":"https://github.com/vadv.png","language":"Go","readme":"# gopher-lua-libs\n[![GoDoc](https://godoc.org/github.com/vadv/gopher-lua-libs?status.svg)](https://godoc.org/github.com/vadv/gopher-lua-libs)\n\n\nPackage contains is a libs for [gopher-lua](https://github.com/yuin/gopher-lua).\n\n## License\n\nDevelopment version, available on github, released under BSD 3-clause.\n\n## Installation\n\n```\ngo get github.com/vadv/gopher-lua-libs\n```\n\n## Index\n\n* [argparse](/argparse) argparse CLI parsing \u003chttps://github.com/luarocks/argparse\u003e\n* [base64](/base64) [encoding/base64](https://pkg.go.dev/encoding/base64) api\n* [cloudwatch](/aws/cloudwatch) aws cloudwatch log access\n* [cert_util](/cert_util) monitoring ssl certs\n* [chef](/chef) chef client api\n* [cmd](/cmd) cmd port\n* [crypto](/crypto) calculate md5, sha256 hash for string\n* [db](/db) access to databases\n* [filepath](/filepath) path.filepath port\n* [goos](/goos) os port\n* [http](/http) http.client \u0026\u0026 http.server\n* [humanize](/humanize) humanize [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) port\n* [inspect](/inspect) pretty print [github.com/kikito/inspect.lua](https://github.com/kikito/inspect.lua)\n* [ioutil](/ioutil) io/ioutil port\n* [json](/json) json implementation\n* [log](/log) log port\n* [plugin](/plugin) run lua code in lua code\n* [pprof](/pprof) pprof http-server for golang from lua\n* [prometheus](/prometheus/client) prometheus exporter\n* [regexp](/regexp) regexp port\n* [runtime](/runtime) runtime port\n* [pb](/pb) [https://github.com/cheggaaa/pb](https://github.com/cheggaaa/pb) port (v3)\n* [shellescape](/shellescape) shellescape \u003chttps://github.com/alessio/shellescape\u003e port\n* [stats](/stats) stats [https://github.com/montanaflynn/stats](https://github.com/montanaflynn/stats) port\n* [storage](/storage) package for store persist data and share values between lua states\n* [strings](/strings) strings port (utf supported)\n* [tac](/tac) tac line-by-line scanner (from end of file to up)\n* [tcp](/tcp) raw tcp client lib\n* [telegram](/telegram) telegram bot\n* [template](/template) template engines\n* [time](/time) time port\n* [xmlpath](/xmlpath) [gopkg.in/xmlpath.v2](https://gopkg.in/xmlpath.v2) port\n* [yaml](/yaml) [gopkg.in/yaml.v2](https://gopkg.in/yaml.v2) port\n* [zabbix](/zabbix) zabbix bot\n* [bit](/bit) bitwise operations\n\n\n## Usage\n\nFor the quick overview you can use standalone interpreter with listed libs. Examples and documentation for modules can be found in their directories.\n```\ngo install github.com/vadv/gopher-lua-libs/cmd/glua-libs@latest\n\nglua-libs example.lua\n```\n\nThis example shows basic usage of this libs in your code\n\n```golang\npackage main\n\n\nimport (\n        \"log\"\n        \"flag\"\n        \"os\"\n\n        lua \"github.com/yuin/gopher-lua\"\n        libs \"github.com/vadv/gopher-lua-libs\"\n\n)\nvar (\n        exec = flag.String(\"execute\", \"\", \"execute lua script\")\n)\n\n\nfunc main() {\n        flag.Parse()\n        state := lua.NewState()\n        defer state.Close()\n        libs.Preload(state)\n        if *exec != `` {\n                if err := state.DoFile(*exec); err != nil {\n                        log.Printf(\"[ERROR] Error executing file: \", err)\n                }\n        } else {\n                log.Println(\"Target file was not given!\")\n                os.Exit(0)\n        }\n}\n\n\n```\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadv%2Fgopher-lua-libs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadv%2Fgopher-lua-libs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadv%2Fgopher-lua-libs/lists"}