LuaRocks.org had a security incident in September 2026. Read the incident report.

Lua->C FFI

$ luarocks install alien

Alien lets a Lua application call load dynamic libraries and call C functions. Alien is based on libffi. On a GNU/Linux system you should be able to install it with your package manager; it is probably called something like `libffi-dev` (Debian, Ubuntu etc.) or `libffi-devel` (Fedora, CentOS etc.). If your system's package manager does not have libffi, or you don't have a package manager, you can get the source code from http://sources.redhat.com/libffi/

Versions

0.7.1-210 years ago7,480 downloads
0.7.0-112 years ago1,779 downloads
0.6.1-112 years ago146 downloads
0.5.1-112 years ago271 downloads
0.5.0-112 years ago317 downloads
0.4.1-112 years ago229 downloads

Dependencies

lua >= 5.1

Dependency for

fbclient, zee, zee, zile

Manifests