1 KiB
1 KiB
Webtools
This is a static site for a set of tools available on the web. The root of the site is located in "site", with index.html holding a list of available tools. Within each subdirectory of "site" is a separate tool. Each tool is self-contained with it's own index.html, CSS and JavaScript. Multipes of these files can be added if necessary. Note that each HTML has a standard header, with a typical title convension and importing "pico.min.css".
Some tools can include a WASM file for more complex tasks. The WASM targets are built from Go files, with each cmd located as a sub directory in the "cmds" directory. Each one is built as a standalone WASM target.
To build:
- Run
build.wasmto build the WASM targets. Additional targets will need to be added to this Make target - Run
buildto build both the WASM and prepare the site. The site will be available in a "target" directory. - Run
devto build the site and run a dev HTML server to test the site on port 8000. The dev server can be killed by sending a SIGINT signal.