MCPcopy Index your code
hub / github.com/Thinkode/thinkreview-browser-extension

github.com/Thinkode/thinkreview-browser-extension @v2.3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.3.2 ↗ · + Follow
788 symbols 2,127 edges 93 files 325 documented · 41% updated 6d agov2.3.2 · 2026-07-02★ 3314 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🚀 ThinkReview

AI Code Review for GitHub, Bitbucket, GitLab & Azure DevOps

Chrome Web Store Firefox Add-ons Latest Release Rating License: AGPL-3.0 Ollama OpenRouter

AI-powered code reviews for merge requests and pull requests, directly in your browser. Available for Chrome (and other Chromium browsers) and Firefox.

🌐 Website📦 Chrome Web Store🦊 Firefox Add-ons🖥️ Ollama Setup🌐 OpenRouter Setup📖 Docs💬 Contact

ThinkReview - AI Code Review


🎉 Now Open Source!

ThinkReview is a production-ready browser extension that brings AI-powered code reviews to GitHub, Bitbucket, GitLab and Azure DevOps. After months of development, we're excited to open source the extension!

🆕 NEW: Local AI Support with Ollama!

Run code reviews 100% privately on your own hardware with Ollama.
No cloud, no API calls, complete control over your code.
📖 Quick Setup Guide → (30 seconds if model is downloaded)

🌟 Key Stats

  • 🏆 Featured by Chrome Web Store
  • 🦊 FirefoxMozilla Add-ons
  • 🔄 Active Development - Regular updates and improvements (2+ weekly releases on average)
  • 🤖 Multi-Model AI - Advanced cloud models, OpenRouter routing, or local Ollama
  • 📈 Growing Community - Growing user base
  • 📜 Follows recommended practices for Chrome extensions
  • 📦 Check latest releases

✨ Features

🤖 AI-Powered Code Reviews

Choose Your AI Provider:

Provider Privacy Cost Speed Setup
☁️ Cloud AI (Advanced Models) Google Cloud Free tier ⚡ Very Fast None - works instantly
🖥️ Local Ollama 🆕 🔒 100% Local Completely Free Hardware dependent 30 sec setup (if model downloaded)
🌐 OpenRouter Multi-provider routing Usage-based Fast OpenAI-compatible API key + model

Features: - Instant Analysis: Get AI-driven insights on code changes - Security Detection: Automatically identify potential vulnerabilities - Code Quality: Receive suggestions for improvements - Smart Summaries: Quickly understand complex changes - Quality Metrics: Code quality scores and metrics - Suggested Questions: Context-aware follow-up questions

AI Code Review Demo

AI-powered code review in action

💬 AI Copilot

  • Chat with PRs: Ask questions about your pull requests
  • Suggested Questions: Get smart, context-aware queries
  • Deep Dive: Explore code changes interactively

🔧 Platform support (cloud & self-hosted)

Setup guides for every combination below live on the site: thinkreview.dev/docs (same matrix as the Platform setup guides on the docs portal).

Azure DevOps Integration

Seamless Azure DevOps integration

🚀 Quick Start

  • Cloud AI: Zero setup - works instantly after install
  • Local AI: Quick Ollama setup (30 seconds if model is downloaded) for private reviews
  • Hosted Routing: OpenRouter provides API-key based access to models from multiple providers
  • No API Keys: Works out of the box (cloud) or fully local (Ollama)
  • OpenRouter Support: Use your own OpenRouter API key to choose a model via unified routing — setup guide
  • Automatic Detection: Recognizes MR/PR pages instantly
  • Seamless Integration: Doesn't disrupt your workflow

🌍 Multilingual Support

  • Reviews in Your Language: Get code reviews in 20+ languages
  • Automatic Language Detection: Adapts to your preferences

Multilingual Support

Code reviews in your preferred language

⚙️ Flexible Configuration

  • Custom Domains: Works with self-hosted GitLab instances
  • Azure DevOps PAT: Configure personal access tokens for private repos
  • Team Settings: Customize for your organization's needs

Custom Domain Configuration

Configure custom domains and Azure DevOps tokens

🔐 Privacy & Security

  • 🔒 Secure Authentication: Google OAuth
  • 🔐 HTTPS: All requests encrypted
  • 🛡️ No Stored Keys: No API keys in extension code
  • 📊 Minimal Permissions: Only activates on MR/PR pages
  • 🖥️ 🆕 100% Local Option: Use Ollama for completely private reviews - Setup Guide

📦 Installation

From browser stores (recommended)

Chrome, Edge, Brave, and other Chromium browsers

Install from Chrome Web Store

  1. Open the Chrome Web Store listing
  2. Click Add to Chrome (or the equivalent in your Chromium browser)

Firefox

Install from Firefox Add-ons

  1. Open the Firefox Add-ons listing
  2. Click Add to Firefox

Then open any supported GitHub PR, Bitbucket PR, GitLab MR, or Azure DevOps PR to start.

For developers (load unpacked)

# Clone the repository
git clone https://github.com/Thinkode/thinkreview-browser-extension.git
cd thinkreview-browser-extension

