You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tech-demo demonstrates a web frontend application written in Go and TypeScript
following the
Islands of Interactivity
architectural approach to building highly maintainable modern web applications using
a cutting-edge tech stack:
Templating
Templ for fast and convenient
server-side templating in Go. 🖨️
Once the CA certificates are installed, create the certificate and key files:
mkcert islands.demo
Finally, run the server:
TLS_CERT="islands.demo.pem" TLS_KEY="islands.demo-key.pem" go run ./cmd/server -host islands.demo:8080
Production mode
# First, build all generated files.
./buildall.sh
# Build server
go build -o server ./cmd/server
# Run server
TLS_CERT="path/to/cert.pem" TLS_KEY="path/to/key.pem" ./server -compress -host hostaddr
Downloading an Icon
This repository uses a subset of
bootstrap-icons.
To copy an icon from the CDN and make it available in the public bundle,
use:
# This will download the person.svg bootstrap icon.
ICON=person bun run download:icon
About
An HTMX, Go, Templ, Templier, Shoelace & WebComponents demo demonstrating the islands architecture.