A command line tool that transforms Lua code
  • Rust 95.2%
  • JavaScript 3.8%
  • Lua 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan 83a3a9d0a2
Use the closest .luaurc to each file when bundling (#339)
Before this change darklua would only use the closest `.luaurc` 
configuration to the entry point when bundling. Now it searches 
for each file added in the bundle.

---------

Co-authored-by: jeparlefrancais <[email protected]>
2026-07-13 11:41:12 -04:00
.cargo Migrate CI to GitHub actions (#67) 2022-11-06 14:03:15 -05:00
.github Upgrade project dependencies (#315) 2025-09-26 17:10:35 -04:00
bench_content Setup benchmarks (#70) 2022-11-24 14:36:34 -05:00
benches Upgrade to full-moon 2.0.0 (#312) 2025-09-26 11:08:11 -04:00
scripts Add rule to remove unused variables (#172) 2024-02-23 18:52:27 -05:00
site Release v0.19.0 (#357) 2026-06-10 17:13:49 -04:00
src Use the closest .luaurc to each file when bundling (#339) 2026-07-13 11:41:12 -04:00
tests Use the closest .luaurc to each file when bundling (#339) 2026-07-13 11:41:12 -04:00
.gitattributes Create darklua website (!37) 2021-12-12 15:44:27 +00:00
.gitignore Setup benchmarks (#70) 2022-11-24 14:36:34 -05:00
Cargo.lock Release v0.19.0 (#357) 2026-06-10 17:13:49 -04:00
Cargo.toml Release v0.19.0 (#357) 2026-06-10 17:13:49 -04:00
CHANGELOG.md Use the closest .luaurc to each file when bundling (#339) 2026-07-13 11:41:12 -04:00
CODE_OF_CONDUCT.md Update to 1.7 insta and migrate snapshots (!15) 2021-04-25 13:37:49 +00:00
CONTRIBUTING.md Setup benchmarks (#70) 2022-11-24 14:36:34 -05:00
LICENSE.txt Initial commit 2020-02-11 14:48:47 -05:00
README.md Release v0.19.0 (#357) 2026-06-10 17:13:49 -04:00

checks site version license GitHub all releases GitHub top language

ko-fi

darklua

Transform Lua 5.1 and Roblox Luau code using configurable rules.

Documentation

Visit https://darklua.com/docs to learn how to use darklua.

Try It!

You can try darklua directly into your browser! Check out https://darklua.com/try-it.

Installation

GitHub Releases

There are pre-built versions of darklua under the releases page available for direct downloads.

Rokit

When using Rokit, install darklua with the command:

rokit add seaofvoices/darklua

Foreman

If you are already using Foreman, then installing darklua is as simple as adding this line in the foreman.toml file:

darklua = { github = "seaofvoices/darklua", version = "=0.19.0" }

License

darklua is available under the MIT license. See LICENSE.txt for details.