No description
Find a file
2025-02-22 13:00:03 +01:00
.circleci Upgrade to Go 1.24 2025-02-12 22:01:25 +01:00
.github Upgrade to Go 1.24 2025-02-12 22:01:25 +01:00
bufferpool all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
cache Fix some server/watch rebuild issues 2025-02-01 16:29:14 +01:00
codegen all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
commands initial fork commit 2025-02-22 12:54:05 +01:00
common releaser: Prepare repository for 0.145.0-DEV 2025-02-18 12:29:51 +00:00
compare all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
config config/allconfig: Deprecate :filename and :slugorfilename tokens 2025-02-17 12:06:32 +01:00
create create: Respect --noBuildLock in hugo new 2025-01-06 17:59:24 +01:00
deploy all: Remove deprecated build tags 2025-02-08 10:29:42 +01:00
deps Fix NPX issue with TailwindCSS v4 2025-01-07 13:12:08 +01:00
docs resources/page: Revise the new contentbasename permalinks tokens 2025-02-17 09:41:49 +01:00
docshelper Add all config to docshelper.json 2023-08-07 13:42:54 +02:00
helpers helpers: Add Chroma styles to docs.yaml 2025-02-08 00:30:05 +01:00
htesting tpl/tplimpl: Simplify some test assertions 2025-01-16 11:29:24 +01:00
hugofs Fix same resource file published more than once 2024-12-27 18:55:24 +01:00
hugolib Fix --printPathWarnings when site calls templates.Defer 2025-02-19 12:59:40 +01:00
identity Fix some server/watch rebuild issues 2025-02-01 16:29:14 +01:00
internal internal/warpc: Enable KaTeX mhchem extension 2025-02-14 10:04:15 +01:00
langs Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
lazy Add js.Batch 2024-12-12 21:43:17 +01:00
livereload livereload: Improve the livereload script build and update to v4.0.2 2024-05-10 22:33:08 +02:00
markup markup/goldmark: Fix panic on empty Markdown header 2025-02-18 11:12:39 +01:00
media Add ContentTypes to config 2025-02-08 10:31:15 +01:00
metrics Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
minifiers minifiers: Add failing test for upstream bug 2024-11-23 15:11:09 +01:00
modules modules: Add GOAUTH to module config 2025-02-13 15:01:28 +01:00
navigation content adapter: Add support for menus in AddPage 2024-05-30 11:29:21 +02:00
output output: Fix docshelper template lookup order for AMP pages 2024-08-28 13:05:28 +02:00
parser parser: Handle org-mode filetags as slice 2025-02-09 22:40:28 +01:00
publisher all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
related all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
releaser Revert "Adjust Circleci workflow to make the Docker images build" 2024-08-26 15:56:39 +02:00
resources resources/page: Revise the new contentbasename permalinks tokens 2025-02-17 09:41:49 +01:00
scripts Upgrade to Go 1.24 2025-02-12 22:01:25 +01:00
snap snap: Always package latest stable version of Go 2025-01-06 12:50:40 -08:00
source resources/page: Revise the new contentbasename permalinks tokens 2025-02-17 09:41:49 +01:00
testscripts commands: Use punctuation consistently in short description 2025-02-13 08:40:26 +01:00
tpl Fix Position for passthrough hooks 2025-02-17 12:23:49 +01:00
transform Fix RSS with baseURL with sub dir when render hooks is enabled 2025-02-03 19:00:12 +01:00
watcher all: Fix typos and some URLs 2024-02-18 12:16:30 +01:00
.dockerignore Support Docker args TAGS, WORKDIR, CGO; speed up repetitive builds 2019-02-22 11:53:17 -08:00
.gitattributes .gitattributes: Exclude *.svg from CRLF/LF conversion 2018-07-09 21:06:15 -06:00
.gitignore images: Rework the golden tests 2025-01-08 17:11:27 +01:00
.gitmodules Remove the theme submodule from /docs 2017-08-10 14:54:19 +02:00
.mailmap Add .mailmap to get a more correct author log 2015-01-28 16:50:36 +01:00
check_gofmt.sh Create default link and image render hooks 2024-01-30 20:12:19 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2025-02-07 22:25:19 +01:00
Dockerfile Build without the deploy feature by default 2024-10-30 11:46:40 +01:00
go.mod build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 2025-02-17 12:08:14 +01:00
go.sum build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 2025-02-17 12:08:14 +01:00
hugoreleaser.env releaser: Prepare repository for 0.145.0-DEV 2025-02-18 12:29:51 +00:00
hugoreleaser.yaml release: Add withdeploy deb extended archives 2024-12-22 16:55:52 +01:00
LICENSE Use Apache License without modification 2024-04-23 09:15:29 +02:00
magefile.go mage: Simplify magefile 2025-02-03 18:34:16 +01:00
main.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
main_test.go all: Typo fixes 2024-03-15 17:25:52 +01:00
main_withdeploy_off_test.go all: Remove deprecated build tags 2025-02-08 10:29:42 +01:00
main_withdeploy_test.go all: Remove deprecated build tags 2025-02-08 10:29:42 +01:00
merge-release.sh Add merge helper 2020-10-08 19:32:53 +02:00
pull-docs.sh Allow the pull-docs script to pull other than master 2017-09-23 10:13:40 +02:00
README.md update readme 2025-02-22 13:00:03 +01:00
README.old.md initial fork commit 2025-02-22 12:54:05 +01:00
SECURITY.md SECURITY.md: Update link to security model 2024-04-22 13:04:53 +02:00
watchtestscripts.sh all: Fix typos 2024-02-11 13:51:33 +02:00

hugo-wasm

Compile

GOOS=wasip1 GOARCH=wasm go build -o main.wasm

Note: wasip1 means WASI preview1. As of 2025-02-22 WASI preview2 is not supported yet by golang - but it's available in wasmtime.

Run

wasmtime main.wasm env

Next targets

  • Make sure that we can build a hugo website with wasmtime (requires to bind folders)
  • Run this hugo.wasm file programatically from Rust
  • Create a simple webservice (without auth or any bells and whistle) in Rust that takes a public git URL, run git clone, then build the website by calling the WASM file on it
  • Publish on S3 this website
  • Integrate this workflow in Guichet with appropriate permission checking and features (support authenticated git repositories for example)