Skip to main content

awesome-lua

add repo last update total items

Welcome to the collection of Lua repositories! 👋

All repositories are automatically sorted by a specific Score, which takes into account the date of the last commit, the number of stars, and also gives a slight advantage to repositories that have been recently created.

The meta-information about repositories is automatically updated regularly.
The generator for these pages is also written in Lua 🌑

You can add your own or someone else's repository to the list by clicking the green button at the top or by creating an Issue. For every repository you add, you get 9000 love from me ❤️. It's easy!

I would also welcome your suggestions on how to improve the structuring of repositories.

Circles Legend
Last commit..

⚪ 0-7 days ago 🟢 8-30 days ago
🟡 31-60 days ago 🟠 61-90 days ago
🟤 91-180 days ago 🔴 181-365 days ago
⚫ 366+ days ago

🚧 Development

Debugging

Logging

Testing

  • 🟢 lunarmodules/busted Elegant Lua unit testing.
  • 🟢 Olivine-Labs/busted Elegant Lua unit testing.
  • bluebird75/luaunit LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
  • norman/telescope A highly customizable test library for Lua that allows declarative tests with nested contexts.
  • 🟤 bjornbytes/lust Lightweight Lua test framework
  • silentbicycle/lunatest xUnit-style + randomized unit testing framework for Lua (and C projects using Lua, etc.)
  • IUdalov/u-test Sane and simple unit testing framework for Lua

Standalone utils

Build

  • xmake-io/xmake 🔥 A cross-platform build utility based on Lua
  • 🟡 ers35/luastatic Build a standalone executable from a Lua program.
  • hack0z/luject 🍹A static injector of dynamic library for application (android, iphoneos, macOS, windows, linux)
  • jirutka/luapak Easily build a standalone executable for any Lua program
  • stevedonovan/Lake A Lua-based Build Tool

Helpers

Other

🔧 Utils / Small libs

Crypto

  • 🔴 somesocks/lua-lockbox A collection of cryptographic primitives written in pure Lua
  • 🟤 kikito/md5.lua MD5 sum in pure Lua, with no C and no external dependencies
  • 🟤 Egor-Skriptunoff/pure_lua_SHA SHA1, SHA2, SHA3, BLAKE2 and BLAKE3 functions written in pure Lua and optimized for speed
  • 🔴 philanc/plc Pure Lua Crypto
  • bighil/aeslua Implementation of aes in nearly pure lua (bitlib is required)
  • iskolbin/lbase64 Lua base64 decoder/encoder
  • aiq/basexx A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding.
  • kikito/sha1.lua (Deprecated Repo) SHA-1 secure hash computation, and HMAC-SHA1 signature computation in Lua (5.1)

