Thanks for considering a contribution — bug reports, feature ideas, and pull requests are all welcome.
h3 studio only makes sense together with two things it doesn't vendor as buildable source:
- h3.c, checked out as the
h3csubmodule (git submodule update --init --recursive). - A local MiniMax-H3 checkpoint to point it at (see the README's Installation section).
You'll need both to run the app end to end, but UI-only or server-logic changes can often be reviewed from a diff without a full model download — say so in your PR if that's the case.
Open a GitHub issue with:
- What you did and what you expected vs. what happened.
- Your macOS version and chip (M3-class / M5-class).
- The relevant slice of the Terminal panel's output (Timing tab included, if it's a performance issue) — most bugs in this app show up there first.
-
Fork the repo and create a branch off
main. -
Keep the diff focused — one fix or feature per PR is easier to review than several bundled together.
-
Match the existing style: the Go server is stdlib-only (see
server/), and the frontend is plain HTML/CSS/JS with no build step (seestatic/; the scripts share globals and load in the orderindex.htmllists them). Please don't introduce a bundler, framework, or Go dependency without discussing it in an issue first. Build DOM with theel()helper — neverinnerHTMLwith data. -
Before opening a PR, run:
gofmt -l main.go server go vet ./... go test -race ./... node --test static/canvas.test.jsCI runs the same checks plus
staticcheck. Server tests don't need the model or the h3 binary. -
For UI changes, actually click through the flow in a browser (
--devservesstatic/from disk, so a refresh picks up edits) rather than relying on a visual read of the diff. Changes to how renders run should be checked with a small real render too.
- Describe why the change is needed, not just what changed.
- Link the issue it fixes, if any.
- Small, incremental PRs get reviewed faster than large ones.
This repository only vendors h3.c as a git submodule; it doesn't fork or
patch it. If your change requires editing the inference engine itself (Metal
kernels, the CLI, model loading, etc.), that belongs in the
h3.c repository, not here.
By contributing, you agree that your contributions will be licensed under the project's MIT License.