update readme

This commit is contained in:
Quentin 2025-02-22 13:00:03 +01:00
parent eb25392c87
commit 9cf25a37f1
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -6,8 +6,18 @@
GOOS=wasip1 GOARCH=wasm go build -o main.wasm
```
*Note: wasip1 means WASI preview1. As of 2025-02-22 WASI preview2 is not supported yet by golang - but it's available in wasmtime.*
## Run
```bash
wasmtime main.wasm env
```
## Next targets
- [ ] Make sure that we can build a `hugo` website with wasmtime (requires to bind folders)
- [ ] Run this `hugo.wasm` file programatically from Rust
- [ ] Create a simple webservice (without auth or any bells and whistle) in Rust that takes a public git URL, run git clone, then build the website by calling the WASM file on it
- [ ] Publish on S3 this website
- [ ] Integrate this workflow in Guichet with appropriate permission checking and features (support authenticated git repositories for example)