A List of OpenResty / Nginx modules, Lua libraries, and related resources.
OpenResty is a full-fledged web platform by integrating the standard Nginx core, LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.
By taking advantage of various well-designed Nginx modules (most of which are developed by the OpenResty team themselves), OpenResty effectively turns the nginx server into a powerful web app server, in which the web developers can use the Lua programming language to script various existing nginx C modules and Lua modules and construct extremely high-performance web applications that are capable to handle 10K ~ 1000K+ connections in a single box.
OpenResty aims to run your server-side web app completely in the Nginx server, leveraging Nginx's event model to do non-blocking I/O not only with the HTTP clients, but also with remote backends like MySQL, PostgreSQL, Memcached, and Redis.
Real-world applications of OpenResty range from dynamic web portals and web gateways, web application firewalls, web service platforms for mobile apps/advertising/distributed storage/data analytics, to full-fledged dynamic web applications and web sites. The hardware used to run OpenResty also ranges from very big metals to embedded devices with very limited resources. It is not uncommon for our production users to serve billions of requests daily for millions of active users with just a handful of machines.
OpenResty is not an Nginx fork. It is just a software bundle. Most of the patches applied to the Nginx core in OpenResty have already been submitted to the official Nginx team and most of the patches submitted have also been accepted. We are trying hard not to fork Nginx and always to use the latest best Nginx core from the official Nginx team.
- Web Site: http://openresty.org/
- Mailing List: https://groups.google.com/forum/#!forum/openresty-en (Chinese List)
- Github Organization: https://github.com/openresty
- Lead Developer: @agentzh
- OpenResty Package Manager (
opm
): package repository, opm sources
There are at least three different ways to contribute:
- Create a New Issue where you describe the needed additions, deletions or changes.
- Fork this repository and make the changes, and create a pull request.
- Post a reply in the awesome-resty thread in openresty-en mailing list.
- Modules
- Libraries
- Core Libraries
- Web Frameworks
- Web Development Essentials
- Routing Libraries
- Traffic Management
- Request Argments Parsers
- Middleware and API Tools
- Templating
- Validation
- Authentication and Authorization
- Cryptography
- Networking
- Databases and Storages
- Testing and Profiling
- Message Queuing and Task Management
- Bar Codes and QR Codes
- Utilities
- Date and Time
- Compression
- Text Formats
- Binary Formats
- Document Formats
- Image Formats
- Localization
- Caching
- Metrics and Statistics
- Logging
- Functional Programming
- Web APIs
- Security
- Other Sources for Libraries
- Books and Tutorials
- Videos
- Conferences, Workshops and Events
- Demo Applications
- See Also
- License
Core modules come bundled in OpenResty package.
- ngx_openresty β Turning Nginx into a full-fledged Web App Server - Sources for OpenResty Bundle Generation
- lua-nginx-module β Embed the power of Lua into Nginx
- stream-lua-nginx-module β Embed the power of Lua into Nginx stream/TCP Servers
- echo-nginx-module β An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file
- xss-nginx-module β Native support for cross-site scripting (XSS) in an nginx
- set-misc-nginx-module β Various set_xxx directives added to nginx's rewrite module (md5/sha1, sql/json quoting, and many more)
- encrypted-session-nginx-module β Encrypt and decrypt Nginx variable values
- srcache-nginx-module β Transparent subrequest-based caching layout for arbitrary nginx locations
- lua-upstream-nginx-module β Nginx C module to expose Lua API to ngx_lua for Nginx upstreams
- headers-more-nginx-module β Set and clear input and output headers...more than "add"!
- array-var-nginx-module β Add support for array variables to nginx config files
- memc-nginx-module β An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands
- redis2-nginx-module β Nginx upstream module for the Redis 2.0 protocol
- rds-json-nginx-module β An nginx output filter that formats Resty DBD Streams generated by ngx_drizzle and others to JSON
- rds-csv-nginx-module β Nginx output filter module to convert Resty-DBD-Streams (RDS) to Comma-Separated Values (CSV)
- drizzle-nginx-module β An Nginx upstream module that talks to mysql and drizzle by libdrizzle
- ngx_postgres β Upstream module that allows Nginx to communicate directly with PostgreSQL database
- form-input-nginx-module β This is a nginx module that reads HTTP POST and PUT request body encoded in "application/x-www-form-urlencoded", and parse the arguments in request body into nginx variables.
- ngx_coolkit β Collection of small and useful nginx add-ons
- ngx_devel_kit β an Nginx module that adds additional generic tools that module developers can use in their own modules
Please also note that there is resty
command line client included in OpenResty bundle. The command line client sources can be found on Github.
To learn more about Nginx Core Modules, please refer Nginx Documentation. Some modules that come with Nginx are (not all of them are build by default):
- ngx_http_core_module
- ngx_http_ssl_module β The ngx_http_ssl_module module provides the necessary support for HTTPS
- ngx_http_v2_module β The ngx_http_v2_module module provides support for HTTP/2
- ngx_http_realip_module β The ngx_http_realip_module module is used to change the client address and optional port to the one sent in the specified header fields
- ngx_http_addition_module β The ngx_http_addition_module module is a filter that adds text before and after a response
- ngx_http_xslt_module β The ngx_http_xslt_module is a filter that transforms XML responses using one or more XSLT stylesheet
- ngx_http_image_filter_module β The ngx_http_image_filter_module module is a filter that transforms images in JPEG, GIF, and PNG formats
- ngx_http_geoip_module β The ngx_http_geoip_module module creates variables with values depending on the client IP address, using the precompiled MaxMind databases
- ngx_http_sub_module β The ngx_http_sub_module module is a filter that modifies a response by replacing one specified string by another
- ngx_http_dav_module β The ngx_http_dav_module module is intended for file management automation via the WebDAV protocol. The module processes HTTP and WebDAV methods PUT, DELETE, MKCOL, COPY, and MOVE
- ngx_http_flv_module β The ngx_http_flv_module module provides pseudo-streaming server-side support for Flash Video (FLV) files
- ngx_http_mp4_module β The ngx_http_mp4_module module provides pseudo-streaming server-side support for MP4 files. Such files typically have the .mp4, .m4v, or .m4a filename extensions
- ngx_http_gunzip_module β The ngx_http_gunzip_module module is a filter that decompresses responses with βContent-Encoding: gzipβ for clients that do not support βgzipβ encoding method. The module will be useful when it is desirable to store data compressed to save space and reduce I/O costs
- ngx_http_gzip_static_module β The ngx_http_gzip_static_module module allows sending precompressed files with the β.gzβ filename extension instead of regular files
- ngx_http_auth_request_module β The ngx_http_auth_request_module module implements client authorization based on the result of a subrequest
- ngx_http_random_index_module β The ngx_http_random_index_module module processes requests ending with the slash character (β/β) and picks a random file in a directory to serve as an index file
- ngx_http_secure_link_module β The ngx_http_secure_link_module module (0.7.18) is used to check authenticity of requested links, protect resources from unauthorized access, and limit link lifetime
- ngx_http_slice_module β The ngx_http_slice_module module is a filter that splits a request into subrequests, each returning a certain range of response
- ngx_http_stub_status_module β The ngx_http_stub_status_module module provides access to basic status information
- ngx_http_charset_module β The ngx_http_charset_module module adds the specified charset to the βContent-Typeβ response header field
- ngx_http_gzip_module β The ngx_http_gzip_module module is a filter that compresses responses using the βgzipβ method
- ngx_http_ssi_module β The ngx_http_ssi_module module is a filter that processes SSI (Server Side Includes) commands in responses passing through it
- ngx_http_userid_module β The ngx_http_userid_module module sets cookies suitable for client identification
- ngx_http_access_module β The ngx_http_access_module module allows limiting access to certain client addresses
- ngx_http_auth_basic_module β The ngx_http_auth_basic_module module allows limiting access to resources by validating the user name and password using the βHTTP Basic Authenticationβ protocol
- ngx_http_autoindex_module β The ngx_http_autoindex_module module processes requests ending with the slash character (β/β) and produces a directory listing
- ngx_http_geo_module β The ngx_http_geo_module module creates variables with values depending on the client IP address
- ngx_http_map_module β The ngx_http_map_module module creates variables whose values depend on values of other variables
- ngx_http_split_clients_module β The ngx_http_split_clients_module module creates variables suitable for A/B testing, also known as split testing
- ngx_http_referer_module β The ngx_http_referer_module module is used to block access to a site for requests with invalid values in the βRefererβ header field
- ngx_http_rewrite_module β The ngx_http_rewrite_module module is used to change request URI using PCRE regular expressions, return redirects, and conditionally select configurations
- ngx_http_proxy_module β The ngx_http_proxy_module module allows passing requests to another server
- ngx_http_fastcgi_module β The ngx_http_fastcgi_module module allows passing requests to a FastCGI server
- ngx_http_uwsgi_module β The ngx_http_uwsgi_module module allows passing requests to a uwsgi server
- ngx_http_scgi_module β The ngx_http_scgi_module module allows passing requests to an SCGI server
- ngx_http_memcached_module β he ngx_http_memcached_module module is used to obtain responses from a memcached server
- ngx_http_limit_conn_module β The ngx_http_limit_conn_module module is used to limit the number of connections per the defined key, in particular, the number of connections from a single IP address
- ngx_http_limit_req_module β he ngx_http_limit_req_module module is used to limit the request processing rate per a defined key, in particular, the processing rate of requests coming from a single IP address
- ngx_http_empty_gif_module β The ngx_http_empty_gif_module module emits single-pixel transparent GIF
- ngx_http_browser_module β The ngx_http_browser_module module creates variables whose values depend on the value of the βUser-Agentβ request header field
- ngx_http_upstream_module β http://nginx.org/en/docs/http/ngx_http_upstream_module.html
- ngx_http_perl_module β The ngx_http_perl_module module is used to implement location and variable handlers in Perl and insert Perl calls into SSI
- ngx_mail_core_module
- ngx_mail_ssl_module β The ngx_mail_ssl_module module provides the necessary support for a mail proxy server to work with the SSL/TLS protocol
- ngx_mail_smtp_module
- ngx_mail_imap_module
- ngx_mail_pop3_module
- ngx_stream_core_module
- ngx_stream_ssl_module β The ngx_stream_ssl_module module provides the necessary support for a stream proxy server to work with the SSL/TLS protocol
- ngx_stream_proxy_module β The ngx_stream_proxy_module module allows proxying data streams over TCP, UDP, and UNIX-domain sockets
- lua-var-nginx-module β Fetchs Nginx variable by Luajit with FFI way which is fast and cheap
- ngx_lua_ipc β Interprocess communication for Lua Nginx Module and OpenResty β send named alerts with string data between Nginx worker processes
- nchan (Github) β Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE)
- ngx_pagespeed (Github) β Automatic PageSpeed optimization module for Nginx
- ModSecurity β Open Source Web Application Firewall
- NAXSI β NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX; NAXSI means Nginx Anti Xss & Sql Injection
- nginx-upsync-module β Nginx C module, syncing upstreams from consul or others, dynamiclly adjusting backend servers weight, needn't reload nginx
- sass-nginx-module β Syntactically Awesome Nginx Module
- More 3rd Party Modules
Core Libraries are bundled in OpenResty package, and you don't need to separately install them.
- lua-resty-core β New FFI-based Lua API for the ngx_lua module
- lua-resty-upstream-healthcheck β Health Checker for Nginx Upstream Servers in Pure Lua
- lua-resty-string β String utilities and common hash functions for ngx_lua and LuaJIT
- lua-resty-lock β Simple nonblocking lock API for ngx_lua based on shared memory dictionaries
- lua-resty-lrucache β Lua-land LRU Cache based on LuaJIT FFI
- lua-resty-dns β DNS resolver for the Nginx Lua module
- lua-resty-resolver β Caching DNS resolver for ngx_lua and LuaJIT
- lua-resty-upload β Streaming reader and parser for HTTP file uploading based on ngx_lua cosocket
- lua-resty-websocket β Lua WebSocket implementation for the ngx_lua module
- lua-resty-mysql β Non-blocking Lua MySQL client driver for ngx_lua based on the cosocket API
- lua-resty-memcached β Lua memcached client driver for the ngx_lua based on the cosocket API
- lua-resty-redis β Lua Redis client driver for the ngx_lua based on the cosocket API
- lua-redis-parser β Redis reply parser and request constructor library for Lua
- lua-rds-parser β Resty-DBD-Stream (RDS) parser for Lua written in C
- lua-cjson β Lua cJSON is a fast JSON encoding / parsing module for Lua
- lua-resty-shdict-simple β Simple applicaton-oriented interface to the OpenResty shared dictionary API
- lua-resty-memcached-shdict β Powerful memcached client with a shdict caching layer and many other features
- lua-resty-signal β Lua library for killing or sending signals to Linux processes
- lua-tablepool β Lua table recycling pools for LuaJIT
- lua-resty-shell β Lua module for nonblocking system shell command executions
- Lapis β Lapis is a framework for building web applications using MoonScript or Lua that runs inside of a customized version of Nginx called OpenResty
- lor (Github) β A fast and minimalist web framework based on OpenResty
- Vanilla β An OpenResty Web Framework
- luastar β A HTTP server and web framework based on OpenResty
- Lusty β Lua RESTful Web Application Framework, an extensible and speedy web framework
- GIN β A fast, low-latency, low-memory footprint, web JSON-API framework with Test Driven Development helpers and patterns
- Quick Server β A Server Framework Based on OpenResty
- Sailor β A Lua MVC Web Framework
- lua-resty-rack β A simple and extensible HTTP server framework for OpenResty
- MOOCHINE β A simple and lightweight web framework based on OpenResty
- sinatra-openresty β Sinatra ported to OpenResty framework
- lj-web β Lightweight Web Framework Based On ngx_openresty
- Gimlet Cocktail β A micro web application framework for OpenResty written in Moonscript inspired by Martini & Sinatra
- durap β Durap is a Lua Web Framework based on OpenResty.
- Ziggy Stardust β Ziggy Stardust (or just "stardust") is a simple nginx/Lua framework inspired by Sinatra, Express, and Mercury
- zLua β A Codeigniter like Lua framework based on OpenResty
- lua-resty-stack β OpenResty Simple Application Stack
- dodolu β A lightweight web framework based on OpenResty
- Octopus β The Lua Web Platform
- vicky β A restful framework for openresty,inspired by expressjs and koa.
- fasty - A CMS based on openresty, arangoDB, lapis & riotjs
- lua-resty-url β URL parser for OpenResty
- lua-resty-cookie β Lua library for HTTP cookie manipulations for OpenResty/ngx_lua
- lua-resty-cors β The Cross-Origin Resource Sharing (CORS) implementation for OpenResty
- lua-resty-session β Session library for OpenResty implementing Secure Cookie Protocol
- lua-resty-woothee β The Lua-Openresty implementation of Project Woothee, which is a multi-language user-agent strings parsers
- lua-resty-mobile β This library parses HTTP headers and detects mobile device
- lua-resty-jwt β JWT (JSON Web Tokens) for The Great OpenResty
- neturl β URL and Query string parser, builder, normalizer for Lua
- Mio β API statistics/summary and health datas in NGINX based on OpenResty, just like NGINX Plus
- lua-redis-admin β redis client tool,redis web client,redis web ui,openresty lor lua framework support
- lua-resty-route β A URL routing library for OpenResty supporting multiple route matchers, middleware, and HTTP and WebSockets handlers to mention a few of its features
- router.lua β A barebones router for Lua, it matches URLs and executes Lua functions
- lua-resty-r3 β libr3 OpenResty implementation, libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
- lua-resty-libr3 β High-performance path dispatching library base on libr3 for OpenResty
- lua-radix-router - A lightweight, high-performance, radix tree based and OpenAPI friendly API Router for Lua / LuaJIT / OpenResty.
- lua-resty-redis-ratelimit β Limit the request processing rate between multiple NGINX instances backed by Redis
- lua-resty-limit-rate - Lua module for limiting request rate for OpenResty/ngx_lua, using the "token bucket" method
- lua-resty-global-throttle β Distributed rate limiter / throttler based on Cloudflare's blog post on approximate sliding window
- lua-resty-reqargs β Helper to Retrieve application/x-www-form-urlencoded, multipart/form-data, and application/json Request Arguments
- lua-resty-post β HTTP Post Utility for OpenResty (File Uploading Helper)
- lua-resty-multipart-parser β Simple multipart data parser for OpenResty / Lua
- lua-resty-multipart β Multipart parsing library for OpenResty
- Kong (GitHub) β KONG: Microservice Management Layer (Secure, Manage & Extend your APIs and Microservices)
- LSSO β A Lightweight SSO middleware for Nginx + Lua
- apigateway β A Performant API Gateway based on Nginx and OpenResty
- 3scale APIcast β API gateway module of Red Hat 3scale API Management
- Sumory Orange β API Gateway
- Monarch API Gateway β OpenResty-based API Gateway
- APISIX β APISIX is a Cloud-Native Microservices API Gateway
- lua-resty-grpc-gateway β Provides request transformation between REST <-> gRPC with Openresty
- Slardar - Updating your upstream list and run lua scripts without reloading Nginx
- tl-ops-manage - Framework for service management based on openresty
- lua-resty-template β A Compiling (HTML) templating engine for Lua and OpenResty
- lemplate β OpenResty/Lua template framework implementing Perl's TT2 templating language
- lua-resty-aries β OpenResty and Lua multi-function template, it can correct show your error line
- etlua β Embedded Lua templates
- liquid-lua β A Lua implementation of Liquid for OpenResty platform
- lua-resty-tmpl β A simple template engine for Lua and OpenResty, derived from lua-template.
- Alternatives β Some alternative Lua templating solutions that may work just fine with OpenResty
- lua-resty-validation β An extendable chaining validation and filtering library for Lua and OpenResty
- valua β Validation for lua! A module for making chained validations. Create your objects, append your tests, use and reuse it!
- lua-resty-macaroons β LuaJIT FFI Bindings to libmacaroons β Macaroons are flexible authorization credentials that support decentralized delegation, attenuation, and verification
- lua-resty-openidc β lua-resty-openidc is a library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality
- lua-resty-duo-mobile β OpenResty client for the Duo Mobile Auth API
- micro-auth β A microservice that makes adding authentication with Google and Github to your application easy (Note: before using it in production, see: https://news.ycombinator.com/item?id=13682682 β hopefully we can remove this remark in a future)
- lua-resty-casbin β Casbin is an authorization library that supports access control models like ACL, RBAC, ABAC in Lua (OpenResty). This is a Casbin authorization plugin for OpenResty.
- lua-resty-string β String utilities and common hash functions for ngx_lua and LuaJIT
- lua-resty-openssl β FFI-based OpenSSL binding for LuaJIT
- lua-resty-nettle β LuaJIT FFI bindings for Nettle (a low-level cryptographic library)
- lua-resty-chash β A generic consistent hash implementation for OpenResty/Lua
- lua-resty-jump-consistent-hash β Jump Consistent Hash for LuaJIT
- lua-resty-acme β Automatic Let's Encrypt certificate serving and Lua implementation of ACMEv2 procotol
- lua-resty-letsencrypt β Automatically fetch and renew TLS certificates on the fly using LetsEncrypt CA.
- lua-resty-auto-ssl β On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt
- lua-resty-peter_sslers β Automaticly loads/cache SSL certificates based on SNI from caches or backend json servers
- lua-resty-murmurhash2 β LuaJIT MurmurHash 2 bindings to Nginx / OpenResty murmurhash2 implementation
- lua-resty-hmac β Lua driver for making and receiving hmac signed requests
- lua-resty-scrypt β LuaJIT FFI-based scrypt library for OpenResty
- lua-resty-xxhash β LuaJIT FFI-bindings to xxHash, an Extremely fast non-cryptographic hash algorithm
- lua-resty-rsa β RSA functions for LuaJIT
- lua-resty-aead β AEAD cipher library for lua-nginx-module. BoringSSL only.
- lua-resty-hawk β Hawk authentication on Nginx with Lua and OpenResty
- lua-resty-urandom β Buffered wrapper for Linux/BSD kernel space CSPRNG
- lua-resty-fastpbkdf2 β Lua bindings to fastpbkdf2
- lua-argon2-ffi β LuaJIT FFI binding for the Argon2 password hashing algorithm
- lua-resty-des β Lua interface to make DES ECB encryption
- WXBizMsgCrypt β Lua version of the WeChat Message Cryptography
- luasodium - Lua bindings to libsodium, compatible with both Lua C and LuaJIT FFI APIs.
- lua-resty-http by @pintsized β Lua HTTP client cosocket driver for OpenResty / ngx_lua
- lua-resty-http by @liseen β Lua http client driver for the ngx_lua based on the cosocket API
- lua-resty-http by @DorianGray β Lua HTTP client driver for ngx_lua based on the cosocket API
- lua-resty-http-simple β Simple Lua HTTP client driver for ngx_lua
- lua-resty-httpipe β Lua HTTP client cosocket driver for OpenResty / ngx_lua
- lua-resty-httpclient β Nonblocking Lua HTTP Client library for aLiLua & ngx_lua
- lua-httpcli-resty β Lua HTTP client module for OpenResty
- lua-resty-requests β Yet Another HTTP Library for OpenResty
- lua-resty-websocket β Lua WebSocket implementation for the ngx_lua module
- lua-resty-ipmatcher β High performance match IP address for OpenResty Lua
- lua-resty-mediador β Determines address of proxied request and does IP address / CIDR blocks handling (both IPv4 and IPv6)
- lua-resty-iputils β Utility functions for working with IP addresses in OpenResty
- lua-resty-readurl β Lua library for capturing urls, decoding, and logging results
- lua-resty-dns-client β Lua library containing a DNS client, several utilities, and a load-balancer
- lua-resty-dns-server β Lua DNS server driver for the OpenResty
- lua-resty-upstream β Upstream connection load balancing and failover module
- lua-resty-checkups β Manage Nginx upstreams in pure ngx_lua
- lua-resty-socks5 β Lua SOCKS5 client for the ngx_lua based on the cosocket API
- lua-resty-waf β High-performance WAF built on the OpenResty stack
- lua-resty-tarpit β OpenResty response time inflation, capture and delay unwanted requests
- lua-resty-jsonrpc-batch β JSON-RPC 2.0 Batch Request protocol module for OpenResty
- lua-resty-limit-traffic β Lua library for limiting and controlling traffic in OpenResty/ngx_lua
- lua-resty-limits β Limits request every second or minute
- lua-resty-fastcgi β Lua FCGI client driver for ngx_lua based on the cosocket API
- lua-resty-ftpclient β Lua FTP client driver for the ngx_lua based on the cosocket API
- lua-capnproto β Capβn Proto is an insanely fast data interchange format and capability-based RPC system
- lua-resty-tornera β A traffic replay tool with an easy to use HTTP API for OpenResty / LuaJIT
- lua-resty-consul β Library to interface with the consul HTTP API from ngx_lua
- lua-resty-upstream-etcd β A Lua module for OpenResty, can dynamically update the upstreams from etcd and Kubernetes
- lua-resty-healthcheck β Healthcheck library for OpenResty to validate upstream service status
- lua-resty-balancer β A generic consistent hash implementation for OpenResty
- lua-resty-sniproxy β SNI Proxy based on stream-lua-nginx-module
- lua-resty-multiplexer β Transparent port service multiplexer for stream subsystem
- lua-resty-http2 β The HTTP/2 Protocol (Client Side) Implementation for OpenResty
- lua-tus-server - Server-side implementation of the tus protocol in Lua
- lua-resty-wrr - weight round robin for Openresty. Similar to ngx_http/stream_upstream_round_robin module.
- lua-resty-mysql β Non-blocking Lua MySQL client driver for ngx_lua based on the cosocket API
- lua-resty-mysql-connector β Connection utilities for lua-resty-mysql, support for read and write separationοΌsupport for instantiating different databases
- lua-resty-postgres β Nonblocking Lua PostgreSQL driver library for ngx_lua
- pgmoon β A pure Lua Postgres driver for use in OpenResy & more
- lua-resty-couchbase β OpenResty CouchBase module
- iqiyi/lua-resty-couchbase β Lua couchbase client driver for the ngx_lua based on the cosocket API
- lua-resty-couchdb β Lua resty minimal couchdb client using nginx proxy ngx.location_capture
- lua-resty-orm β Simple ORM for OpenResty
- lua-resty-mvc β You don't need that complicated MVC framework! With just a plain folder with several simple files, you can enjoy basic but most frequently used MVC features.
- lua-resty-memcached β Lua memcached client driver for the ngx_lua based on the cosocket API
- lua-resty-redis β Lua Redis client driver for the ngx_lua based on the cosocket API
- lua-resty-redis-connector β Connection utilities for lua-resty-redis, making it easy and reliable to connect to Redis hosts, either directly or via Redis Sentinel
- resty-redis-cluster β OpenResty Redis cluster-aware client based on resty-redis-cluster
- lua-resty-redis-cluster β OpenResty Redis Cluster Client
- lua-resty-redis-util β Based on
lua-resty-redis
and makes it easier to operate the Redis - lua-cassandra - Pure Lua, feature-rich, and cluster-aware Cassandra client
- lua-resty-cassandra β Pure Lua Cassandra client using CQL binary protocol
- lua-resty-bloomd β A client library based on ngx_lua to interface with bloomd servers
- lua-resty-riak β Lua riak protocol buffer client driver for the ngx_lua based on the cosocket API
- lua-resty-moongoo β MongoDB library for OpenResty, highly inspired by Perl Mango
- lua-resty-mongol β Native Lua Mongodb driver which supports both luasocket and ngx_lua based on the cosocket API
- lua-resty-mongo β Lua mongodb client driver for the ngx_lua based on the cosocket API
- lua-mongo β A simple Lua Mongo driver (a fork made to work with co-sockets)
- lua-resty-influx β OpenResty client for InfluxDB
- lua-telegraf β Lua/OpenResty client for Telegraf/InfluxDB
- lua-resty-kyototycoon by @cloudflare β Lua client driver for KyotoTycoon using its native wire protocol (OpenResty/ngx_lua)
- lua-resty-kyototycoon by @sjnam β Lua client driver for KyotoTycoon using its binary protocol
- lua-resty-tarantool β Library for working with Tarantool from Nginx with the embedded Lua module or with OpeRresty
- lua-nginx-tarantool β A driver for a NoSQL database in a Lua script Tarantool build on fast nginx cosockets
- lua-resty-ssdb β Lua ssdb client driver for the ngx_lua based on the cosocket API, SSDB is a leveldb server
- ledis-openresty β Lua LedisDB client driver for the ngx_lua based on the cosocket API
- lua-resty-fastdfs β Nonblocking Lua FastDFS driver library for ngx_lua
- lua-resty-statsd β StatsD client for OpenResty
- lua-resty-dogstatsd β A client for DogStatsD, an extension of the StatsD metric server for Datadog. Using nginx cosocket API
- openresty-statsd β A Lua module for OpenResty to send metrics to StatsD
- lua-resty-smtp β A bridge between HTTP and SMTP
- lua-resty-mail β A high-level, easy to use, and non-blocking email and SMTP library for OpenResty
- lua-resty-mogilefs β A Lua mogilefs client driver for the ngx_lua based on the cosocket API
- lua-resty-etcd β Nonblocking Lua etcd driver library for OpenResty
- lua-shdict-nginx-module β An upgraded version of ngx.shared.DICT, capable of sharing data between
stream
andhttp
modules
- Test::Nginx β Data-driven test scaffold for Nginx C module and OpenResty Lua library development (see real-word tests in lua-resty-redis)
- nginx-systemtap-toolkit β Real-time analyzing and diagnosing tools for Nginx based on SystemTap
- stapxx β Simple macro language extentions to systemtap
- FlameGraph β Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately
- lua-resty-busted β Test OpenResty scripts with busted
- lua-resty-test β Test frame based on OpenResty
- busted (Github) β Elegant Lua unit testing
- Telescope (Github) β Telescope is a highly customizable test library for Lua that allows for declarative tests with nested contexts
- lua-resty-qless β Lua binding to Qless (Queue / Pipeline management) for OpenResty (see also: Qless Web Interface implemented with OpenResty)
- lua-resty-rabbitmqstomp β Lua RabbitMQ client library which uses cosocket api for communication over STOMP 1.2 with a RabbitMQ broker which has the STOMP plugin
- lua-resty-gearman β Lua gearman client driver for the ngx_lua based on the cosocket API
- lua-resty-kafka β Lua kafka client driver for the ngx_lua based on the cosocket API
- lua-resty-beanstalkd β Lua beanstalkd client driver for the ngx_lua based on the cosocket API
- lua-resty-ironmq β Simple IronMQ client for OpenResty
- lua-resty-nsq β NSQ client for for the ngx_lua based on the cosocket API
- lua-resty-QRcode β QR encode tool for ngx_lua
- lua-resty-QRDecode β QR decoder for ngx_lua
- lua-resty-worker-manager β Tracks worker processes and nodes starting / restarting / reloading / stopping
- lua-resty-worker-events β Inter process events for Nginx worker processes
- lua-resty-batch β Merge multiple requests in nginx to a single sub-request
- lua-resty-shell β Tiny non-blocking subprocess / shell library to use with OpenResty application server (using sockproc)
- lua-resty-exec β Non-blocking, non-shell-spawning, streaming and non-streaming subprocess library (using sockexec)
- lua-resty-repl β Interactive console (REPL) for OpenResty and LuaJIT code
- lua-resty-fileinfo β LuaJIT FFI bindings to libmagic, magic number recognition library - tries to determine file types
- lua-resty-base-encoding β Provides base32/base16/... encoding for OpenResty applications.
- lua-resty-mime-sniff β Sniff the real MIME type of given data
- lua-resty-taglib β LuaJIT FFI bindings for TagLib - An Audio Meta-Data Library
- lua-resty-uuid β LuaJIT FFI bindings for libuuid, a DCE compatible Universally Unique Identifier library
- lua-resty-jit-uuid β A pure LuaJIT (no dependencies) uuid generator tuned for performance
- lua-resty-unique-id β Lua library for generating a unique ID for OpenResty
- lua-resty-tsort β Performs a topological sort on input data
- lua-resty-postal β LuaJIT FFI Bindings to libpostal β a fast statistical parser/normalizer for street addresses around the world.
- lua-resty-libinjection β LuaJIT FFI bindings for libinjection, a SQL/SQLi tokenizer and analyzer
- lua-resty-socket β Automatic LuaSocket/cosockets compatibility module
- Inspect β Inspect is a library that transforms any Lua value into a human-readable representation. It is especially useful for debugging errors in tables.
- lua-resty-maxminddb by @lilien1010 β LuaJIT FFI Bindings to official libmaxminddb, to get ip location with ip database offered by maxmind
- lua-resty-maxminddb by @anjia0532 β A Lua library for reading MaxMind's Geolocation database format (aka mmdb or geoip2)
- lua-resty-radixtree β Lua / OpenResty implementation based on FFI for rax
- lua-resty-counter β Lock-free counter for OpenResty
- lua-resty-sync - This lua-resty library help you to synchronize data(from redis, mysql, memcached and so on) based on the version changes
- NetStorageKit-Lua β Akamai Netstorage (File/Object Store) API for Openresty
- lua-resty-wirefilter β LuaJIT FFI bindings to wirefilter - An execution engine for Wireshark-like filters
- lua-resty-hyperloglog - hyperloglog for openresty.
- lua-jsonschema-mocker - JSON Schema mocker.
These libraries are not build to using lua-nginx-module
s date time functions (except luatz) like ngx.today
, ngx.time
, ngx.now
, ngx.localtime
, or ngx.utctime
, but they may still come handy. At some point we may need a more "official" time library for OpenResty.
- luatz β A Lua library for time and date manipulation (has a fallback to
ngx.now
) - LuaDate β Lua Date and Time module for Lua 5.x
- SciLua Time Library β Library for the manipulation of dates and periods according to the Gregorian calendar, i.e. the internationally accepted calendar for most uses
- lua-resty-zip β ZIP functions(compress/uncompress) for LuaJIT
- lua-resty-snappy β LuaJIT FFI bindings for Snappy, a fast compressor/decompressor
- lua-resty-brotli β LuaJIT FFI bindings for Google Brotli
- lua-resty-zstd β LuaJIT bindings to Facebook Zstandard using FFI
- lua-resty-hoedown β LuaJIT FFI bindings to Hoedown, a standards compliant, fast, secure markdown processing library in C
- lua-gumbo β Lua bindings for the Gumbo HTML5 parsing library, with a set of DOM APIs implemented in pure Lua
- lua-resty-sass β LuaJIT FFI bindings for libsass - A C/C++ implementation of a Sass compiler (http://libsass.org/)
- lua-resty-lanli β LuaJIT FFI Bindings to Lanli HTML Sanitizer Library
- lua-resty-ini β Lua INI-file parser
- lua-re2 β C and Lua wrapper for RE2 regular expression library.
- lua-aho-corasick β C++ and Lua Implementation of the Aho-Corasick (AC) string matching algorithm
- lua-resty-json β JSON library for Lua and C (decoder only).
- lua-resty-libcjson β LuaJIT FFI-based cJSON library for OpenResty
- lua-resty-prettycjson β Lua cJSON Pretty Formatter
- jsonschema β JSON schema validator
- lua-resty-jsonschema β https://github.com/tianchaijz/lua-resty-jsonschema
- lua-laxjson - Lua binding to a relaxed streaming JSON parser, liblaxjson for LuaJIT using FFI
- lua-resty-utf8rewind β LuaJIT FFI bindings for utf8rewind - a system library written in C designed to extend the default string handling functions with support for UTF-8 encoded text
- lua-resty-unistring β LuaJIT FFI bindings for GNU libunistring - A Unicode string manipulation lIbrary (https://www.gnu.org/software/libunistring/)
- lua-resty-htmlentities β Backport the entities to LuaJIT with the FFI binding as the entities to UTF-8 decoder
- lua-resty-jsdecode β Javascript Escape Notation decoding to UTF-8 bytes
- lua-resty-breeze β Breeze serialize for Lua and OpenResty
- lua-resty-msgpack β Lua Message Pack for OpenResty
- luajit-msgpack-pure β MessagePack for LuaJIT (using FFI, no bindings, V4 API)
- lua-resty-libxl β LuaJIT FFI-based LibXL (Excel) library for OpenResty
- lua-resty-haru β LuaJIT FFI-based libHaru (PDF) library for OpenResty
- lua-resty-hpdf β LuaJIT FFI-based libHaru (PDF) library for OpenResty
- lua-resty-imagick β Lua bindings to ImageMagick's MagicWand for LuaJIT using FFI
- Lua IMagick β Lua Pure-C Bindings to ImageMagick
- magick β Lua Bindings to ImageMagick for LuaJIT using FFI
- giflib β Lua bindings to GIFLIB for LuaJIT using FFI
- fi-luajit β A LuaJIT interface to FreeImage
- lua-vips β LuaJIT binding for libvips
- lua-resty-gettext β LuaJIT FFI-based gettext library for OpenResty
- lua-resty-lrucache β Lua-land LRU Cache based on LuaJIT FFI
- lua-resty-mlcache β Modern and flexible multi-level caching using lua-resty-lrucache, shared dictionaries, and cache stampede protection.
- shcache β shcache is an attempt at using ngx.shared.DICT with a caching state machine layed on top
- lua-resty-tlc β Two Layer Cache implementation using lua-resty-lrucache and shared dictionaries.
- Ledge β A Lua application for OpenResty, providing HTTP cache functionality for Nginx, using Redis as a cache / metadata store
- lua-resty-cache β HTTP Cache to Redis, can serve stale response, and using
lua-resty-lock
only allow one request to populate a new cache
- LUAMETER β A Lua module for Nginx that records and provides key status and performance metrics, right from within Nginx and in real-time (Proprietary)
- ngxtop β Real-Time metrics for nginx server
- lua-resty-moesif β Lua Client Library for Moesif, compatible with OpenResty
- lua-resty-logger-socket β Raw-socket-based Logger Library for Nginx (based on ngx_lua)
- lua-nginx-logging β Logging utilities for Nginx written in Lua
- lua-resty-logger β Custom Logger Library for OpenResty
- lua-resty-rfc5424 β An implementation of the RFC5424(syslog) in the OpenResty
- lua-resty-fluentd β Lua fluentd logger for the ngx_lua based on the cosocket API
- lua-resty-fluent-logger β A structured logger for Fluentd (OpenResty / ngx_lua)
- raven-lua β A small Lua interface to Sentry that also has a helpful wrapper function call() that takes any arbitrary Lua function (with arguments) and executes it, traps any errors and reports it automatically to Sentry
- Lua Fun β Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind
- Penlight β Penlight brings together a set of generally useful pure Lua modules, focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions, etc), and OS path management
- Moses β A Lua utility-belt library for functional programming. It complements the built-in Lua table library, making easier operations on arrays, lists, collections
- Underscore.lua β Underscore.lua is a Lua library that provides a set of utility functions for dealing with iterators, arrays, tables, and functions
- Lodash.lua β A functional programming library for Lua in respect to the Javascript library Lodash
- Search for more "Functional Lua" projects on GitHub...
- lua-resty-github β Lua library for using the github api in the ngx_lua nginx module
- lua-resty-hipchat β Lua library for using the hipchat api
- lua-resty-newrelic β Lua newrelic SDK for the ngx_lua based on the C SDK
- api-gateway-aws β Lua module for AWS APIs. The missing AWS SDK from Nginx / OpenResty. Use it to proxy AWS APIs in a simple fashion, with any HTTP Client that you prefer.
- lua-resty-aws β AWS SDK for OpenResty
- lua-resty-aws-sdk β A raw AWS SDK generated from API specification
- lua-resty-aws-email β Send email using Amazon Simple Email Service(SES) API
- lua-resty-aws-auth β Simple Lua resty utilities to generate Amazon v4 authorization and signature headers
- lua-resty-s3 β Lua driver for uploading content to Amazon S3
- lua-resty-s3uploader β An AWS S3 upload clientοΌeasy to use
- lua-resty-paypal β Lua Paypal client using express checkout for OpenResty
- lua-resty-17mon β ipip.net IP for OpenResty
- lua-resty-upyun β Upyun cloud-based platform
- lua-resty-tencent-cos-signature Tencent QCloud COS request signature authorization headers generator
- lua-mailgun β A Lua library for sending emails and interacting with the Mailgun API. Compatible with OpenResty via Lapis HTTP API, or any other Lua script via LuaSocket.
- lua-payments β Bindings to various payment provider APIs for use in Lua (with OpenResty or anything that supports LuaSocket)
- lua-resty-ddos β This library uses Cookie Validation to detect bots from real users
- Nginx-Lua-Anti-DDoS) β A Anti-DDoS script to protect Nginx web servers using Lua with a Javascript based authentication puzzle inspired by Cloudflare
- OpenResty Package Manager Repository
- LuaRocks Repository (Search for resty libraries in LuaRocks)
- Github Search for lua-resty-* Libraries, or the recently updated ones
- Lua Toolbox
- luapower β Lua, JIT, batteries
- List of Available LuaJIT Packages
- List of Available LuaJIT FFI Bindings
- Programming OpenResty β Scripting an NGINX-based Web Platform (Work-in-Progress)
- OpenResty Best Practices (GitBook) (Chinese, use e.g. Google Translate)
- agentzh's Nginx Tutorials
- Definitely an OpenResty Guide
- Top ten things about OpenResty
- The Latest and Greatest from ngx_lua: New Features & Tools (Summary, Slides, PDF, Video)
- Nginx Configuration Snippets β A collection of useful Nginx configuration snippets
- Getting started with Lapis, the web framework
- Building an HTTP request router with NGINX and Lua - Shopify (Nginx Conf 2015)
- Enabling TLS Cross host Session Resumption with Forward Secrecy via ngx lua (Nginx Conf 2015)
- The Latest and Greatest from ngx_lua: New Features & Tools (Nginx Conf 2014)
- OpenResty Con 2016, Shenzen, China
- New Development of OpenResty in 2016 (Slides, Video in Chinese)
- Lua Workshop 2016, San Francisco, USA (Lua.org)
- Bay Area OpenResty Meetup 2016 / 3
- OpenResty Con 2015, Beijing, China