A curated list of awesome Lua frameworks, libraries and software.
Switch branches/tags
Nothing to show
Clone or download
Latest commit d768ee1 Aug 19, 2014
Permalink
Failed to load latest commit information.
CONTRIBUTING.md Rename CONTRIBUTING to CONTRIBUTING.md Jul 26, 2014
LICENSE Initial commit Jul 26, 2014
README.md Merge pull request #4 from hoffoo/patch-1 Aug 19, 2014

README.md

Awesome Lua

A curated list of awesome Lua frameworks, libraries and software. Inspired by awesome-python.

Environment Management

Libraries for Lua version and environment management.

Package Management

Libraries for package and dependency management.

  • LuaDist - LuaDist is a true multi-platform package management system that aims to provide both source and binary repository of modules for the Lua programming language.
  • Luaforge - LuaForge was a software project hosring website set up in 2004 by André Carregal and the Kepler Project, to promote development of Lua software modules.
  • LuaRocks - LuaRocks is a system that allows the versioning of Lua packages and their dependencies. LuaRocks guarantees that every package installed will continue to work, even if its dependencies are updated.

Distribution

Libraries to create packaged executables for release distribution.

  • LuaBinaries - LuaBinaries is a distribution of the Lua libraries and executables compiled for several platforms.

Build Tools & IDE

Compile software from source code.

  • Decoda - Decoda Lua IDE and debugger.
  • Lake - A Lua-based Build Tool
  • ZeroBrane Studio - A lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer.

Interactive Interpreter

Interactive Lua interpreters.

Filesystem

Libraries for accessing the directory structure and file attributes.

  • LuaFileSystem - LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
  • LAR - LAR stands for Lua ARchive, and consist of a module and a file format that empowers a lua script to load lua modules from within a packaged, compressed file.
  • LuaZip - LuaZip is a lightweight Lua extension library used to read files stored inside zip files. The API is very similar to the standard Lua I/O library API.
  • LuaExpat - LuaExpat is a SAX XML parser based on the Expat library.
  • lua-path - File system path manipulation library.

Date and Time

Libraries for working with dates and times.

  • LuaDate - Date & Time module for Lua 5.1/5.2

Lua Implementations

All kinds of lua implementations

  • UniLua - A pure c# implementation of Lua 5.2 focus on compatibility with Unity
  • Luerl - An experimental implementation of Lua 5.2 written solely in pure Erlang.
  • MoonScript - MoonScript is a dynamic scripting language that compiles into Lua.
  • lua.js - An ECMAscript framework to compile and run Lua code, allowing Lua to run in a browser or in Flash.
  • lua.vm.js - The Lua VM, on the Web.
  • Moonshine - A lightweight Lua VM for the browser.
  • lua-alchemy - Port of the Lua programming language for ActionScript using Alchemy.
  • NeoLua - A Lua implementation for the Dynamic Language Runtime (DLR).NeoLua is implemented in C# and uses the Dynamic Language Runtime. It therefore integrates very well with the .net framework.

Text Processing

Libraries for parsing and manipulating texts.

  • Markdown - A pure-lua implementation of the Markdown text-to-html markup system.

Natural Language Processing

Libraries for working with human languages.

Documentation

Libraries for generating project documentation.

  • LuaDoc - LuaDoc is a documentation generator tool for Lua source code.

Configuration

Libraries for storing configuration options.

Command-line Tools

Libraries for building command-line application.

Downloader

Libraries for downloading.

Imagery

Libraries for manipulating images.

Audio

Libraries for manipulating audio.

Video

Libraries for manipulating video and GIFs.

Geolocation

Libraries for geocoding addresses and working with latitudes and longitudes.

HTTP

Libraries for working with HTTP.

  • Xavante - Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture based on URI mapped handlers.

Database

Databases implemented in Lua.

  • Tarantool - Tarantool is an efficient NoSQL database and a Lua application server.

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases

    • LuaDBI - LuaDBI is a database interface library for Lua. It is designed to provide a RDBMS agnostic API for handling database operations.
    • LuaLDAP - LuaLDAP is a simple interface from Lua to an LDAP client, in fact it is a bind to OpenLDAP or to ADSI.
    • LuaODBC - ODBC Library for Lua. Also provide LuaSQL compatible module.
    • LuaSQL - LuaSQL is a simple interface from Lua to a DBMS.
    • LuaSQLite3 - a Lua 5.1 and Lua 5.2 wrapper for the SQLite3 library.
    • Lsqlite - A simple libsqlite3 binding for lua5.0-5.2 that provides 3 functions only and is still fully functional: local db = lsqlite.open(database) results, err = db:exec(statments) db:close()
  • NoSQL Databases

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  • Relational Databases

  • NoSQL Databases