Parsing / Serialization

  • 🟢 rxi/json.lua A lightweight JSON library for Lua
  • 🟠 harningt/luajson JSON parser/encoder for Lua Parses JSON using LPEG for speed and flexibility. Depending on parser/encoder options, various values are preserved as best as possible.
  • 🟠 api7/jsonschema Pure Lua JSON schema validator for Lua/LuaJIT
  • craigmj/json4lua JSON (Javascript Object Notation - http://www.json.org) encoding / decoding module for Lua, and very basic JSON RPC module (requiring socket 2.0).Module requires compat-5.1 if using Lua 5.0.This repository was converted from a CVS repository on luaforge.net on Jan. 20, 2010.
  • 🔴 manoelcampos/xml2lua XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
  • mpeterv/argparse Feature-rich command line parser for Lua
  • 🔴 msva/lua-htmlparser An HTML parser for lua.
  • 🔴 bakpakin/binser Customizable Lua Serializer
  • grafi-tt/lunajson A strict and fast JSON parser/decoder/encoder written in pure Lua.
  • 🔴 Phrogz/SLAXML SAX-like streaming XML parser for Lua
  • Cluain/Lua-Simple-XML-Parser Read simple XML easily
  • gvx/bitser Serializes and deserializes Lua values with LuaJIT
  • 🔴 Phrogz/NeatJSON Pretty-print your JSON in Ruby, JS, or Lua with more power than JSON.stringify or JSON.pretty_generate
  • ToxicFrog/vstruct A Lua library for packing and unpacking binary data, supporting arbitrary (byte-aligned) widths, named fields, and repetition.
  • gvx/Ser A fast, robust, richly-featured table serialisation library for Lua
  • x25/luajwt JSON Web Tokens for Lua
  • iryont/lua-struct Implementation of binary packing/unpacking in pure lua
  • catwell/luajit-msgpack-pure MessagePack for LuaJIT (using FFI, no bindings, V4 API)

OOP / Classes

🕸️ Web

Frameworks

  • 🟠 luvit/luvit Lua + libUV + jIT = pure awesomesauce
  • 🟡 pkulchenko/fullmoon Fast and minimalistic Redbean-based Lua web framework in one file.
  • sailorproject/sailor A Lua MVC Web Framework.
  • 🟠 kernelsauce/turbo Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
  • mongrel2/Tir A Simple Lua Web Framework For Mongrel2
  • ostinelli/gin A LUA fast, low-latency, low-memory footprint, web JSON-API framework with Test Driven Development helpers and patterns.
  • daogangtang/bamboo Bamboo is the web framework of Lua based on Mongrel2, ZeroMQ and NoSQL database.
  • miketang84/bamboo Bamboo is the web framework of Lua based on Mongrel2, ZeroMQ and NoSQL database.
  • benglard/waffle Fast, asynchronous web framework for Lua/Torch
  • keplerproject/orbit Orbit is an MVC web framework for Lua.
  • horan-geeker/nana Lua http api framework
  • Olivine-Labs/lusty Lua RESTful Web Application Framework
  • 🟤 keplerproject/wsapi WSAPI is an API that abstracts the web server from Lua web applications.

Clients

Servers

Templating

OpenResty (ngx)

  • alexazhou/VeryNginx A very powerful and friendly nginx base on lua-nginx-module( openresty ) which provide WAF, Control Panel, and Dashboards.
  • 🟢 auto-ssl/lua-resty-auto-ssl On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
  • 🟢 openresty/lua-resty-redis Lua redis client driver for the ngx_lua based on the cosocket API
  • 🔴 loveshell/ngx_lua_waf ngx_lua_waf是一个基于lua-nginx-module(openresty)的web应用防火墙
  • sumory/lor a fast, minimalist web framework for lua based on OpenResty
  • openresty/lua-resty-core New FFI-based API for lua-nginx-module
  • 🔴 leandromoreira/cdn-up-and-running CDN Up and Running - Building a CDN from Scratch to Learn about CDN, Nginx, Lua, Prometheus, Grafana, Load balancing, and Containers.
  • 🟢 openresty/lua-resty-limit-traffic Lua library for limiting and controlling traffic in OpenResty/ngx_lua
  • 🟢 openresty/lua-resty-mysql Nonblocking Lua MySQL driver library for ngx_lua or OpenResty
  • 🔴 ledgetech/lua-resty-http Lua HTTP client cosocket driver for OpenResty / ngx_lua.
  • 🟡 doujiang24/lua-resty-kafka Lua kafka client driver for the Openresty based on the cosocket API
  • 🟢 openresty/lua-resty-upstream-healthcheck Health Checker for Nginx Upstream Servers in Pure Lua
  • 🟢 openresty/lua-resty-websocket WebSocket support for the ngx_lua module (and OpenResty)
  • 🟢 openresty/lua-resty-lrucache Lua-land LRU Cache based on LuaJIT FFI
  • 🟢 openresty/lua-resty-string String utilities and common hash functions for ngx_lua and LuaJIT
  • 🟢 YunoHost/SSOwat A simple SSO for NGINX, written in Lua
  • Kong/lua-resty-healthcheck Healthcheck library for OpenResty to validate upstream service status
  • 🟢 openresty/lua-resty-upload Streaming reader and parser for http file uploading based on ngx_lua cosocket
  • fffonion/lua-resty-openssl FFI-based OpenSSL binding for OpenResty
  • 🟢 openresty/lua-resty-dns DNS resolver for the nginx lua module
  • 🟤 knyar/nginx-lua-prometheus Prometheus metric library for Nginx written in Lua
  • 🟢 openresty/lua-resty-lock Simple nonblocking lock API for ngx_lua based on shared memory dictionaries
  • 🟤 unixhot/waf 使用Nginx+Lua实现的WAF(版本v1.0)
  • starjun/openstar lua waf,nginx+lua,openresty,luajit,waf+,cdn,nginx
  • 🟢 openresty/lua-resty-memcached Lua memcached client driver for the ngx_lua based on the cosocket API
  • 🔴 C0nw0nk/Nginx-Lua-Anti-DDoS A Anti-DDoS script to protect Nginx web servers using Lua with a HTML Javascript based authentication puzzle inspired by Cloudflare I am under attack mode an Anti-DDoS authentication page protect yourself from every attack type All Layer 7 Attacks Mitigating Historic Attacks DoS DoS Implications DDoS All Brute Force Attacks Zero day exploits Social Engineering Rainbow Tables Password Cracking Tools Password Lists Dictionary Attacks Time Delay Any Hosting Provider Any CMS or Custom Website Unlimited Attempt Frequency Search Attacks HTTP Basic Authentication HTTP Digest Authentication HTML Form Based Authentication Mask Attacks Rule-Based Search Attacks Combinator Attacks Botnet Attacks Unauthorized IPs IP Whitelisting Bruter THC Hydra John the Ripper Brutus Ophcrack unauthorized logins Injection Broken Authentication and Session Management Sensitive Data Exposure XML External Entities (XXE) Broken Access Control Security Misconfiguration Cross-Site Scripting (XSS) Insecure Deserialization Using Components with Known Vulnerabilities Insufficient Logging & Monitoring Drupal WordPress Joomla Flash Magento PHP Plone WHMCS Atlassian Products malicious traffic Adult video script avs KVS Kernel Video Sharing Clip Bucket Tube sites Content Management Systems Social networks scripts backends proxy proxies PHP Python Porn sites xxx adult gaming networks servers sites forums vbulletin phpbb mybb smf simple machines forum xenforo web hosting video streaming buffering ldap upstream downstream download upload rtmp vod video over dl hls dash hds mss livestream drm mp4 mp3 swf css js html php python sex m3u zip rar archive compressed mitigation code source sourcecode chan 4chan 4chan.org 8chan.net 8ch 8ch.net infinite chan 8kun 8kun.net anonymous anon tor services .onion torproject.org nginx.org nginx.com openresty.org darknet dark net deepweb deep web darkweb dark web mirror vpn reddit reddit.com adobe flash hackthissite.org dreamhack hack hacked hacking hacker hackers hackerz hackz hacks code coding script scripting scripter source leaks leaked leaking cve vulnerability great firewall china america japan russia .gov government http1 http2 http3 quic q3 litespeedtech litespeed apache torrents torrent torrenting webtorrent bittorrent bitorrent bit-torrent cyberlocker cyberlockers cyber locker cyberbunker warez keygen key generator free irc internet relay chat peer-to-peer p2p cryptocurrency crypto bitcoin miner browser xmr monero coinhive coin hive coin-hive litecoin ethereum cpu cycles popads pop-ads advert advertisement networks banner ads protect ovh blazingfast.io amazon steampowered valve store.steampowered.com steamcommunity thepiratebay lulzsec antisec xhamster pornhub porn.com pornhub.com xhamster.com xvideos xvdideos.com xnxx xnxx.com popads popcash cpm ppc
  • Tinywan/lua-nginx-redis 🌺 Redis、Lua、Nginx、OpenResty 笔记和资料
  • 🟢 xxddpac/wArmor 🚀 An WAF Framework based on OpenResty
  • 🟢 Yelp/casper A fast web application platform built in Rust and Luau
  • 🟤 zmartzone/lua-resty-openidc OpenID Connect Relying Party and OAuth 2.0 Resource Server implementation in Lua for NGINX / OpenResty
  • 🟡 anjia0532/lua-resty-maxminddb A Lua library for reading MaxMind's Geolocation database
  • 🟡 fffonion/lua-resty-acme Automatic Let's Encrypt certificate serving and Lua implementation of ACMEv2 procotol
  • 🟡 ysugimoto/lua-resty-grpc-gateway REST <-> gRPC gateway library implementation with OpenResty
  • ledgetech/ledge An RFC compliant and ESI capable HTTP cache for Nginx / OpenResty, backed by Redis
  • dualface/gbc-core GameBox Cloud Core - The Game Server Framework based on Lua and OpenResty.
  • 🟤 openresty/lua-resty-balancer A generic consistent hash implementation for OpenResty/Lua
  • 🟤 tl-open-source/tl-ops-manage api-gateway, framework for service management based on openresty。balance, health-check, limit-fuse, waf, 负载均衡,健康检查,服务熔断,服务限流,动态配置,数据统计, waf过滤,黑白名单,基于openresty的API网关
  • 🟤 iamtsm/tl-ops-manage api-gateway, framework for service management based on openresty。balance, health-check, limit-fuse, waf, 负载均衡,健康检查,服务熔断,服务限流,动态配置,数据统计, waf过滤,黑白名单,基于openresty的API网关
  • 🟤 bungle/lua-resty-session Session library for OpenResty – flexible and secure
  • iresty/Mio API statistics/summary and health datas in NGINX based on OpenResty/ngx_lua, just like NGINX Plus
  • upyun/lua-resty-checkups Manage Nginx upstreams in pure Lua.
  • spacewander/lua-resty-rsa RSA encrypt/decrypt & sign/verify for OpenResty/LuaJIT
  • appwilldev/moochine MOOCHINE - A simple and lightweight web framework based on OpenResty(ngx_lua, http://openresty.org).
  • ledgetech/lua-resty-redis-connector Connection utilities for lua-resty-redis
  • 🔴 apache/skywalking-nginx-lua The Nginx Lua agent for Apache SkyWalking
  • wingify/lua-resty-rabbitmqstomp Opinionated Lua RabbitMQ client library for the ngx_lua apps based on the cosocket API
  • Kong/lua-resty-worker-events Cross Worker Events for Nginx in Pure Lua
  • theganyo/lua2go Easy access to your Go (Golang) modules from Lua and NGINX!
  • liseen/lua-resty-http Lua http client driver for the ngx_lua based on the cosocket API
  • saks/lua-resty-repl Interactive console (REPL) for Openresty and luajit code
  • 🔴 bungle/lua-resty-nettle LuaJIT FFI bindings for Nettle (a low-level cryptographic library)
  • hpxl/nginx-lua-fastdfs-GraphicsMagick nginx+lua+fastdfs+GraphicsMagick 动态生成缩略图
  • adobe-apiplatform/api-gateway-aws AWS SDK for NGINX with Lua
  • tokers/lua-resty-requests Yet Another HTTP library for OpenResty - For human beings!
  • torhve/LuaWeb A very simple blog engine using openresty, nginx, lua, markdown, git and redis
  • jirutka/ngx-oauth OAuth 2.0 proxy for nginx written in Lua.
  • 🟤 leandromoreira/nginx-lua-redis-rate-measuring A lua library to provide distributed rate measurement using nginx + redis, you can use it to do a throttling system within many nodes.
  • bungle/lua-resty-validation Validation Library (Input Validation and Filtering) for Lua and OpenResty.
  • appwilldev/moochine-demo OpenResty(ngx_lua, http://openresty.org )+Moochine 完整实例
  • SpringCloud/nginx-zuul-dynamic-lb 🍁 基于Lua的Spring Cloud网关高可用通用Ngnix插件
  • juce/lua-resty-shell tiny subprocess/shell library to use with OpenResty application server
  • 🔴 luastar/luastar 一个基于openresty的http接口开发框架或网关
  • agoragames/nginx-google-oauth Lua module to add Google OAuth to nginx
  • 🔴 e404/htaccess-for-nginx .htaccess for nginx enables the nginx high performance webserver to deal with .htaccess files.
  • mtourne/nginx_log_by_lua Simple example of aggregated logging using log_by_lua hooks
  • peanode/simple-url-shorten 基于Openresty的lua模块开发的简单网址缩短系统,特点是使用Nginx+lua+redis,性能非常高;具有域名黑名单、白名单,支持简单认证;支持自定义短网址;支持自定义短URL长度;支持自定义短网址字符前缀后缀等等
  • zheng-ji/ngx_lua_reqstatus 实时统计 nginx 状态的 lua 拓展
  • iresty/lua-resty-test Lua test frame for the ngx_lua based on Openresty
  • weibocom/motan-openresty A cross-language RPC framework for rapid development of high performance distributed services based on OpenResty.
  • anjia0532/lua-resty-redis-util openresty/lua-resty-redis 封装工具类
  • 🔴 api7/lua-resty-ipmatcher High-performance match IP address for Nginx + Lua
  • nixuehan/Belial 基于nginx lua module 的一个 waf .
  • isage/lua-resty-moongoo MongoDB library for OpenResty
  • bungle/lua-resty-route URL Routing Library for OpenResty Supporting Pluggable Matching Engines
  • thibaultcha/lua-cassandra Pure Lua driver for Apache Cassandra
  • LazyZhu/lua-resty-ssdb Lua ssdb client driver for the ngx_lua based on the cosocket API, SSDB is a leveldb server.
  • hnlq715/nginx-prometheus-metrics A production demo to collect prometheus metrics for nginx with lua embedded.
  • tietang/ngx-lua-zuul 基于Nginx&Lua 和Netflix Eureka的微服务网关。请看看:https://github.com/tietang/zebra
  • hopesoft/nginx-lua-image-module A nginx module to resize, crop images
  • ledgetech/lua-resty-qless Lua binding to Qless (Queue / Pipeline management) for OpenResty / Redis
  • solso/api-aggregator Aggregate REST API calls easily on a sandboxed Nginx+Lua env
  • zrbcool/prometheus-lua-nginx API Gateway monitoring tools, out-of-box dashboard helps you find out performance issue,help improve SLA.
  • iqiyi/lua-resty-couchbase Lua couchbase client driver for the ngx_lua based on the cosocket API / 使用cosocket纯lua实现的couchbase的client,已经在爱奇艺重要的服务播放服务稳定运行5年多
  • ubergarm/openresty-nginx-jwt JWT Bearer Token authorization with nginx, openresty, and lua-resty-jwt.
  • 🟤 openresty/lua-ssl-nginx-module NGINX C module that extends ngx_http_lua_module for enhanced SSL/TLS capabilities
  • duhoobo/lua-resty-smtp I must be crazy trying to send mail with Nginx.
  • vovolie/lua-nginx-prometheus Monitoring nginx using prometheus
  • fffonion/lua-resty-sniproxy SNI Proxy based on stream-lua-nginx-module
  • rrfeng/lua-resty-upstream-etcd An OpenResty lua module that can use upstream config in etcd and Kubernetes.
  • netxfly/nginx_lua_security 浅谈nginx+lua在安全中的应用
  • azurewang/lua-resty-fastdfs Nonblocking Lua FastDFS driver library for ngx_lua
  • pintsized/lua-resty-rack A simple and extensible HTTP server framework for OpenResty.
  • ddonline/nginx-lua-waf Nginx-Lua-WAF是一款基于Nginx的使用Lua语言开发的灵活高效的Web应用层防火墙
  • tokers/lua-resty-http2 The HTTP/2 Protocol (Client Side) Implementation for OpenResty.
  • leafo/heroku-openresty Run OpenResty on Heroku with the Lua buildpack
  • medcl/lua-resty-weedfs weefs,lua,nginx and file post processing with ffmpeg and graphicsmagick
  • 🔴 vislee/lua-resty-dns-server Lua DNS server driver for OpenResty
  • grasses/nginx-lua-static-merger Static files merger base on openresty
  • spro/simon Dynamic routing/vhosts with nginx + Lua + Redis
  • songweihang/knight Nginx Http 集群api 统计监控、灰度发布、频率控制
  • jbochi/lua-resty-cassandra Pure Lua Cassandra client using CQL binary protocol
  • torhve/lua-resty-letsencrypt Lua script for Nginx to automatically get certificates from LetsEncrypt CA
  • wubonetcn/luawaf A secure and privately deployable web application firewall(WAF).一个安全、可私有部署的Web应用防火墙(WAF)。
  • leafo/image-server-tutorial An example of an image processing server in OpenResty and Lua
  • woothee/lua-resty-woothee Woothee Lua-Openresty implementation
  • azurewang/lua-resty-postgres Nonblocking Lua PostgreSQL driver library for ngx_lua
  • bungle/lua-resty-uuid LuaJIT FFI bindings for libuuid, a DCE compatible Universally Unique Identifier library.
  • upyun/slardar Updating your upstream list and run lua scripts without reloading Nginx.
  • cloudflare/nginx-google-oauth Lua module to add Google OAuth to nginx
  • 🟤 Kong/lua-resty-dns-client Lua DNS client, load balancer, and utility library

other

🔗 API services

Frameworks

Applications

  • Bambooir/TeleSeed A Telegram-CLI Administration Telgram bot in Lua
  • 🔴 wrxck/mattata A powerful, plugin-based, multi-purpose Telegram bot designed to serve a wide variety of purposes
  • psamim/telegram-cli-backup A simple Lua script to backup Telegram messages into a CSV or sqlite database
  • MutePuker/TeleMute A Telegram-CLI Administration Telgram bot in Lua - New TG

Nvim

MPV

Vim

Other

🎮 Game development

love2d

GTA V

  • xhcherry/GTA5-Stand-LuaAIO GTA5 Mod Stand Lua All in One;含综合、任务、crash、模组、娱乐等多种standlua于一体的存储库
  • AmirrezaJaberi/FIREAC ✅ FiveM Strongest Anticheat
  • 🟢 mkafrin/PolyZone PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone
  • 🟡 alp1x/um-idcard 🪪this is a FiveM script that generates identity cards with mugshots and metadata, specifically designed to be compatible with QBCore,ESX,QBox.
  • ThymonA/menuv FiveM menu library for creating menu's with NUI
  • pablo-1610/ncs_core A powerful, optimized but above all open-source FiveM RolePlay core under developement by the community, for the community.
  • NextCitizens/ncs_core A powerful, optimized but above all open-source FiveM RolePlay core under developement by the community, for the community.
  • PabloCodingg/ncs_core A powerful, optimized but above all open-source FiveM RolePlay core under developement by the community, for the community.
  • xchopin/FiveM-RP-Boilerplate 🔫 Boilerplate for FiveM Roleplay servers. Save time and focus on your real project.

Roblox

  • rojo-rbx/rojo Rojo enables Roblox developers to use professional-grade software engineering tools
  • evaera/Cmdr Extensible command console for Roblox developers
  • Quenty/NevermoreEngine ModuleScript loader with reusable and easy unified server-client modules for faster game development on Roblox
  • Roblox/rodux A state management library for Roblox Lua inspired by Redux
  • 🟢 NightrainsRbx/RobloxLsp Roblox Luau Language Server based on Lua by sumneko.
  • 🟢 Roblox/roact A view management library for Roblox Lua similar to React
  • 🟠 evaera/roblox-lua-promise Promise implementation for Roblox
  • 🟡 Roblox/testez BDD-style test and assertion library for Roblox Lua
  • 🟠 Roblox/roact-rodux A connector between Roact and Rodux, similar to react-redux
  • 🟤 Kampfkarren/Roblox Scripts and stuff I wrote for Roblox. Documentation is little to none as these are just stuff I took from my game that I thought I could share.
  • 🔴 osyrisrblx/t A Runtime Typechecker for Roblox
  • 🟤 PY44N/Lua-Obfuscator A Lua Obfuscator made for Roblox, but should work on most Lua applications

Garry's Mod

World Of Warcraft

Other

📦 Storages

Redis

SQL*

Tarantool

😕 Unsorted