#wasi #wasm #bus #fuse

wasm-bus-fuse

WebAssembly fuse bus interface

4 releases (2 stable)

1.1.0 Mar 6, 2022
1.0.0 Feb 1, 2022
0.2.0 Jan 8, 2022
0.1.0 Jan 2, 2022

#1155 in Filesystem

Download history 7/week @ 2023-08-18 9/week @ 2023-08-25 7/week @ 2023-09-01 14/week @ 2023-09-08 14/week @ 2023-09-15 6/week @ 2023-09-22 8/week @ 2023-09-29 8/week @ 2023-10-06 9/week @ 2023-10-13 11/week @ 2023-10-20 14/week @ 2023-10-27 10/week @ 2023-11-03 12/week @ 2023-11-10 13/week @ 2023-11-17 26/week @ 2023-11-24 10/week @ 2023-12-01

63 downloads per month
Used in 2 crates (via tokera)

MIT/Apache

170KB
2.5K SLoC

WASM Fuse Bus

The WASM Fuse Bus allows WebAssembly modules to expose a file system to any runtime that supports the WASM General Purpose Bus

Reference Implementation

A reference implementation exists here: https://github.com/tokera-com/ate/blob/master/tokera/src/bus/main.rs

However this remains quite a low-level integration, once macros are defined that can emit the code for this interface it will be superceded by a similar implementation.

Backend Implementations

In order to implment this BUS on your runtime one needs to chain to the ABI exposed in this library and implement the functions.

For a reference implementation see below:

https://github.com/tokera-com/ate/tree/master/tokterm/src/bus

Testing

You can test your WASI program by uploading it to wapm.io and then heading over to the Tokera Shell

https://tokera.sh

Dependencies

~3.5–5.5MB
~98K SLoC