A barebones template using Haskell miso.
Find a file Use this template
2025-08-26 12:02:06 -07:00
.envrc initial commit 2025-08-26 12:02:06 -07:00
.gitignore initial commit 2025-08-26 12:02:06 -07:00
cabal.project initial commit 2025-08-26 12:02:06 -07:00
flake.lock initial commit 2025-08-26 12:02:06 -07:00
flake.nix initial commit 2025-08-26 12:02:06 -07:00
Main.hs initial commit 2025-08-26 12:02:06 -07:00
README.md initial commit 2025-08-26 12:02:06 -07:00
website.cabal initial commit 2025-08-26 12:02:06 -07:00

udon

a barebones template for miso.

hacking

by default, nix build will compile a WASM-targeting binary. However, the WASM DOM abstraction (JSaddle) is unusable on Firefox, so efforts are being made to build with GHCjs instead. This has proved difficult for the Nix package but is possible in a devshell.

Simply run nix develop, then

cabal update && cabal build --allow-newer

Then

http-server $(cabal list-bin website --allow-newer).jsexe