I have made a super rudimentary version of this project using wasm, and it was taken almost entirely from go-wasm-pdfcpu.
To build yourself, run
git clone https://github.com/bwiggs/go-nexrad.git
cd go-nexrad && cd cmd && cd nexrad-render
GOOS=js GOARCH=wasm go build -o nexrad.wasm
I struggled a while on Go 1.18 because I was getting some errors, but then I downgraded to 1.12 and it worked fine. Specifically go version go1.12 darwin/amd64.
Then put the binary under the webapp directory I have made:
git clone https://github.com/SteepAtticStairs/go-nexrad.git
cd go-nexrad && cd webapp
I have made a super rudimentary version of this project using
wasm
, and it was taken almost entirely from go-wasm-pdfcpu.To build yourself, run
I struggled a while on Go 1.18 because I was getting some errors, but then I downgraded to 1.12 and it worked fine. Specifically
go version go1.12 darwin/amd64
.Then put the binary under the webapp directory I have made:
These instructions are just if you want to build it yourself. A live demo of what I (but mostly the author of go-wasm-pdfcpu) have done can be found here: https://steepatticstairs.github.io/go-nexrad/webapp/
I plan to do a lot more cleanup.
Andrew