replace-response VS lua-nginx-module

Compare replace-response vs lua-nginx-module and see what are their differences.

replace-response

Caddy module that performs replacements in response bodies (by caddyserver)

lua-nginx-module

Embed the Power of Lua into NGINX HTTP servers (by openresty)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
replace-response lua-nginx-module
1 16
88 11,103
- 0.4%
4.9 8.1
5 months ago about 1 month ago
Go C
Apache License 2.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

replace-response

Posts with mentions or reviews of replace-response. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-23.
  • The Future of Nginx: Getting Back to Our Open Source Roots
    12 projects | news.ycombinator.com | 23 Aug 2022
    > But there are many scenarios where being able to extend the HTTP server via Lua is more convenient than writing a plugin I would think?

    Well, Caddy is written in Go, so it's only natural to write a plugin in Go. Statically compiled into your binary. We provide a tool called `xcaddy` which is used to produce builds of Caddy with any plugins you need. You just need Go installed on your system to run it, no other dependencies.

    The reason why Lua is used for OpenResty is because writing plugins in C is... not fun.

    You can absolutely do what you described with an HTTP handler module in Caddy. You'd just wrap the req.Body with a reader that watches the bytes as they're copied through the stream, and when you see the part you want to log, you do that.

    We have a replace-response plugin which takes a similar approach, except it manipulates the response as it's being streamed back to the client. https://github.com/caddyserver/replace-response The whole plugin is just one file of Go code.

lua-nginx-module

Posts with mentions or reviews of lua-nginx-module. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.

What are some alternatives?

When comparing replace-response and lua-nginx-module you can also consider the following projects:

cache-handler - Distributed HTTP caching module for Caddy

Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

nginx-cluster - A horizontally scalable NGINX caching cluster

Docker Compose - Define and run multi-container applications with Docker

server-side-tls - Server side TLS Tools

EmmyLuaDebugger - EmmyLua Debugger

caddy-ratelimit - HTTP rate limiting module for Caddy 2

njs - An official read-only mirror of http://hg.nginx.org/njs/ which is updated hourly.

caddy-l4 - Layer 4 (TCP/UDP) app for Caddy

IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core

kubernetes-ingress - NGINX and NGINX Plus Ingress Controllers for Kubernetes