pnpm install
pnpm build
pnpm testNode.js ≥ 20 and pnpm are required. For integration tests you also need FFmpeg and Playwright Chromium:
sudo apt-get install -y ffmpeg # Linux
brew install ffmpeg # macOS
pnpm --filter @git-glimpse/core exec playwright install chromium --with-depspackages/
core/ — Core library: diff analysis, trigger logic, script generation, recording, publishing
action/ — GitHub Action wrapper (main action + check-trigger companion)
cli/ — CLI for local use (`npx git-glimpse`)
check-trigger/ — Lightweight companion action for early trigger evaluation
examples/ — Example project configurations
tests/ — Integration and unit tests
pnpm test # unit tests (fast, no external deps)
pnpm run test:integration # Playwright + FFmpeg (no API key needed)
pnpm run test:llm # full pipeline with real LLM (requires ANTHROPIC_API_KEY)- Core logic lives in
packages/core/src/ - Action entrypoint is
packages/action/src/index.ts - Check-trigger entrypoint is
packages/action/src/check.ts - After changing action source, rebuild the dist:
pnpm buildinpackages/action
- Features:
feat/<name> - Bug fixes:
fix/<name> - Releases:
release/v<version>
- Fork the repo and create a branch from
main - Make your changes with tests where applicable
- Run
pnpm testand confirm everything passes - Open a PR with a clear description of what changed and why
Please include:
- What you expected to happen
- What actually happened
- Your
git-glimpse.config.ts(redact any secrets) - The GitHub Actions log output if relevant