Dear OpenResty users and developers,
As some of you may have already noticed, we've done the first phase of
the official package manager, opm, for OpenResty community libraries
and modules:
https://github.com/openresty/opm
And we're running the official package server at opm.openresty.org:
http://opm.openresty.org/
As you can see, it's already accepting community package uploads :) As
of this writing, we already have 50 successful uploads across 46
distinct package names from 17 contributors.
We'll include the opm client tool in the next OpenResty release. So
it's perfect timing for our OpenResty library authors to upload your
work and share with the whole OpenResty user community easily.
Since opm is still young, we only support pure Lua modules at this
moment. But we'll soon add support for Lua libraries based on FFI and
some pure C library components. We also have plans to support fetching
packages from the official LuaRocks package server in the future, at
least those pure Lua modules.
In addition, we have plans to add support for NGINX C modules in the
opm toolchain. NGINX now supports dynamic C modules itself, so I think
it's quite feasible. We do not just have Lua in the OpenResty world,
right? ;)
The opm package server itself is written completely in OpenResty/Lua,
backed by a PostgreSQL database. We use SMTP/TLS to automatically send
emails to Mailgun for failed uploads. It's also in Lua and based on
cosockets.
You are always welcome to contribute your OpenResty libraries to the
opm package server, and/or to submit patches for the opm toolchain
itself.
I believe this is a big milestone for OpenResty and I hope you guys
can all enjoy it :)
Many thanks!
Best regards,
-agentzh