Single Page Application utilizing Web Assembly (spasm)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
teknomunk 9e3699021d
Update source link, correctly handle line splits in fd_write
1 year ago
LICENSE Initial commit 1 year ago
README.md Update 1 year ago
build.sh Initial commit with code 1 year ago
dom.c Silence debug 1 year ago
dom.h Add debug flag for e() to glue.js, make sure event handlers get released duing dom_free() 1 year ago
glue.js Update source link, correctly handle line splits in fd_write 1 year ago
host.c Add generic handler support 1 year ago
host.h add a(), add dom_get_child_count() and dom_get_child(), update dom_get_element_by_id() to return NULL if the element does not exist 1 year ago
index.shtml Add dom helper functions, make frontend wasm include hash as part of query to prevent the browser cache from using an older version 1 year ago
ssi.rb Add dom helper functions, make frontend wasm include hash as part of query to prevent the browser cache from using an older version 1 year ago

README.md

spasm

Single Page Application utilizing Web Assembly (spasm)

Usage

  • Add as submodule: git submodule add https://gitea.polaris-1.work/teknomunk/spasm.git src/spasm
  • Build frontend.wasm, place in public folder
  • Run src/spasm/build.sh path/to/public/folder during build

Features

  • DOM access
  • arbitrary javascript execution with js()