Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
/ gruid-js Public archive

A gruid Driver using syscall/js and wasm and HTML5 canvas.

License

Notifications You must be signed in to change notification settings

anaseto/gruid-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrated to https://codeberg.org/anaseto/gruid-js because of new 2FA requirement

gruid-js

pkg.go.dev godocs.io

The gruid-js module provides a gruid Driver for making wasm gruid applications that run in the browser. The module's package is called js.

To build a browser application, you have to build it with the following variables:

GOOS=js GOARCH=wasm go build -o app.wasm /path/to/your/application

Then, you have to serve using an http server a directory containing the app.wasm file along with an index.html file such as the basic example one in files/index.html (the html page containing the canvas of your application), and the $(go env GOROOT)/misc/wasm/wasm_exec.js file of your Go distribution.

About

A gruid Driver using syscall/js and wasm and HTML5 canvas.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published