Lux: A luxurious package manager for Lua

https://news.ycombinator.com/rss Hits: 13
Summary

Lux A luxurious package manager for Lua. Key Features • How To Use • Comparison with Luarocks • Related Projects • Contributing 🌟 Key Features Create and manage Lua projects Easily manage dependencies, build steps and more through the lux.toml file. Parallel builds and installs 🚀 Add/remove dependencies with simple CLI commands Automatic generation of rockspecs Say goodbye to managing 10 different rockspec files in your source code 🎉 Integrated code formatting via lx fmt Powered by stylua . Easily specify compatible Lua versions Lux will take care of Lua header installation automatically Forget about users complaining they have the wrong Lua headers installed on their system Automatic EmmyLua/LuaCATS based type checking via lx check Powered by emmylua-analyzer-rust Automatic code linting via lx lint Powered by luacheck Powerful lockfile support Makes for fully reproducible developer environments. Makes Lux easy to integrate with Nix! Fully compatible Works with existing luarocks packages. Have a complex rockspec that you don't want to rewrite to TOML? No problem! Lux allows the creation of an extra.rockspec file, everything just works. Have a very complex build script? Lux can shell out to luarocks if it knows it has to preserve maximum compatibility. Automatically adds project dependencies to a .luarc.json file so they can be picked up by lua-language-server . Warning Lux, while generally functional, is a work in progress and does not have a 1.0 release yet. ⚙️ How To Use Feel free to consult the documentation on how to get started with Lux! It features a tutorial and several guides to make you good at managing Lua projects. 📊 Comparison with luarocks As this project is still a work in progress, some luarocks features have not been (fully) implemented yet. On the other hand, lux has some features that are not present in luarocks. The following table provides a brief comparison: lux luarocks v3.12.2 project format TOML / Lua Lua add/remove dependencies ✅ ❌ parallel ...

First seen: 2025-10-18 14:57

Last seen: 2025-10-19 03:59