Skip to content

bext-stack/bext-plugin-quickjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

About

QuickJS plugin sandbox for bext — mirror of crates/bext-plugin-quickjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages