Re: [ANN] mote - Lightweight HTTP server with routing and middleware
"'Stefano' via lua-l" <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for this work. I was looking for a modern, robust, and lightweight Web framework in Lua a few month ago, and the best I could find was Pegasus, which gets the job done, albeit with many limitations. It feels to me that such framework, ideally one that keeps in line with the minimalist philosophy of Lua but provides some useful tools such as routing and header, cookie, etc. handling, is one major missing component from the Lua ecosystem. I also see another recent thread about "Crescent framework" but that project seems to have a much broader scope, so if both projects were successful, it would be really nice if they kept separate goals. I will definitely take a serious look at this further down my development. s On Tuesday, January 27, 2026 at 7:18:57 PM UTC-5 Rett Berg wrote: > > So it doesn’t even support current Lua. What a shame. > > Is this a joke? If so, it was not obvious. > > To author: 5.5 was released all of a few weeks ago, there is no > expectation you would have tested it yet. > > On Tuesday, January 27, 2026 at 11:58:12 AM UTC-7 Papuna Gagnidze wrote: > >> Hi Marc, >> >> Thanks for the feedback. I haven't tested it on 5.5 yet, but I'll update >> the README once I verify it. >> >> Thanks Michael, glad you find it useful. >> >> I deleted the original post to fix formatting issues, not realizing the >> emails had already been sent. We can continue the discussion here >> regardless. >> On Tuesday, January 27, 2026 at 10:45:05 PM UTC+4 Marc Balmer wrote: >> >>> This cought my eye: >>> >>> “ Works with Lua 5.1–5.4. LuaJIT recommended for performance” >>> >>> So it doesn’t even support current Lua. What a shame. >>> >>> >>> Am 27.01.2026 um 19:38 schrieb Michael Lenaghan <[email protected]>: >>> >>> >>> >>> Excellent! >>> >>> On Jan 27, 2026 at 9:22:10 AM, Papuna Gagnidze <[email protected]> >>> wrote: >>> >>>> Hi everyone, >>>> >>>> I've released mote, a standalone HTTP server library for Lua/LuaJIT. It >>>> started as the core of a BaaS project I was building and I decided to >>>> extract it into a standalone library. >>>> >>>> It has Koa-style routing with URL params, onion middleware, and >>>> built-in support for CORS, JWT, rate limiting, and Server-Sent Events with >>>> pub/sub. Runs on Linux, macOS, and Windows. >>>> >>>> ```lua >>>> local mote = require("mote") >>>> >>>> mote.get("/users/:id", function(ctx) >>>> ctx.response.body = { id = ctx.params.id } >>>> end) >>>> >>>> mote.create({ port = 8080 }):run() >>>> ``` >>>> >>>> `luarocks install mote` >>>> >>>> https://github.com/luanvil/mote >>>> >>>> I'd love to hear what you think. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "lua-l" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion visit >>>> https://groups.google.com/d/msgid/lua-l/409238ec-74d8-4f67-9259-35616762f7abn%40googlegroups.com >>>> <https://groups.google.com/d/msgid/lua-l/409238ec-74d8-4f67-9259-35616762f7abn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "lua-l" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> To view this discussion visit >>> https://groups.google.com/d/msgid/lua-l/CAHV0GgEJQ45f6OXUukNjGqNbFOYHafnMqXDgfqP62zsPeKAivw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/lua-l/CAHV0GgEJQ45f6OXUukNjGqNbFOYHafnMqXDgfqP62zsPeKAivw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/0cfa9ac7-564f-4368-a45e-91aa7e06bff8n%40googlegroups.com.