All Projects → nlepage → Golang Wasm

nlepage / Golang Wasm

Licence: mit
Playing around with Go wasm support

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Golang Wasm

Wasmjit
Small Embeddable WebAssembly Runtime
Stars: ✭ 1,063 (+1317.33%)
Mutual labels:  wasm
Blazor Wasm Identity Grpc
Blazor WASM, IdentityServer4, Kestrel Web Server, Entity Framework Code First SQLite Database with Multiple Roles, Additional User Claims & gRPC with Roles Authorization.
Stars: ✭ 61 (-18.67%)
Mutual labels:  wasm
Universal Zopfli Js
JavaScript binding to Zopfli with WebAssembly.
Stars: ✭ 70 (-6.67%)
Mutual labels:  wasm
Hpcc Js Wasm
HPCC-Systems Web-Assembly (JavaScript)
Stars: ✭ 56 (-25.33%)
Mutual labels:  wasm
Vxformgenerator
The library contains a component, that nests itself into the Blazor EditForm instead of a wrapper around the EditForm. The component is able to generate a form based on a POCO or a ExpandoObject. Because of this architecture the library provides the developer flexibility and direct usage of the EditForm.
Stars: ✭ 60 (-20%)
Mutual labels:  wasm
Wasmer Python
🐍🕸 WebAssembly runtime for Python
Stars: ✭ 1,131 (+1408%)
Mutual labels:  wasm
Hvue
A GopherJS & go/wasm binding for Vue.js
Stars: ✭ 50 (-33.33%)
Mutual labels:  wasm
Awesome Web Audio
A list of resources and projects to help learn about audio
Stars: ✭ 73 (-2.67%)
Mutual labels:  wasm
Waykichain
Public Blockchain as a Decentralized Finance Infrastructure Service Platform
Stars: ✭ 1,117 (+1389.33%)
Mutual labels:  wasm
Web Audio Javascript Webassembly Sdk Interactive Audio
🌐 Superpowered Web Audio JavaScript and WebAssembly SDK for modern web browsers. Allows developers to implement low-latency interactive audio features into web sites and web apps with a friendly Javascript API. https://superpowered.com
Stars: ✭ 68 (-9.33%)
Mutual labels:  wasm
Proxy Wasm Cpp Sdk
WebAssembly for Proxies (C++ SDK)
Stars: ✭ 55 (-26.67%)
Mutual labels:  wasm
Sql.js
A javascript library to run SQLite on the web.
Stars: ✭ 9,594 (+12692%)
Mutual labels:  wasm
Dockerdot
🐳 dockerdot shows dockerfile dependenciy graph. This is useful to understand how build dockerfile. This uses Go WebAssembly + BuildKit package.
Stars: ✭ 65 (-13.33%)
Mutual labels:  wasm
Redshirt
🧑‍🔬 Operating system
Stars: ✭ 1,082 (+1342.67%)
Mutual labels:  wasm
Veracruz
Main repository for the Veracruz privacy-preserving compute project.
Stars: ✭ 71 (-5.33%)
Mutual labels:  wasm
Aioli
Framework for building fast genomics web tools with WebAssembly and WebWorkers
Stars: ✭ 51 (-32%)
Mutual labels:  wasm
Disable Webassembly
Browser hacks to disable WebAssembly (WASM)
Stars: ✭ 63 (-16%)
Mutual labels:  wasm
Wagi
Write HTTP handlers in WebAssembly with a minimal amount of work
Stars: ✭ 75 (+0%)
Mutual labels:  wasm
Wasi Lab
Some WASI experiments 🧪☣️☠️
Stars: ✭ 72 (-4%)
Mutual labels:  wasm
Muze
Composable data visualisation library for web with a data-first approach now powered by WebAssembly
Stars: ✭ 1,153 (+1437.33%)
Mutual labels:  wasm

Usage

Use the docker image nlepage/golang_wasm:nginx to run a Go program as WebAssembly binary in browser.

Example Dockerfile:

FROM golang:1.11 AS builder

COPY ./ src/app/
RUN GOOS=js GOARCH=wasm go build -o test.wasm app

FROM nlepage/golang_wasm:nginx

COPY --from=builder /go/test.wasm /usr/share/nginx/html/

Build and run then visit http://localhost:32XXX/wasm_exec.html

Examples

Find out about the examples in examples/ or use the image nlepage/golang_wasm:examples to run theses with:

docker container run -dP nlepage/golang_wasm:examples

# Find out which host port is used
docker container ls

Visit http://localhost:32XXX/, and follow the links.

References

Go 1.11: WebAssembly for the gophers

Go WebAssembly: Binding structures to JS references

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].