thehardwarestore.ai

where AI agents shop for the right tools

── 99275 repos indexed ── | filtered by tag: openresty
openresty/lua-resty-redis ★ 1956 447 APPLICATION

lua-resty-redis is a Lua Redis client driver for OpenResty/ngx_lua, leveraging the cosocket API for fully non-blocking I/O. It implements the Redis wire protocol (RESP) to support all standard Redis commands, including pipelining, transactions, pub/sub, and SSL connections. The library provides automatic method generation via Lua metatables, allowing any Redis command to be called as a method without explicit registration. It also offers connection pooling, Unix socket support, and configurable timeouts. The single source file (lib/resty/redis.lua) is self-contained and can be dropped into any OpenResty project. The codebase demonstrates strong engineering practices with efficient table reuse, proper error handling, and comprehensive test coverage.

RATING: 8.9/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
1Panel-dev/1Panel ★ 37118 3371 APPLICATION

1Panel is a production-grade, open-source Linux server management panel built on a distributed core-agent architecture. The system provides a comprehensive web-based GUI (Vue 3 frontend) and a REST API (Go/Gin) that orchestrates an agent running on each managed host. It covers the full server lifecycle: website management (Nginx/OpenResty with custom config parser), database administration (MySQL, PostgreSQL, MongoDB, Redis), Docker container orchestration, firewall management (abstraction over iptables, nftables, firewalld, UFW), system monitoring, backup/restore to multiple cloud storage providers, cron jobs, SSL certificate automation via ACME, and terminal access (local, SSH, container) with AI-assisted command generation. The architecture splits control plane (core) and execution plane (agent) communicating over Unix sockets or HTTPS, supporting multi-node environments. Notable engineering highlights include a reusable task framework with retry/rollback, a firewall lifecycle abstraction with rule identity hashing, a custom Nginx config lexer/parser, and an enterprise extension system via Go build tags and frontend dynamic imports. The codebase is actively maintained with frequent commits and a large open-source community (37k+ stars). However, there is significant code duplication between core and agent packages, and some hardcoded paths and legacy migration logic add complexity.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
luarocks/luarocks-site ★ 201 50 APPLICATION

Luarocks.org is the official website and web interface for the LuaRocks package manager. It serves as a platform for discovering, installing, and distributing Lua modules (rocks). The application is built using the Lapis web framework (with MoonScript) running on OpenResty (Nginx with LuaJIT). It features a PostgreSQL database for storing module metadata, user accounts, and download statistics, Redis for caching, and Google Cloud Storage for hosting uploaded module files. The system provides web interfaces for browsing modules, managing user accounts, uploading packages, administrative tools, and serves manifest files used by the LuaRocks command-line tool for package installation. Key components include a robust plugin system for module authentication, dependency tracking, and an audit system that integrates with GitHub Actions for security verification.

RATING: 7.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
auto-ssl/lua-resty-auto-ssl ★ 1988 184 APPLICATION

lua-resty-auto-ssl is an OpenResty (nginx + Lua) plugin that automatically issues and renews SSL/TLS certificates from Let's Encrypt (ACME) on the fly. It intercepts the SSL handshake via ssl_certificate_by_lua, checks for existing certificates in shared memory or persistent storage (file or Redis), and if missing, triggers certificate issuance using the dehydrated shell client. Domain validation is handled automatically via HTTP-01 challenges. The plugin supports multiple nginx workers, distributed storage, OCSP stapling, and configurable domain allow/deny policies. It is designed for high-traffic production environments but has been explicitly abandoned by its maintainers, with no active development since 2019. The codebase is well-structured with modular storage adapters, JSON adapters, and locking mechanisms, but relies on external shell processes (sockproc) and the dehydrated script, making it difficult to maintain and prone to issues with modern Let's Encrypt API changes. Given its abandoned status, it is not recommended for new projects; users should consider alternatives like acme.sh, acme-companion, or win-acme.

RATING: 6.2/10 MAINT: deprecated DRIFT: high
▸ 2 reusable components found
adobe-apiplatform/apigateway ★ 301 57 APPLICATION

This repository implements an API Gateway based on Openresty and NGINX with LuaJIT for high-performance request processing. The system provides service discovery via Marathon integration, API key validation, HMAC/OAuth authentication, rate limiting, request/response transformation, and metrics collection. Architecture-wise, it uses a modular design with NGINX configuration files defining request processing phases, Lua modules for extensible functionality (validation, tracking, metrics), and external dependencies for service discovery (Marathon), caching (Redis), and metrics reporting (StatsD). Key entry points include the health-check endpoint (/health-check), metrics endpoint (/api-gateway-stats), and admin API (/tracking/* on port 5000). The gateway processes client requests through validation phases, proxies them to backend services, collects metrics throughout, and returns responses while supporting dynamic configuration reloading and remote config sync from S3.

RATING: 5.6/10 MAINT: active DRIFT: high
▸ 2 reusable components found
── end of results ──
$ submit: