Skip to content

A Capsule application is a runner (or launcher) of wasm functions. Capsule HTTP can serve the functions through HTTP (it’s possible to use Capsule as a simple CLI with Capsule CLI). And soon: NATS and MQTT

License

Notifications You must be signed in to change notification settings

bots-garden/capsule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capsule-logo.png

Capsule: the nano (wasm) functions runner

What is Capsule?

Capsule is a WebAssembly function launcher(runner). It means that, with Capsule you can:

  • From your terminal, execute a function of a wasm module (the "CLI mode")
  • Serving a function of a wasm module through http (the "HTTP mode")
  • Serving a function of a wasm module through NATS (the "NATS mode"), in this case Capsule is used as a NATS subscriber and can reply on a subject(topic)
  • Serving a function of a wasm module through MQTT (the "MQTT mode"), in this case Capsule is used as a MQTT subscriber and can reply on a subject(topic)
  • Capsule is developed with GoLang and thanks to the 💜 Wazero project
  • The wasm modules are developed in GoLang and compiled with TinyGo (with the WASI specification)

About

A Capsule application is a runner (or launcher) of wasm functions. Capsule HTTP can serve the functions through HTTP (it’s possible to use Capsule as a simple CLI with Capsule CLI). And soon: NATS and MQTT

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6