Giter Site home page Giter Site logo

jclmnop / examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasmcloud/examples

0.0 0.0 0.0 14.15 MB

Example actors, capability providers, and other demonstrations

Shell 1.07% JavaScript 25.88% Python 0.06% Go 0.20% Rust 24.65% TypeScript 0.40% CSS 42.50% Makefile 3.80% HTML 0.36% Smithy 1.06%

examples's Introduction

wasmCloud Examples

Example actors, capability providers, and other demonstrations

Actors

The following actors run as WebAssembly on wasmCloud hosts.

Example Description OCI Reference
(refer to example for latest version)
animal-image-downloader An actor that receives messages and makes HTTP requests, downloading a picture of an animal to a blobstore wasmcloud.azurecr.io/animal-image-downloader
echo An actor that listens on an HTTP port and returns a JSON payload describing the incoming request wasmcloud.azurecr.io/echo
echo-messaging An actor that listens on a message broker topic and replies wasmcloud.azurecr.io/echo-messaging
hello Canonical "hello world" actor that listens on an HTTP port and replies with a greeting wasmcloud.azurecr.io/hello
kvcounter An actor that uses the key-value store to increment a counter and return a value for every HTTP request it receives wasmcloud.azurecr.io/kvcounter
logging An actor that demonstrates the builtin logging capability provider wasmcloud.azurecr.io/logging
message-pub An actor that demonstrates receiving HTTP requests and publishing the request body as a message wasmcloud.azurecr.io/message-pub
random An actor that demonstrates the builtin random number generation capability provider wasmcloud.azurecr.io/random
todo-sql An todo-application using sql database, https server (with TLS), logging, and numbergen (unpublished)
todo An todo-application using keyvalue store, http server, and logging (unpublished)
xkcd A application that generates xkcd comics wasmcloud.azurecr.io/xkcd
ifconfig A tinygo actor that will return the external IP address of your http client (unpublished)

Interfaces

The following example interfaces are defined by Smithy models.

Example Description Capability contract Rust crate
payments A simple interface for a payments capability provider (used in the Creating an Interface tutorial) wasmcloud:example:payments wasmcloud-examples-payments
runner A simple interface with a single 'Run' method wasmcloud:example:runner wasmcloud-examples-runner
timing A simple interface for retrieving the current timestamp from the host wasmcloud:timing wasmcloud-interface-timing

Capability providers

Providers of capabilities for wasmCloud actors

Example Description Capability contract OCI Reference
factorial A capability provider that computes factorial of a number wasmcloud:example:payments wasmcloud.azurecr.io/factorial
fakepay A simple payment provider, used in the Creating a capability provider tutorial wasmcloud:example:fakepay wasmcloud.azurecr.io/fakepay
timing An implementation of the wasmcloud:timing capability contract wasmcloud:timing

Applications

Example Description
petclinic A WebAssembly and wasmCloud-based reimagining of the classic Spring Boot microservices Pet Clinic. The wasmCloud Pet Clinic consists of multiple actors, and uses a relational database capability provider and an http server capability provider.

examples's People

Contributors

stevelr avatar autodidaddict avatar brooksmtownsend avatar thomastaylor312 avatar jclmnop avatar connorsmith256 avatar billyoung avatar aish-where-ya avatar snyk-bot avatar ks2211 avatar jordan-rash avatar stuartharris avatar mattwilkinsonn avatar ricochet avatar attriaayush avatar jcuffe avatar lachieh avatar matsbror avatar rovast avatar snnsnn avatar dependabot[bot] avatar kamojiro avatar wasmcloud-automation avatar

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.