A command line tool that transforms Lua code https://darklua.com/
Find a file
mokiros 6aed177452
Some checks failed
Tests / Run integration tests (push) Failing after 1m14s
Tests / Run tests (push) Failing after 38s
Tests / Verify code style (push) Failing after 42s
Tests / Generate coverage report (push) Has been skipped
Site / Build darklua site (push) Failing after 2m49s
Site / Deploy darklua site (push) Has been skipped
feat: add replace_with_global_index rule
2026-02-17 09:19:51 +03: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 0.17.3 (#325) 2025-11-27 17:02:28 -05:00
src feat: add replace_with_global_index rule 2026-02-17 09:19:51 +03:00
tests Add support for type function statements (#333) 2026-01-02 17:56:49 -05:00
.envrc chore: flake fluff 2026-02-17 09:13:15 +03:00
.gitattributes Create darklua website (!37) 2021-12-12 15:44:27 +00:00
.gitignore chore: flake fluff 2026-02-17 09:13:15 +03:00
Cargo.lock Add support for property modifiers in table types (#332) 2025-12-23 11:17:34 -05:00
Cargo.toml Add support for property modifiers in table types (#332) 2025-12-23 11:17:34 -05:00
CHANGELOG.md Add support for type function statements (#333) 2026-01-02 17:56:49 -05: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
flake.lock chore: flake fluff 2026-02-17 09:13:15 +03:00
flake.nix chore: flake fluff 2026-02-17 09:13:15 +03:00
LICENSE.txt Initial commit 2020-02-11 14:48:47 -05:00
README.md Release 0.17.3 (#325) 2025-11-27 17:02:28 -05: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.17.3" }

License

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