Code Monkey home page Code Monkey logo

bots-garden / capsule Goto Github PK

View Code? Open in Web Editor NEW
285.0 3.0 8.0 61.09 MB

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

Home Page: https://bots-garden.github.io/capsule/

License: MIT License

Shell 7.13% Go 89.35% JavaScript 1.19% Dockerfile 0.34% HTML 1.99%
golang tinygo wasi wasm wazero webassembly

capsule's Introduction

Capsule, next generation

the nano wasm functions runners

Open in Gitpod

What is the Capsule project?

Capsule is a set of WASM runners. Right now, the Capsule project is composed of:

  • Capsule CLI: to simply execute a WebAssembly module in a terminal
  • Capsule HTTP server to serve a WebAssembly module like a micro service or a function.
  • Capsule applications are developed with GoLang and thanks to the 💜 Wazero project.
  • The wasm modules are developed in GoLang and compiled with TinyGo 💜 (with the WASI specification)

Host DK & Module DK

🎉 That means, since now, it's possible to develop various runners thanks to the Capsule HostSDK

capsule's People

Contributors

codefromthecrypt avatar dirien avatar evacchi avatar k33g avatar py4mac avatar titimoby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

capsule's Issues

add an http server mode to capsule

capsule module.wasm --http-serve

port is set with an environment variable

Then: specific "Handle" function for HTTP or CLI mode? 🤔

add a worker

  • REST API
  • Launcher of a wasm module in cli or http mode
  • Registration to the reverse-proxy
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.