Discover Packages
github.com/tinywasm/site
package
module
Version:
v0.0.14
Opens a new window with list of versions in this module.
Published: Jan 28, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
tinywasm/site
Site rendering engine for Go (WASM-friendly).
A lightweight rendering layer built on top of tinywasm/dom, designed to generate web pages with minimal overhead. Provides small, efficient primitives for composing views, routing, and rendering UI structures while keeping WebAssembly binaries tiny and dependency-free.
📚 Documentation
Architecture : High-level overview and design goals.
Modules : Routes and modular structure.
Components : UI building blocks and icons.
Routing : Typed routing and path generation.
Access Control : Security and SSR vs SPA logic.
Assets : Bundling and resource management.
Expand â–¾
Collapse â–´
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Mount configures the server handled by site.
It initializes assetmin and registers all routes.
func RegisterHandlers(handlers ...any ) error
RegisterHandlers registers all handlers with site and crudp
Source Files
¶
Directories
¶
example
Click to show internal directories.
Click to hide internal directories.