# Chromium (Chrome, Edge, …)
# 1. Open chrome://extensions/ (or edge://extensions/, etc.)
# 2. Enable "Developer mode" (toggle in top right)
# 3. Click "Load unpacked" and select this directory

# Firefox
# 1. Open about:debugging#/runtime/this-firefox
# 2. Click "Load Temporary Add-on" and select manifest.json in this directory

Choose Your AI Provider (Optional)

Cloud AI (Default) - Works immediately, no setup required
Local AI with Ollama - For 100% private reviews: 1. Follow the Ollama Setup Guide (30 seconds if model is downloaded) 2. We recommend Gemma 4 for best results with Ollama; Codestral and gpt-oss are solid alternatives. 3. Open extension popup → Settings → Select "Local Ollama" 4. That's it! Your reviews now run locally

OpenRouter

Use your own OpenRouter API key to run PR reviews and copilot chat with any supported model (300+ via unified routing):

  1. Create an API key at openrouter.ai/keys
  2. Open the extension popup → Settings → select OpenRouter as the AI provider
  3. Paste your API key, pick a model from the list, and save
  4. Open a pull/merge request — reviews and chat use your selected OpenRouter model

Requirements: An OpenRouter account with credits; you bring your own key (BYOK). The extension calls https://openrouter.ai/api/v1 directly from your browser.


🎯 Usage

  1. Navigate to any GitHub pull request, Bitbucket pull request, GitLab merge request or Azure DevOps pull request
  2. Wait for automatic detection (usually instant)
  3. View AI-powered code review in integrated panel
  4. Chat with your PR using the AI copilot feature
  5. Review suggestions and security findings

Supported URLs

  • https://github.com/*/*/pull/*
  • https://bitbucket.org/*/*/pull-requests/*
  • https://gitlab.com/*/merge_requests/*
  • https://your-gitlab-instance.com/*/merge_requests/*
  • https://dev.azure.com/*/*/_git/*/pullrequest/*
  • https://*.visualstudio.com/*/*/_git/*/pullrequest/*

🏗️ Architecture

ThinkReview consists of two main components:

1. Browser Extension (This Repository)

  • Manifest V3 WebExtensionChrome (Chromium) and Firefox
  • Content scripts for GitHub, Bitbucket, GitLab & Azure DevOps
  • UI components and integration
  • OAuth authentication flow

2. Backend Services (Proprietary)

  • AI model integration (Advanced AI models)
  • Code review processing
  • User management and subscriptions
  • Hosted at us-central1-thinkgpt.cloudfunctions.net

Note: The extension requires connection to ThinkReview backend services. For commercial deployments with your own backend, contact us for licensing options.


📚 Documentation

Project Structure

thinkreview-browser-extension/
├── manifest.json           # Extension configuration
├── background.js           # Service worker
├── content.js             # Main content script
├── popup.html/js/css      # Extension popup
├── components/            # UI components
│   ├── integrated-review.js
│   ├── google-signin/
│   ├── review-prompt/
│   └── subscription.js
├── services/              # Backend integration
│   ├── cloud-service.js
│   ├── ollama-service.js  # 🆕 Local AI integration
│   ├── azure-devops-api.js
│   └── platform-detector.js
├── utils/                 # Helper utilities
├── images/               # Icons and assets
└── release-notes/        # Version history

Key guides


📈 Version History

ThinkReview has been in active development with regular releases. Check latest releases for the complete version history.

📁 Full changelog: See release-notes/ directory or visit thinkreview.dev/release-notes


🤝 Contributing

We welcome contributions! ThinkReview is now open source and we'd love your help.

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Setup

# Clone your fork
git clone https://github.com/your-username/thinkreview-browser-extension.git
cd thinkreview-browser-extension

# Install dependencies (if any)
npm install

# Load the extension (see Installation section above)

Guidelines

  • Follow existing code style
  • Add tests for new features
  • Update documentation
  • Keep commits atomic and well-described

See CONTRIBUTING.md for detailed guidelines.


🐛 Issues & Support

Found a Bug?

[Open an issue](https://github.com/Thinkode/t

Core symbols most depended-on inside this repo

dbgLog
called by 322
content.js
dbgWarn
called by 228
content.js
dbgLog
called by 127
utils/gitlab-suggestion-injector.js
dbgLog
called by 116
components/integrated-review.js
dbgWarn
called by 84
components/integrated-review.js
createPlaceholder
called by 36
components/utils/formatting.js
trackUserAction
called by 28
utils/analytics-service.js
showOllamaStatus
called by 21
popup.js

Shape

Function 532
Method 222
Class 34

Languages

TypeScript100%

Modules by API surface

popup.js87 symbols
components/integrated-review.js48 symbols
content.js36 symbols
services/platform-detector.js32 symbols
components/review-prompt/review-prompt.js31 symbols
services/azure-devops-api.js30 symbols
components/utils/formatting.js29 symbols
services/cloud-service.js28 symbols
utils/gitlab-suggestion-injector.js26 symbols
services/azure-devops-detector.js20 symbols
components/utils/item-copy-button.js20 symbols
services/github-detector.js19 symbols

For agents

$ claude mcp add thinkreview-browser-extension \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page