{"id":19318821,"url":"https://github.com/yizhezhang-ervin/backend_lua","last_synced_at":"2025-08-10T16:37:15.970Z","repository":{"id":105147506,"uuid":"405408970","full_name":"YizheZhang-Ervin/BackEnd_Lua","owner":"YizheZhang-Ervin","description":"Lua + OpenResty + Twemproxy","archived":false,"fork":false,"pushed_at":"2023-12-16T08:42:38.000Z","size":3040,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T05:11:28.035Z","etag":null,"topics":["lua","openresty","openresty-lua","twemproxy"],"latest_commit_sha":null,"homepage":"","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/YizheZhang-Ervin.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}},"created_at":"2021-09-11T15:04:59.000Z","updated_at":"2023-12-27T16:44:16.000Z","dependencies_parsed_at":"2023-12-16T09:54:31.450Z","dependency_job_id":"8bb6fa0e-c4d1-4283-8122-4c724cd38bae","html_url":"https://github.com/YizheZhang-Ervin/BackEnd_Lua","commit_stats":null,"previous_names":["yizhezhang-ervin/backend_lua"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YizheZhang-Ervin/BackEnd_Lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YizheZhang-Ervin%2FBackEnd_Lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YizheZhang-Ervin%2FBackEnd_Lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YizheZhang-Ervin%2FBackEnd_Lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YizheZhang-Ervin%2FBackEnd_Lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YizheZhang-Ervin","download_url":"https://codeload.github.com/YizheZhang-Ervin/BackEnd_Lua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YizheZhang-Ervin%2FBackEnd_Lua/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269754070,"owners_count":24470514,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["lua","openresty","openresty-lua","twemproxy"],"created_at":"2024-11-10T01:19:46.767Z","updated_at":"2025-08-10T16:37:15.923Z","avatar_url":"https://github.com/YizheZhang-Ervin.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BackEnd_Lua\n\n## 1 Lua-Basic\n```\n# 安装（方法1）\ntar zxf lua-5.4.6.tar.gz\ncd lua-5.4.6\nmake linux test\nmake install\n\n# 安装（方法2）\napt install lua5.4\n\n# 数据类型\nnil,boolean,number,string,function,userdata,thread,table\n\n# 运行\nlua xx.lua\n```\n\n## 2 Open-Resty\n```\n# 特点：\n负载均衡、单机闭环、分布式闭环、插入网关\n\n# 安装\nyum install readline-devel pcre-devel openssl-devel perl gcc\nwget https://openresty.org/download/openresty-1.21.4.1.tar.gz\ntar -xzvf openresty-1.21.4.1.tar.gz\n./configure\nmake \u0026\u0026 make install\n```\n\n## 3 实战 Example-Shopping\n```\nTwemproxy + redis：redis代理proxy，统一管理redis和memcached\nlua-resty-template：模板渲染\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyizhezhang-ervin%2Fbackend_lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyizhezhang-ervin%2Fbackend_lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyizhezhang-ervin%2Fbackend_lua/lists"}