Luafend CLI
Command line client for Luafend — source code protection for Lua and Luau. Compiles your script into its own virtual machine and encrypts the strings and constants, so the file you ship reads like noise while it still behaves exactly the same.
Builds target Luau, Lua 5.1 and Lua 5.4, covering Roblox, Garry's Mod, embedded Lua and your own host.
Install
pip install luafend
luafend
Running luafend with no arguments opens an interactive shell where every command starts
with a slash. Any command also works straight from your terminal, without the slash:
luafend login # sign in through your browser
luafend whoami # name, email, sign-in provider, plan
luafend billing # plan, credits, usage and limits
luafend obfuscate script.lua # protect a file
luafend logout # sign out and revoke this machine's token
This package is the same client as the npm package luafend, so both installs behave
identically — pick whichever toolchain you already have.
Signing in
login never asks for a password. It opens a consent page in your browser, where you are
already signed in, and waits for you to approve. The token it receives is stored in your
OS config directory (%APPDATA%\luafend\config.json on Windows,
~/.config/luafend/config.json on Linux, ~/Library/Application Support/luafend/ on
macOS) and never in the working directory.
For CI, set LUAFEND_TOKEN instead — it takes priority and needs no config file.
Status
obfuscate is still being wired up; everything else works. Exit codes: 0 ok, 1 error,
2 not signed in, 3 limit reached.
Requirements
Python 3.9 or newer. No dependencies — standard library only.
Links
- Website — https://luafend.com
- Documentation — https://luafend.com/docs
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file luafend-0.7.0.tar.gz.
File metadata
- Download URL: luafend-0.7.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fb9ab92ac6be25baa750db368642e2c0fc67b46fec0a246cf12ad6f1d5aa318
|
|
| MD5 |
3730287d096da8dbd7f3f52f8de76f1c
|
|
| BLAKE2b-256 |
b70ee8d7523906ddeb57298f2cdec2ba1b076e7fd8f80ff4f1dc0999e37c4155
|
File details
Details for the file luafend-0.7.0-py3-none-any.whl.
File metadata
- Download URL: luafend-0.7.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50910c8b8cab91c100af3d13f519a19e1c458759813d3609decf8633b5ec26fd
|
|
| MD5 |
78578387b5485249e82f459d00fc404b
|
|
| BLAKE2b-256 |
c413692069f2ad2b55dc095d8269de0c057351e62be62c42735952d7632bcd78
|