Skip to content

Experimental Java SDK based on the Chicory Runtime

License

Notifications You must be signed in to change notification settings

slyons/chicory-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chicory SDK

This is an experimental Java SDK using the JVM-native Chicory runtime. This library and the runtime are still very experimental, however, there should be enough there to complete a full Extism SDK. If anyone would like to work on it feel free to reach out to @bhelx on the Extism Discord.

Note: If you are interested in a solid and working Java SDK, see our Extism Java SDK. But if you have a need for pure Java solution, please reach out!

Example

var manifest = Manifest.fromUrl("https://github.com/extism/plugins/releases/download/v1.0.0/greet.wasm");
var plugin = new Plugin(manifest);
var input = "Benjamin";
var result = new String(plugin.call("greet", input.getBytes(StandardCharsets.UTF_8)), StandardCharsets.UTF_8);
assertEquals("Hello, Benjamin!", result);

About

Experimental Java SDK based on the Chicory Runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%