autodidaddict/echo-example

wascap

Public
wasmer run autodidaddict/echo-example

Waxosuit Echo Example

This example WebAssembly module provides a demonstration of a Wasm module built according to the Wascap specification. You can run this module using Waxosuit.

This sample returns the incoming request as a JSON object so you can verify that the request/response pattern is working properly in your WebAssembly module. For example, when this is running on port 8080:

$ curl localhost:8080/foo/bar?a=b | jq
{
  "method": "GET",
  "path": "/foo/bar",
  "query_string": "a=b",
  "headers": {
    "accept": "*/*",
    "host": "localhost:8080",
    "user-agent": "curl/7.58.0"
  },
  "body": []
}

This WebAssembly module is signed with multiple capabilities, but you will need to provide at least the HTTP server capability for this module to work properly.

Signature

This module has been signed by the wascap CLI, ensuring that the module identity and the identity of the issuer are indisputable. If you want to verify the authenticity of this module, you can use wascap caps <target> from your terminal. You should see the following information:

╔════════════════════════════════════════════════════════════════════════════╗
║                                WASCAP Module                               ║
╠═══════════════╦════════════════════════════════════════════════════════════╣
║ Account       ║   ABHUOCYPSFAYVQXEVMOSGQKABFF4LUS35EFE3VCEG3BIEJBGI5GUOCUN ║
╠═══════════════╬════════════════════════════════════════════════════════════╣
║ Module        ║   MBY3SLBLMVLQY7KBULCUK3L2GVPPFY5AIWF3P5UBM2OON6NE3HW4JKRJ ║
╠═══════════════╬════════════════════════════════════════════════════════════╣
║ Expires       ║                                                      never ║
╠═══════════════╬════════════════════════════════════════════════════════════╣
║ Can Be Used   ║                                                immediately ║
╠═══════════════╩════════════════════════════════════════════════════════════╣
║                                Capabilities                                ║
╠════════════════════════════════════════════════════════════════════════════╣
║ K/V Store                                                                  ║
║ Messaging                                                                  ║
║ HTTP Server                                                                ║
╠════════════════════════════════════════════════════════════════════════════╣
║                                    Tags                                    ║
╠════════════════════════════════════════════════════════════════════════════╣
║ None                                                                       ║
╚════════════════════════════════════════════════════════════════════════════╝

If the account public key or the module public key do not match what you see after downloading/installing this module, then the module has been tampered with.

An example echo server built for Waxosuit


Github
More packages
Javascript echo server using winter-js.
A very basic echo
Robert Aboukhalil
Robert Aboukhalil
Robert Aboukhalil
Robert Aboukhalil
A simple HTTP echo server using WinterJS - responds with request information.
test echo program
Stas Kelvich
Stas Kelvich
Stas Kelvich
Stas Kelvich
test echo program
Stas Kelvich
Stas Kelvich
Stas Kelvich
Stas Kelvich
A simple echo server implemented with WAGI
Christoph Herzog
Christoph Herzog
Christoph Herzog
Christoph Herzog
Example of the Tantivy CLI running on WASIX
This is an example game
Syrus Akbary
Syrus Akbary
Syrus Akbary
Syrus Akbary
an example wasmer package
Rodrigo Andrés Vilina
Rodrigo Andrés Vilina
Rodrigo Andrés Vilina
Rodrigo Andrés Vilina
denver/example js worker

Making software universally accessible