Web Frameworks

Full stack web frameworks.

  • CGIlua - CGILua is a tool for creating dynamic Web pages and manipulating input data from Web forms.
  • Kepler Project - Kepler is a community of software developers building open software to help make Lua a viable option for development of web applications.
  • Orbit - Orbit is an MVC web framework for Lua.
  • WSAPI - WSAPI is an API that abstracts the web server from Lua web applications.
  • Tir - Tir is an experimental web framework for the Mongrel2 webserver and Lua programming language.
  • Lapis - A web framework for Lua and OpenResty written in MoonScript.
  • aLiLua - A epoll/kqueue based web server, inculded lua/coevent support (support Linux/MacOS/BSD platform).
  • Bamboo - Bamboo is the web framework of Lua based on Mongrel2, ZeroMQ and NoSQL database.
  • MOOCHINE - A (very) simple and lightweight web framework based on ngx-openresty.

Permissions

Libraries that allow or deny users access to data or functionality.

CMS

Content management systems

  • Sputnik - Sputnik is a software application that powers a dynamic website.

RESTful API

Libraries for developing RESTful APIs.

Authentication and OAuth

Libraries for implementing authentications schemes.

Template Engine

Libraries and tools for templating and lexing.

Queue

Libraries for working with event and task queues.

Search

Libraries and software for indexing and performing search queries on data.

News Feed

Libraries for building user's activities.

Asset Management

Tools for managing, compressing and minifying website assets.

Caching

Libraries for caching data.

Email

Libraries for sending and parsing email.

  • lua-imap4 - Simple IMAP4 protocol wrapper for Lua
  • lua-pop3 - POP3 client library for Lua
  • sendmail - Simple wrapper around luasoket smtp.send

Internationalization

Libraries for woking with i18n.

URL Manipulation

Libraries for parsing URLs.

HTML Manipulation

Libraries for working with HTML and XML.

Web Crawling

Libraries for scraping websites.

Web Content Extracting

Libraries for extracting web contents.

Forms

Libraries for working with forms.

Data Validation

Libraries for validating data. Used for forms in many cases.

Anti-spam

Libraries for fighting spam.

Tagging

Libraries for tagging items.

Admin Panels

Libraries for administrative interfaces.

Static Site Generator

Static site generator is a software that takes some text + templates as input and produces html files on the output.

Processes and Threads

Libraries for woking with processes or threads

  • lua-llthreads - Low-Level threads(pthreads or WIN32 threads) for Lua.
  • lua-llthreads2 - Enhancement version of lua-llthreads rewritten without LuaNativeObjects code generator
  • LuaLanes - lightweight, native, lazy evaluating multithreading library for Lua 5.1 and 5.2

Networking

Libraries for network programming.

  • Copas - Copas is a dispatcher based on coroutines that can be used by TCP/IP servers.
  • lua-zmq - Lua bindings to ZeroMQ 2
  • Luakit - Fast, small, webkit based browser framework extensible by Lua.
  • LuaEvent - This is a binding of libevent to Lua. It will serve as a drop-in replacement for copas, and eventually support more features (async DNS, HTTP, RPC...)
  • LuaSec - LuaSec is a binding for OpenSSL library to provide TLS/SSL communication.
  • LuaSocket - LuaSocket is a Lua extension library that is composed by two parts: a C core that provides support for the TCP and UDP transport layers, and a set of Lua modules that add support for functionality commonly needed by applications that deal with the Internet.
  • LuaNode - LuaNode allows to write performant net servers or clients, using an asynchronous model of computing (the Reactor pattern). You might have seen this model implemented in event processing frameworks like Node.js, EventMachine or Twisted. In fact, LuaNode is heavily based on Node.js, because I wanted to be able to do what Node.js does, but using Lua instead of JavaScript.
  • lzmq - A Lua wrapper for the ZeroMQ message library. Supports ZeroMQ version above 3.2.0
  • Ngx_lua - Embed the power of Lua into Nginx.
  • Luvit - Luvit is an attempt to do something crazy by taking node.js' awesome architecture and dependencies and seeing how it fits in the Lua language.
  • Turbo - Turbo provides you with all the stuff you need to develop fast web apps, web API's and networking applications.

WebSocket

Libraries for woking with WebSocket.

WSGI Servers

WSGI-compatible web servers.

RPC Servers

RPC-compatible servers.

Cryptography

Cryptography libraries

  • AesFileEncrypt - A simple file encryption library
  • MD5 - MD5 offers basic cryptographic facilities for Lua 5.1: a hash (digest) function, a pair crypt/decrypt based on MD5 and CFB, and a pair crypt/decrypt based on DES with 56-bit keys.
  • LCrypt - LCrypt provides everything needed to implement a basic ssh client or server including symmetric ciphers, hashes, microtime, random strings, big integers, and zlib compression. An example RSA implementation is included.
  • LuaCrypto - LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library.

