Verdigris is a demo of a CoAP GUI run in the browser communicating via WebSockets.

It aims to become usable as a generic CoAP client (possibly with some limited server functionality) that can be used from the browser for exploration, leaning and debugging.

Eventually it should be usable as a replacement for the venerable [Copper] browser plug-in that got overtaken by the browser plugin APIs. Unlike Copper, this runs purely as a website, and can not talk CoAP-over-UDP. Instead, it relies on a public or local cross proxy that is accessible using CoAP-over-WS, or possibly other browser-accessible transports.

Currently, it provides three distinct modes of operation:

Run and host using cargo build --target wasm32-unknown-unknown --release && wasm-bindgen target/wasm32-unknown-unknown/release/verdigris.wasm --out-dir public/ --web && python3 -m http.server -d ./public 8080, and go to https://localhost:8080/. The Python part can be replaced with any static web server. Replacing the direct use of [wasm-bindgen CLI] with [trunk] or [wasm-pack] only needs minor adjustments in the provided index.html file; see the project's history for some variations that have been used in the past.

The latest version is available online at https://chrysn.gitlab.io/verdigris/.