zig-play icon indicating copy to clipboard operation
zig-play copied to clipboard

[README] Please update self-hosting instructions

Open rprimus opened this issue 2 weeks ago • 1 comments

Sat 27 Dec 2025 08:21:57 GMT

Hi,

Thanks for continuing to support this project.

After reading through all commits, zvm and zrun.sh are now required. Please:

  1. include zrun.sh in this repo. If it contains private details, include info on what it does (so it can be replicated);
  2. update README.md to include instructions to self host (including requirements of zvm and zrun.sh);
  3. include instructions for using curl (including new (required) header "X-Zig-Version").

P.S. To get this to (initially) render on localhost, I needed to add to main.go (as suggested here):

router.NotFound = http.FileServer(http.Dir("static"))

rprimus avatar Dec 27 '25 08:12 rprimus