Please install mise.
It is needed for all use of this repository.
Use mise run fmt and mise run check to run formatters and checkers.
Run the end-to-end tests using Chrome:
mise run ws-e2e-chromeIn a separate terminal start OpenObserve (o2) and leave it running.
mise run o2Then start the fetch the ONNX models and run the server
mise run download-models
mise run build-modules
mise run ws-serverScan the QR-Code with a smart-phone camera and open the URL.
Select the module to run in the drop-down, then click "Run module" button.
Note: The WASM build disables WebAssembly reference types, so it can still load on older browsers such as Chrome 95.
In a separate terminal, open the OpenObserve UX using:
mise run open-o2The server logs appear in the Logs section.
The module list is dynamically populated from the modules in services/ws-modules.
Each module must be a directory pkg containing a package.json that defines a main which contains a JavaScript file
that can load and run the module.
Most of the module are built from Rust using wasm-pack build --target web.
The module pydata1 uses pyodide to run a Python script.
This repository is part of a grant managed by the School of EECMS, Curtin University.
ABN 99 143 842 569.
CRICOS Provider Code 00301J.
TEQSA PRV12158