bext-plugin-quickjs 0.2.0

QuickJS sandbox for bext — lightweight JavaScript plugin execution
Documentation

bext-plugin-quickjs

QuickJS sandbox for bext — lightweight JavaScript plugin execution.

Part of the bext stack.

[dependencies]
bext-plugin-quickjs = "0.2"

What this crate is

bext-plugin-quickjs runs JavaScript plugins inside a QuickJS sandbox via the rquickjs crate. Compared to WASM, it's ~200KB of binary overhead and supports hot-reloading at runtime — ideal for rapid plugin iteration.

Features

  • QuickJS runtime via rquickjs.
  • Memory limits — per-plugin heap caps.
  • Time limits — interrupt long-running scripts.
  • bext.* globals — KV store, logger, HTTP fetch surface.
  • SSRF protection — outbound fetches check for private IPs before connecting.

License

MIT.

See also