Skip to content

blessnetwork/javy-bless-plugins

Repository files navigation

Bless Javy Plugins

These are the plugins for the Javy runtime.

Plugins

Plugin Description Browser Runtime supported Native Runtime supported
BlessLLM A plugin for interacting with LLMs
BlessFetch A plugin for interacting with HTTP / fetch
BlessCrypto A plugin for interacting with the crypto library

Pre-Requisites

Build

# build bless plugins
cargo build --target=wasm32-wasip1 --release

# rebuild the plugin-wasm with javy runtime CLI
javy init-plugin ./target/wasm32-wasip1/release/bless_plugins.wasm -o bless_plugins.wasm

# compile javascript to wasm with javy runtime and plugin
javy build -C plugin=bless_plugins.wasm ./examples/llm.js -o bless-llm.wasm