Skip to content

Installation

Install Chakshu via Homebrew (macOS & Linux) or build the single Go binary from source.

Homebrew (macOS & Linux)

brew install qdevmahesh/tap/chakshu

Confirm the binary runs:

chakshu --help

Build from source

The module path in go.mod is chakshu, so building from source uses a git clone plus go build.

git clone https://github.com/qdevmahesh/chakshu.git
cd chakshu
go build -o chakshu ./cmd/chakshu

The same build is available through the Makefile:

make build

make build compiles with CGO_ENABLED=0 and writes ./chakshu. Confirm the binary runs:

./chakshu --help

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.

cd web
npm install
npm run dev

npm run dev starts the Next.js dev server at http://localhost:3000. Production assets are produced with:

cd web
npm run build

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

python3 -m pip install -r docs-site/requirements.txt
make docs-serve

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.