GUI

Libraries for working with graphical user interface applications.

  • wxLua - wxLua is a Lua scripting language wrapper around the wxWidgets cross-platform C++ GUI library.
  • IUP - IUP is a multi-platform toolkit for building graphical user interfaces.
  • Lqt - lqt is a Lua binding to the Qt framework. It is an automated binding generated from the Qt headers, and covers almost all classes and methods from supported Qt modules.
  • LuaGnome - LuaGnome provides a fairly complete binding to Gnome Libraries Lua, including glib 2.x, gdk, gtk 2.x, and a list of supporting libraries.

Game Development

Awesome game development libraries.

  • Skynet - A lightweight online game framework
  • Scut - Scut is a free, open source, stable game server framework, which support C#/Python/Lua script, and support Unity3d, Cocos2dx, FlashAir client access.
  • LoveDOS - A framework for making 2D DOS games in Lua. LoveDOS provides an API based on a subset of the LÖVE API.
  • PacPac - This is Pac-Man from a parallel universe.
  • aroma - Aroma is game creation framework/platform that targets Chrome's Native Client. It lets you create games that can be distributed through the Chrome Web Store.

Logging

Libraries for generating and working with log files.

  • LuaLogging - LuaLogging provides a simple API to use logging features in Lua. Its design was based on log4j. LuaLogging currently supports, through the use of appenders, console, file, email, socket and sql outputs.
  • Lsyslog - lsyslog is a Lua module that wraps the syslog(3) C API. It has been tested with Lua 5.2 on Linux.
  • Lua-log - Asynchronous logging library for Lua 5.1/5.2

Testing

Libraries for testing codebases and generating test data.

  • Busted - Elegant Lua unit testing.

Code Analysis and Linter

Libraries and tools for analysing, parsing and manipulation codebases.

  • Lualint - lualint performs luac-based static analysis of global variable usage in Lua source code.

Debugging Tools

Libraries for debugging code.

  • RemDebug - RemDebug is a remote debugger for Lua 5.0 and 5.1. It lets you control the execution of another Lua program remotely, setting breakpoints and inspecting the current state of the program. RemDebug can also debug CGILua scripts.
  • LuaProfiler - LuaProfiler is a time profiler designed to help finding bottlenecks on your Lua program.

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  • SciLua - The aim of this project is to offer a framework for numerical computing which combines the ease of use of scripting languages (Matlab, R, ...) with the high performance of compiled languages (C/C++, Fortran, ...).

Data Visualization

Libraries for visualizing data.

Computer Vision

Libraries for computer vision.

Machine Learning

Libraries for Machine Learning.

MapReduce

Framworks and libraries for MapReduce.

Functional Programming

Functional programming in lua

  • Lua Fun - Lua Fun is a high-performance functional programming library designed for LuaJIT tracing just-in-time compiler.

Third-party APIs

Libraries for accessing third party services APIs.

  • LPeg - LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs).

DevOps Tools

Software and libraries for DevOps.

Job Scheduler

Libraries for scheduling jobs.

Foreign Function Interface

Libraries for providing foreign function interface.

  • Alien - A C FFI for Lua
  • FFI Library - The FFI library allows calling external C functions and using C data structures from pure Lua code.
  • LuaFFI - Standalone FFI library for calling C functions from lua. Compatible with the LuaJIT FFI interface.
  • NLua - NLua is the bind between Lua world and the .NET world.

High Performance

Libraries for making Lua faster.

  • LuaJIT - LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.
  • Terra - Terra is a new low-level system programming language that is designed to interoperate seamlessly with the Lua programming language.
  • LLVM-Lua - JIT/Static compiler for Lua using LLVM on the backend.

Microsoft Windows

Lua programming on Microsoft Windows.

  • lua-pdh - Lua binding to Microsoft Performance Data Helper (PDH) library.

Hardware

Libraries for programming with hardware.

Miscellaneous

Useful libraries or tools that don't fit in the categories above.

  • Coxpcall - Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual pcall/xpcall issues with coroutines.
  • Penlight - Penlight brings together a set of generally useful pure Lua modules, focussing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.

Algorithms and Design Patterns

Collections of algorithms and design patterns.

Editor Plugins

Plugins for various editors.

  • Vim
  • Emacs
  • Sublime Text

Resources

Where to discover new Lua libraries.

  • LuaSearch - Navigate Lua Module Documentation

Websites

Weekly

Twitter

Other Awesome Lists

Contributing

Your contributions are always welcome!