High-performance reverse proxy with embedded Lua scripting. One binary, YAML config, Lua scripts. That's it.
# Get it running git clone https://github.com/ygalsk/keystone-gateway.git cd keystone-gateway make dev # Gateway runs on :8080 curl localhost:8080/admin/health
Define routes in Lua scripts, no recompilation needed
Route by domain, path, or both
Thread-safe Lua pools, HTTP/2, connection pooling
One binary, YAML config, Lua scripts
Define who gets routed where
Define routes and middleware
Routes traffic based on domain/path
Check /admin/health for status
# config.yaml tenants: - name: "api" domains: ["localhost"] lua_routes: "api" services: - name: "backend" url: "http://localhost:3001"
-- scripts/api.lua chi_route("GET", "/hello", function(request, response) response:write("Hello World") end)
Start: ./keystone-gateway -config config.yaml
Keep it simple. Get it working. Make it fast.
Keystone Gateway is a reverse proxy with embedded Lua scripting. One binary, YAML config, Lua scripts. No external dependencies, no complex setup, no microservice hell.