leafo/lapis
A web framework for Lua and OpenResty written in MoonScript observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 73
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 136.0
- age_days: 5082
- days_rel: 20
- days_push: 8
- n_releases_24m: 3
Adoption not part of the score
3338 stars · 243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lapis is a web framework for Lua and MoonScript that primarily targets OpenResty (Lua embedded in Nginx), with support for other server environments like lua-http. It provides URL routing, HTML templating, sessions, CSRF protection, and database models with schema migrations for PostgreSQL, MySQL, and SQLite.
Use cases
- build a web application in Lua or MoonScript
- create a high-performance website on OpenResty/Nginx
- build REST APIs with Lua and PostgreSQL
- write asynchronous web apps using Lua coroutines without callbacks
- manage database schema migrations for a Lua web app
- build a full-stack site with server-rendered HTML templates
When to choose
- you want to write web apps in Lua/MoonScript with high throughput on Nginx
- you need a batteries-included Lua framework with ORM, routing, and templating
- you're deploying on OpenResty and want Lua running inside Nginx workers
- you value coroutine-based async code that reads synchronously
When to avoid
- your team primarily works in JavaScript, Python, or another mainstream web ecosystem
- you need a large ecosystem of third-party web libraries and middleware
- you're not comfortable with Lua or MoonScript syntax
- you need a framework with extensive modern tooling like hot reload and TypeScript-style typing
Facets
framework · maturity stable
web-framework orm routing templating http-server database web-development backend apis lua windows moonscript lua openresty nginx postgresql mysql sqlite luarocks coroutines full-stack linux macos
3 sources
- readme: https://github.com/leafo/lapis · fetched 2026-08-28 · 3556c8b3bd73
- homepage: http://leafo.net/lapis/ · fetched 2026-08-29 · 8d360a17c85f
- site_page: https://leafo.net/lapis/changelog.html · fetched 2026-08-29 · 1780536b75d0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leafo/lapis | main | 90 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem