Build from source
Most users should download a release. Building is intended for developers or people who need to inspect or customize the code.
The backend is Go; its current module declares Go 1.27.1. The separately developed Web UI is built with React, TypeScript and Vite and is embedded in normal backend distributions.
Build the backend
Section titled “Build the backend”git clone https://github.com/yuhaiin/yuhaiin.gitcd yuhaiingo versionmake yuhaiinThe Makefile’s yuhaiin target builds the desktop command, using generated tags and release metadata. Building platform-specific artifacts may require C compilers, platform SDKs and cross-toolchain installation. See the backend CI build documentation for current targets and constraints.
For the frontend source:
git clone https://github.com/yuhaiin/yuhaiin-react.gitcd yuhaiin-reactnpm installnpm run buildFor development, npm run dev starts the Vite server, but this does not replace a running backend.
Build the documentation site
Section titled “Build the documentation site”This separate repository uses Astro + Starlight:
git clone https://github.com/yuhaiin/docs.gitcd docsnpm installnpm run devnpm run buildThe published site lives at /documents/. Do not use old release commands targeting only amd64v3 unless that CPU target is deliberate.