ydasm — api.txt
endpoint
POST https://ydasm.catboys.fun/api/decompile

optional query: ?mode=dec (luau source, default) or ?mode=dasm (vm opcodes)

accepted body formats

auto-detected on the edge — send raw .luauc binary, base64 string, hex dump, or json {"bytecode": "..."}

1. luau / executor (request)
local function decompile(s)
    local res = request({
        Url = "https://ydasm.catboys.fun/api/decompile",
        Method = "POST",
        Body = crypt.base64encode(getscriptbytecode(s))
    })
    return res.Body
end
2. curl (raw binary)
curl -s -X POST https://ydasm.catboys.fun/api/decompile --data-binary @script.luauc
3. javascript (fetch)
const res = await fetch("https://ydasm.catboys.fun/api/decompile", {
  method: "POST",
  body: JSON.stringify({ bytecode: b64, mode: "dec" })
});
const src = await res.text();