Installation¶
Install Chakshu via Homebrew (macOS & Linux) or build the single Go binary from source.
Homebrew (macOS & Linux)¶
Confirm the binary runs:
Build from source¶
The module path in go.mod is chakshu, so building from source uses a git clone plus go build.
The same build is available through the Makefile:
make build compiles with CGO_ENABLED=0 and writes ./chakshu. Confirm the binary runs:
You can copy chakshu onto your PATH if you want to run chakshu instead of ./chakshu. The examples in this site use ./chakshu from the repository directory.
Tagged releases¶
Pushing a tag that matches v* runs .github/workflows/release.yml. That workflow builds the web assets, cross-compiles the four Linux and macOS binaries listed in Prerequisites, writes checksums.txt, and uploads them to a draft GitHub Release.
Check Releases for a published release. If none is published, build from source.
Optional: web dashboard development¶
Skip this if you only want to run Chakshu. The embedded UI is already in the repository.
npm run dev starts the Next.js dev server at http://localhost:3000. Production assets are produced with:
npm run build writes the static export and copies it to internal/ui/dist/ so the next go build embeds it. CI runs npm ci from web/ instead of npm install.
Optional: documentation site¶
Open http://127.0.0.1:8000. How the live site is published is documented in Publish this site.
Next step¶
Quick start starts the watcher and the dashboard.