{"id":41629008,"url":"https://github.com/deflinhec/runtimelua","last_synced_at":"2026-01-24T14:28:32.031Z","repository":{"id":65146401,"uuid":"583754662","full_name":"deflinhec/runtimelua","owner":"deflinhec","description":"A lua framework which base on golang, support Redis pub/sub, ZeroMQ, HTTP, Event and Real-time hot reload.","archived":false,"fork":false,"pushed_at":"2023-07-19T12:54:46.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T19:16:26.175Z","etag":null,"topics":["golang","hotreload","lua","redis","zeromq"],"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/deflinhec.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":"2022-12-30T20:07:16.000Z","updated_at":"2024-01-28T16:30:26.000Z","dependencies_parsed_at":"2024-06-20T18:47:50.743Z","dependency_job_id":null,"html_url":"https://github.com/deflinhec/runtimelua","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/deflinhec/runtimelua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deflinhec%2Fruntimelua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deflinhec%2Fruntimelua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deflinhec%2Fruntimelua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deflinhec%2Fruntimelua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deflinhec","download_url":"https://codeload.github.com/deflinhec/runtimelua/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deflinhec%2Fruntimelua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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":["golang","hotreload","lua","redis","zeromq"],"created_at":"2026-01-24T14:28:31.527Z","updated_at":"2026-01-24T14:28:32.021Z","avatar_url":"https://github.com/deflinhec.png","language":"Go","funding_links":["https://ko-fi.com/deflinhec"],"categories":[],"sub_categories":[],"readme":"# Lua runtime framework\n\n\u003e A lua framework which base on golang, support Redis pub/sub, ZeroMQ, HTTP, Event and Real-time hot reload.\n\n## Features\n\n* **aes256** - AES-256 encryption and decryption.\n* **base64** - Base64 encoding and decoding.\n* **json** - JSON encoding and decoding.\n* **md5** - MD5 hash funtion.\n* **uuid** - UUID generator.\n* **bit32** - 32 bit shifting.\n* **bit64** - 64 bit shifting.\n\n* **event** - Event module for subscribing loop、delay events.\n* **http** - HTTP module for sending Http Request.\n* **logger** - Logger module for logging.\n* **redis** - Redis module to comminucate with redis sever, support pub/sub.\n* **zmq** (Optional build) - ZeroMQ module to create router and dealers.\n\n* **Real-time hot reload** - Support for lua hot reload when files changed.\n\n## Getting Started\n\nA quick demostration of this framework can be found under [example directory](./example). \n\n```shell\ncd example \u0026\u0026 go run main.go\n```\n\nWhen launched you'll see each runtime informations in console output.\n\n\u003e 2023-05-08T14:54:20.449+0200    INFO    runtimelua/scripts.go:364       Watching runtime directory      {\"vm\": 0, \"path\": \"/Users/user/runtimelua/example/script\"}\n\u003e 2023-05-08T14:54:20.450+0200    DEBUG   runtimelua/runtime.go:120       Runtime information     {\"vm\": 0, \"load\": [\"table\", \"os\", \"io\", \"string\", \"math\", \"coroutine\", \"package\"]}\n\u003e 2023-05-08T14:54:20.450+0200    DEBUG   runtimelua/runtime.go:123       Runtime information     {\"vm\": 0, \"preload\": [\"runtime\", \"json\", \"bit32\", \"base64\", \"event\", \"logger\"]}\n\u003e 2023-05-08T14:54:20.451+0200    INFO    runtimelua/scripts.go:364       Watching runtime directory      {\"vm\": 1, \"path\": \"/Users/user/runtimelua/example/script\"}\n\u003e 2023-05-08T14:54:20.451+0200    DEBUG   runtimelua/runtime.go:120       Runtime information     {\"vm\": 1, \"load\": [\"math\", \"coroutine\", \"package\", \"table\", \"os\", \"io\", \"string\"]}\n\u003e 2023-05-08T14:54:20.451+0200    DEBUG   runtimelua/runtime.go:123       Runtime information     {\"vm\": 1, \"preload\": [\"runtime\", \"json\", \"bit32\", \"base64\", \"event\", \"logger\"]}\n\n## Building with ZeroMQ support\n\nZeroMQ require extra libraries dependency, so it's optional.\n\n```shell\ngo build -tags zmq\n```\n\n## Contribute\n\nContributions are always welcome.\n\n## License\n\nThis project is licensed under the [Apache-2 License](./LICENSE).\n\n## :coffee: Donation\n\nIf you like my project and also appericate for the effort. Don't hesitate to [buy me a coffee](https://ko-fi.com/deflinhec)😊.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeflinhec%2Fruntimelua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeflinhec%2Fruntimelua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeflinhec%2Fruntimelua/lists"}