Ranked awesome lists, all in one place
This list is a copy of LewisJEllis/awesome-lua with ranks
Awesome Lua ★87749
- Implementations, Interpreters, and Bindings
- Package Managers
- Build Tools and Standalone Makers
- Debugging and Profiling
- IDEs and Plugins
- Utility Belts
- Game Engines
- Game Development
- Web/Networking Platforms
- Command-line Utilities
- Concurrency and Multithreading
- Object-oriented Programming
- File system and OS
- Time and Date
- Image Manipulation
- Digital Signal Processing
- Hardware and Embedded Systems
- Math and Scientific Computing
- Parsing and Serialization
- Data Stores
- Message Brokers
- Foreign Function Interfaces
- Analysis Tools and ASTs
- Experimental, etc
- Scriptable by Lua
Implementations, Interpreters, and Bindings
- Lua - Lua’s original ANSI C interpreter.
- Lua Repo ★1604 - The official Lua repo, as seen by the Lua team, mirrored to GitHub.
- LuaJIT - High-performance Just-In-Time compiler for Lua.
- LLVM-Lua ★39 ⏳2Y - Compiles Lua to LLVM.
- lua.vm.js ★755 - Lua VM on the web; a direct port of the C interpreter via LLVM, emscripten, and asm.js.
- MoonSharp ★534 - A Lua interpreter written entirely in C# for the .NET, Mono and Unity platforms.
- UniLua ★919 ⏳1Y - A pure C# implementation of Lua 5.2, focused on compatibility with the Unity game engine.
- lupa ★432 - Python bindings to LuaJIT2.
- golua ★395 - Golang bindings to the Lua C API.
- GopherLua ★2184 - Lua 5.1 VM and compiler implemented in Go with Go APIs.
- LuaBridge ★612 - A lightweight library for mapping data, functions, and classes back and forth between C++ and Lua.
Note: From LuaJIT to Lua to lua.vm.js to Moonshine, a basic benchmark sees performance drop by roughly a factor of 6 with each hop.
- LuaRocks - De-facto tool for installing Lua modules as packages called “rocks”, plus public rock repository and website. Much like npm or pip.
Build Tools and Standalone Makers
- Lake ★107 ⏳2Y - A build engine written in Lua, similar to Ruby’s rake.
- Luabuild ★62 ⏳2Y - Highly customizable Lua 5.2 build system.
- luastatic ★279 - Simple tool for turning Lua programs into standalone executables.
- omnia ★21 - A batteries-included creator of standalone executables, built on top of luastatic.
Debugging and Profiling
- ProFi - Simple profiler that works with LuaJIT and produces a report file.
- luatrace ★118 ⏳2Y - Toolset for tracing/analyzing/profiling script execution and generating detailed reports.
- StackTracePlus ★137 ⏳1Y - Drop-in upgrade to Lua’s stack traces which adds local context and improves readability.
- MobDebug ★420 - Powerful remote debugger with breakpoints and stack inspection. Used by ZeroBraneStudio.
- lovebird ★172 - Browser-based debug console. Originally made for LÖVE, but works in any project with LuaSocket support.
IDEs and Plugins
- Lua Development Tools - Eclipse plugin which provides code completion, debugging, and more. Built on Metalua.
- Lua for IDEA - IntelliJ IDEA plugin which, among other things, provides code completion, smart highlighting, and experimental debugging.
- ZeroBraneStudio - Lightweight, customizable, cross-platform Lua-dedicated IDE with code completion and analysis, written in Lua. Has broad debugging support for numerous Lua engines.
- BabeLua - Lua editor/debugger extension for VS2012-13 with highlighting, auto-completion, linting, and formatting capabilities.
- lua-mode ★205 - Emacs major mode for editing Lua.
- vscode-lua ★37 - VSCode intellisense and linting.
- Lua Fun ★1214 - High-performance functional programming library designed for LuaJIT.
- Moses ★381 - Functional programming utility belt, inspired by Underscore.js.
- Penlight ★868 - Broad, heavyweight utility library, inspired by Python’s standard libs. Provides the batteries that Lua doesn’t.
- lua-stdlib ★175 - Middle-weight standard library extension; adds some useful data structures, utility functions, and basic functional stuff.
- Microlight ★105 ⏳2Y - A little library of useful Lua functions; the ‘extra light’ version of Penlight.
- compat53 - Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1.
- RxLua ★185 - Reactive Extensions, Observables, etc.
- LÖVE 2D - Desktop game development platform. Cross-platform, feature-complete, well-adopted.
- Corona SDK - Development platform for iOS and Android. Proprietary, but used by numerous top games and apps, totaling over 150 million downloads.
- MOAI - Open source, cross-platform, mobile game development framework. Minimalist C++ engine powered by Lua scripting.
- Drystal - Open source, games can run on Linux or on any platform with a recent web browser.
- Amulet - Open source, audio/visual toolkit suitable for small games and experimentation. It runs on Windows, Mac, Linux, HTML5 and iOS.
- LÖVR - 3D framework for creating virtual reality experiences, inspired by LÖVE 2D.
- Coronium - Simple cloud platform supporting analytics, data objects, user management, and more.
- moaifiddle - Edit and share short scripts for the MOAI game engine and run them in the browser using WebGL.
- Jumper ★448 - Fast, lightweight, and easy-to-use pathfinding library for grid-based games.
- lume ★282 - Utility belt library geared toward game development.
- NoobHub ★191 - Network multiplayer for Corona, LÖVE, and more, following a simple pub-sub model.
- Collision detection
- termtris ★400 ⏳3Y - A tetris clone, written in literate style with “an emphasis on learn-from-ability”.
- PacPac ★315 ⏳3Y - A Pac-man clone, made with LÖVE.
- Mari0 ★195 - Fusion of Mario and Portal, made with LÖVE. See also its wikipedia entry.
- Journey to the Center of Hawkthorne ★798 ⏳1Y - 2D platformer based on Community’s Digital Estate Planning episode, made with LÖVE.
- lua-log ★69 - Asynchronous logging library with pluggable writers for file system, network, ZeroMQ, and more.
- LuaLogging ★110 - Log4j-inspired logging library supporting various appenders.
- luasyslog - Log to syslog, based on LuaLogging.
- OpenResty - A fast and scalable web application platform created by extending Nginx with Lua. Today’s de-facto Lua web platform, used heavily by Cloudflare, Taobao, Tencent, and others.
- turbo - Event-driven, non-blocking, LuaJIT-based networking suite and framework, inspired by Tornado.
- Kepler Project - A collection of web-oriented projects using a common set of standards and components.
- Pegasus.lua ★210 - Pegasus.lua is a http server to work with web applications written in Lua language.
- awesome-resty ★1088 - A list like this one, but focused on OpenResty.
- Core platform
- Third-party modules
- lua-resty-http ★823 - Lua HTTP client driver, built on the cosocket API.
- Frameworks & tools
- Lapis - Full-stack framework for Lua and OpenResty. Like the Django or Rails of Lua. Supports Moonscript.
- ledge ★321 - Lua module providing scriptable, RFC-compliant HTTP cache functionality.
- Sailor ★794 — An MVC web framework compatible with OpenResty, Apache and other webservers.
- Kong ★16400 - Microservice & API Management Layer.
Search this page for ‘OpenResty’ to find related packages under other categories (data stores in particular).
- ansicolors ★50 ⏳3Y - Simple function for printing to the console in color.
- cliargs ★57 - A simple command-line argument parsing module.
- lua-term ★69 ⏳1Y - Terminal operations and manipulations.
- argparse ★116 - A feature-rich command line parser inspired by argparse for Python.
Concurrency and Multithreading
- Coroutine-based multitasking:
- llthreads ★119 ⏳2Y - A simple wrapper for low-level pthreads & WIN32 threads.
- llthreads2 ★48 ⏳1Y - Newer rewrite of llthreads.
- lanes ★231 - Library implementing a message passing model with one OS thread per Lua thread.
- luaproc ★79 - Message-passing model which allows multiple threads per OS thread and easily generalizes across a network. See also the paper where it originated.
For more on the differences (particularly between
luaproc), see this comparison of options; somewhat dated, but covers how each one works and the significant differences.
- lustache - Mustache template implementation.
- etlua ★108 - Embedded Lua templates, ERB-style.
- lua-resty-template ★540 ⏳1Y - Lua-oriented template engine for OpenResty, somewhat Jinja-like.
- LDoc - Documentation generator which modernizes and extends LuaDoc.
- Locco - Lua port of Docco, the “quick-and-dirty, hundred-line-long, literate-programming-style documentation generator”.
- docroc ★6 ⏳2Y - Parse comments into a Lua table to generate documentation.
- 30log ★249 - Minimalist OOP library with basic classes, inheritance, and mixins in 30 lines.
- middleclass ★975 - Simple but robust OOP library with inheritance, methods, metamethods, class variables and mixins.
File system and OS
- LuaFileSystem - Extends and complements Lua’s built-in set of file system functions.
- luaposix ★275 - Bindings for POSIX APIs, including curses.
- lunix - Bindings to common Unix system APIs, striving for thread-safety.
- lua-path ★30 ⏳1Y - File system path manipulation library.
Time and Date
- LuaDate ★122 - Date and time module with parsing, formatting, addition/subtraction, localization, and ISO 8601 support.
- luatx ★70 - Time, date, and timezone library.
- magick ★276 - Lua bindings to ImageMagick for LuaJIT using FFI.
Digital Signal Processing
- LuaFFT ★19 - An easy to use Fast Fourier Transformation package in pure Lua.
- Worp - Sound/music/DSP engine written for LuaJIT.
Hardware and Embedded Systems
- eLua - Lua, extended with optimizations and specific features for efficient and portable embedded software development.
Math and Scientific Computing
- SciLua - Numerical/scientific computing framework built on LuaJIT, with an interface to R.
- Torch7 - Scientific computing framework with wide support for machine learning algorithms, used by Facebook, Google, and more.
- lhf’s Lua Tools - Assorted libraries and tools, many math- or data-related.
Parsing and Serialization
- LPeg - A pattern-matching library for Lua, based on Parsing Expression Grammars.
- lpeg_patterns ★58 - A collection of LPeg patterns.
- LuLPeg ★139 - A pure Lua implementation of LPeg v0.12.
- LPegLJ ★88 ⏳2Y - A pure LuaJIT implementation of LPeg v1.0.
- LPegLabel ★44 - An extension of LPeg adding support for labeled failures.
- lyaml ★72 - YAML encoding/decoding via binding to LibYAML.
- lunamark ★129 ⏳1Y - Converts Markdown to other textual formats including HTML and LaTeX. Uses LPeg for fast parsing.
- LXSH ★49 ⏳2Y - A collection of lexers and syntax highlighters written with LPeg.
- lua-pb ★225 - Protocol Buffers implementation.
- i18n.lua ★114 - Internationalization library with locales, formatting, and pluralization.
- inspect.lua ★545 - Human-readable representation of Lua tables.
- serpent ★225 - Serializer and pretty printer.
- Ser ★52 ⏳2Y - Dead simple serializer with good performance.
- say ★8 - Simple string key-value store for i18n.
- lua-zlib ★142 - Simple streaming interface to zlib for gzip/gunzip.
- lua-zip ★40 ⏳1Y - Lua binding to libzip. Reads and writes zip files.
- LuaCrypto ★64 ⏳2Y - Lua bindings to OpenSSL.
- lua-lockbox ★223 - A collection of cryptographic primitives written in pure Lua.
- luatweetnacl ★9 - Bindings to tweetnacl, modern high-security cryptographic library.
- luaossl ★63 - “Most comprehensive OpenSSL module in the Lua universe” - used by lapis, kong, and lua-http.
- LuaSocket ★785 - Networking extension which provides a socket API for TCP and UDP, and implements HTTP, FTP, and SMTP.
- lua-websockets ★270 - WebSocket client and server modules. Webserver-agnostic, implemented in Lua on top of LuaSocket.
- lua-cURLv3 ★114 - Lua binding to libcurl.
- lua-http ★263 - Asynchronous HTTP and WebSocket library with client and server APIs, TLS, and HTTP/2; based on cqueues.
- LuaSQL - Simple interface for connecting to ODBC, ADO, Oracle, MySQL, SQLite and PostgreSQL.
- pgmoon ★182 - Lua PostgreSQL driver for OpenResty, LuaSocket, and cqueues.
- lua-resty-mysql ★427 - Lua MySQL driver for OpenResty.
- lua-resty-cassandra ★65 ⏳1Y - Lua Cassandra client driver for OpenResty and others.
- lua-zmq ★138 ⏳2Y - Lua bindings to ZeroMQ.
- lzmq ★80 - A newer Lua binding to ZeroMQ.
- lua-resty-kafka ★428 - Kafka client driver based on OpenResty cosockets.
- lua-resty-rabbitmqstomp ★121 ⏳1Y - RabbitMQ client library based on OpenResty cosockets.
- busted - BDD-style unit testing framework with great docs and Moonscript support.
- telescope ★125 - Flexible and highly customizable testing library.
- luassert ★54 - Assertion library extending Lua’s built-in assertions.
- lust ★30 ⏳1Y - Minimal test framework.
Foreign Function Interfaces
- LuaJIT FFI - LuaJIT’s mechanism for calling external C functions and using C data structures from pure Lua code.
- luaffi ★313 ⏳1Y - Standalone FFI library, compatible with the LuaJIT FFI interface.
Analysis Tools and ASTs
- luadec51 ★190 - Lua Decompiler for Lua version 5.1.
- luacov - Simple coverage analyzer, used by busted and telescope for checking test coverage.
- luacov-coveralls ★33 - LuaCov reporter for coveralls.io.
- luacheck ★748 - Simple static analyzer which detects accidental globals and undefined or shadowed locals.
- Metalua ★263 ⏳4Y - Pure Lua parser and compiler, used for generating ASTs. A number of other tools make use of the Metalua parser in this way.
- LuaInspect ★142 ⏳2Y - Lua’s most powerful code analysis and linting tool, built on Metalua. Used by ZeroBraneStudio, among others.
- LuaMinify ★132 ⏳2Y - Minifier which also brings its own static analysis tools, lexer, and parser.
- Typed Lua ★358 - A typed superset of Lua that compiles to plain Lua.
- lua-parser ★94 ⏳1Y - A Lua 5.3 parser written using LPegLabel, with improved error messages.
- punchdrunk.js ★76 ⏳2Y - Moonshine + LÖVE API reimplementation = run LÖVE games in the browser.
- graphql-lua ★86 ⏳1Y - Lua implementation of GraphQL.
Scriptable by Lua
- luakit - Fast, small, webkit based browser framework extensible by Lua.
- Hammerspoon - A powerful, extensible OS X automation tool. A community-maintained fork of Mjolnir.
- kpie ★29 - A scripting utility to juggle windows.
- lumail - A console-based mail client, with extensive scripting capabilities.
- AwesomeWM - A highly configurable and extensible window manager for X, scripted and configured by Lua.
- Textadept - Extremely lightweight, customizable, cross-platform editor, written (mostly) in (and scripted by) Lua.
- KoReader ★3907 - An ebook reader application supports PDF, DJVU, EPUB, FB2 and much more, running on Kindle, Kobo, PocketBook and Android devices.
- MoonScript - Moonscript is a dynamic scripting language that compiles to Lua. It reduces verbosity and provides a rich set of features like comprehensions and classes. Its author calls it ‘CoffeeScript for Lua’.
- sitegen - A static site generator which uses MoonScript and supports HTML and Markdown, page grouping, and plugins.
- lua-l - The official Lua mailing list, and one of the focal points of the Lua community.
- Lua.Space - The Lua community blog.
- Lua Users Foundation - An association of individuals with the mission of supporting and promoting Lua and its community and ecosystems.
- lua-users.org - A site for and by users of Lua, featuring an IRC channel, a web archive of lua-l, and a large wiki.
- Reference Manual - The official definition of the Lua language.
- lua-users wiki - A large community-maintained collection of Lua information and resources, supplementing the official website.
- Lua Unofficial FAQ - Answers all sorts of Lua-related questions, including many of the form ‘How to ___?’.
- Lua 5.3 Glossary - A glossary of some essential Lua terms.
- Lua-users style guide - A general, high-level style guide; unopinionated, easily agreed on.
- Olivine style guide ★263 ⏳2Y - A more opinionated and specific, and therefore more rigorous, guide.
- Lua Crash Course - Short crash course readover, or reference for when you forget the basics.
- Learn Lua in 15 Minutes - A well-commented example file which covers the basics.
- lua-users tutorial - In-depth collection of tutorials aimed at newcomers.
- Lua Missions ★228 - A series of ‘Missions’ to work through which are designed to teach aspects of Lua along the way.
- Creating an Image Server - Walks through setting up and using OpenResty to build a simple image processing server; a great starting point for playing with OpenResty.
- Embedding Lua in C - An introductory walkthrough of embedding Lua in a C program. A bit dated, but still a great walkthrough.
- Lua: Good, bad, and ugly parts - A thorough summary of the good, different, bad, and ugly aspects of Lua, including many subtle quirks, by the author of ZeroBraneStudio.
- Lua states, libraries, coroutines and memory - Diagrams and explains some more advanced concepts of the Lua VM, particularly when interfacing with C.
Talks & Slides
- Roberto’s Talks - History of talks given by Lua’s chief architect, with slides for each.
- Lua Workshop Talks - High-quality talks are given at each ~annual Lua Workshop, and a history of them is online, slides included.
- Programming in Lua - The authoritative intro to all aspects of Lua programming, written by Lua’s chief architect. Three editions released; first edition available online.
- Lua Quick Reference - A quick reference on how to program in and embed Lua 5.1 through 5.3, by the creator of Textadept.
- Programming Gems - A collection of articles covering existing wisdom and practices on programming well in Lua, in a broad variety of use cases.
- Lua Programming - A shorter overview of the language, up to date for Lua 5.2, and available online.
- awesome-resty ★1088 - A list like this one, but focused on OpenResty.
- awesome-love2d ★1014 - A list like this one, but focused on game dev and the LÖVE platform.
- Where Lua is Used - A comprehensive list of stand-alone programs written in or extensible using Lua.
Contributions welcome and wanted! Read the contribution guidelines first.
To the extent possible under law, Lewis Ellis has waived all copyright and related or neighboring rights to this work.
This list is a copy of LewisJEllis/awesome-lua with ranks