Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

luafend-1.2.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luafend-1.2.0-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file luafend-1.2.0.tar.gz.

File metadata

  • Download URL: luafend-1.2.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.0

File hashes

Hashes for luafend-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8ba3a63cecc5a15987445e2585e6a4ffcbab1e83bb3bf460a012608b3fc303c6
MD5 c93c4b0d732c4ebda0a9c4f341c66c80
BLAKE2b-256 c15bc0eb2af7c3b770f1d0ab23bf32eec8491d6bc43f00222f285f441a9ac9c4

See more details on using hashes here.

File details

Details for the file luafend-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: luafend-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.0

File hashes

Hashes for luafend-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fcccdc6a69c166b93e5338c829a5d5ef81415858350a2505935be80c79b5043
MD5 5236aca578624f779cb0e8e0c23fdeb4
BLAKE2b-256 ab05a2d500448d182c944018d8592bf27a709f9697ea0a5b95aad598781e74f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page