@vdmkotai/azri
v0.3.0
Published
AI-powered CLI that turns PRs and repos into beautiful, shareable HTML explainers.
Maintainers
Readme
azri
AI-powered CLI that turns PRs and repos into beautiful, shareable HTML explainers.
This package ships the azri command-line interface. The bot, renderer, and core
pipeline live in the main Azri repository.
Requirements
- Bun
>= 1.1.0on yourPATH. The published binary is a Bun-targeted JS bundle with#!/usr/bin/env bun, not a standalone executable.
Install
bun install -g @vdmkotai/azri
# or pin the current release
bun install -g @vdmkotai/[email protected]
# or
npm install -g @vdmkotai/azri
npm install -g @vdmkotai/[email protected]
# or
pnpm add -g @vdmkotai/azri
pnpm add -g @vdmkotai/[email protected]Quickstart
Explain a repo (current working directory):
export ANTHROPIC_API_KEY=sk-ant-...
azri reportExplain a single GitHub pull request:
export GITHUB_TOKEN=ghp_... # optional for public repos
azri pr https://github.com/owner/repo/pull/123Explain a local diff between two refs:
azri diff --base main --head HEADRun azri --help for the full command list and azri <command> --help for
per-command flags. azri --version prints the installed version.
Provider selection
The CLI supports Anthropic Claude (default), OpenAI, and Google Gemini. Set the matching env var:
ANTHROPIC_API_KEY— Claude (default provider)OPENAI_API_KEY— OpenAIGOOGLE_API_KEY— Gemini
Use --provider anthropic|openai|google to pick explicitly, or --dry-run to
estimate cost without making any LLM calls.
Links
- Source, docs, and issue tracker: https://github.com/vdmkotai/azri
- Changelog: https://github.com/vdmkotai/azri/releases
License
Apache-2.0. See LICENSE.
