Quick Start
Get Reviewflow running in 5 minutes.
Prerequisites
- Node.js 20+
- A GitLab or GitHub account with webhook access
- Claude Code CLI installed and authenticated
1. Install
As a user (recommended)
bash
npm install -g reviewflow
# or
yarn global add reviewflowYou can also run it without installing:
bash
npx reviewflow startAs a contributor
bash
git clone https://github.com/DGouron/review-flow.git
cd review-flow
yarn install
yarn build2. Initialize
Run the interactive setup wizard:
bash
reviewflow initThe wizard walks you through:
- Choosing your platform (GitLab, GitHub, or both)
- Entering your username(s) for @mention filtering
- Scanning for local repositories to register
- Generating webhook secrets automatically
Your configuration is saved to ~/.claude-review/config.json and ~/.claude-review/.env.
Non-interactive mode
Use reviewflow init --yes to accept all defaults. You can also pass --scan-path /path/to/projects to target specific directories.
Add repositories later
Use reviewflow discover to scan for and add new repositories to your existing configuration.
3. Configure webhook
GitLab
- Go to your project → Settings → Webhooks
- Add webhook:
- URL:
https://YOUR_TUNNEL_URL/webhooks/gitlab - Secret token: (shown during
reviewflow init, or runreviewflow init --show-secretsto view) - Trigger: ☑ Merge request events
- URL:
- Click Add webhook
GitHub
- Go to your repo → Settings → Webhooks
- Add webhook:
- Payload URL:
https://YOUR_TUNNEL_URL/webhooks/github - Content type:
application/json - Secret: (shown during
reviewflow init, or runreviewflow init --show-secretsto view) - Events: ☑ Pull requests
- Payload URL:
- Click Add webhook
Expose for webhooks
GitLab/GitHub need to reach your server. Use a tunnel:
bash
# Cloudflare Tunnel (recommended)
cloudflared tunnel --url http://localhost:3847
# Or ngrok
ngrok http 38474. Start & verify
bash
# Start the server
reviewflow start
# Or as a background daemon
reviewflow start --daemon
# Open the dashboard automatically
reviewflow start --openThe server runs at http://localhost:3847 (or your configured port).
Verify your setup
bash
# Check configuration is valid
reviewflow validate
# Check server status
reviewflow status5. Test it!
- Create or open a Merge Request / Pull Request
- Assign yourself as Reviewer
- Open
http://localhost:3847/dashboard/ - Watch the review appear!
Next steps
- Project Configuration - Configure review skills per project
- Deployment Guide - Run in production with systemd
- Architecture - Understand the codebase
Troubleshooting
See Troubleshooting for common issues and CLI diagnostics.