An open API service indexing awesome lists of open source software.

https://github.com/thinkode/thinkreview-browser-extension

AI-powered code reviews & Copilot for GitLab , Github, Azure DevOps & Bitbucket. Zero setup. Powered by Frontier LLms & Ollama.
https://github.com/thinkode/thinkreview-browser-extension

ai-code-review azure-devops bitbucket bitbucket-legacy code-review copilot-chat gitlab pr-copilot pull-requests

Last synced: about 2 months ago
JSON representation

AI-powered code reviews & Copilot for GitLab , Github, Azure DevOps & Bitbucket. Zero setup. Powered by Frontier LLms & Ollama.

Awesome Lists containing this project

README

          

# ๐Ÿš€ ThinkReview

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

[![Chrome Web Store](https://img.shields.io/badge/Chrome-Web%20Store-blue?logo=google-chrome)](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn)
[![Firefox Add-ons](https://img.shields.io/badge/Firefox-Add--ons-FF7139?logo=firefox)](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)
[![Latest Release](https://img.shields.io/badge/Latest-Release-green.svg)](https://thinkreview.dev/release-notes)
[![Rating](https://img.shields.io/badge/rating-5.0%2F5-yellow.svg)](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn)
[![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL%203.0-blue.svg)](LICENSE)
[![Ollama](https://img.shields.io/badge/๐Ÿ†•%20Ollama-Local%20AI-purple?style=flat&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMiA3TDEyIDEyTDIyIDdMMTIgMloiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0yIDEwVjE0TDEyIDE5VjE1TDIgMTBaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjIgMTBWMTRMMTIgMTlWMTVMMjIgMTBaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4=)](OLLAMA_SETUP.md)

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

[๐ŸŒ Website](https://thinkreview.dev) โ€ข [๐Ÿ“ฆ Chrome Web Store](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn) โ€ข [๐ŸฆŠ Firefox Add-ons](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/) โ€ข [๐Ÿ–ฅ๏ธ Ollama Setup](OLLAMA_SETUP.md) โ€ข [๐Ÿ“– Docs](#documentation) โ€ข [๐Ÿ’ฌ Contact](https://thinkreview.dev/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 โ†’](OLLAMA_SETUP.md)** (30 seconds if model is downloaded)

### ๐ŸŒŸ Key Stats

- ๐Ÿ† **Featured** by Chrome Web Store
- ๐ŸฆŠ **Firefox** โ€” [Mozilla Add-ons](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)
- ๐Ÿ”„ **Active Development** - Regular updates and improvements (2+ weekly releases on average)
- ๐Ÿค– **Multi-Model AI** - Advanced cloud models or local Ollama
- ๐Ÿ“ˆ **Growing Community** - Growing user base
- ๐Ÿ“œ Follows **recommended practices** for Chrome extensions
- ๐Ÿ“ฆ Check [latest releases](https://thinkreview.dev/release-notes)

---

## โœจ 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](OLLAMA_SETUP.md) (if model downloaded) |

**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](https://thinkreview.dev/docs)** (same matrix as the **Platform setup guides** on the docs portal).

- โœ… **GitLab** โ€” [GitLab.com (SaaS) & self-managed](https://thinkreview.dev/docs/gitlab-integration)
- โœ… **GitHub** โ€” [GitHub.com & GitHub Enterprise Server](https://thinkreview.dev/docs/github-integration)
- โœ… **Azure DevOps** โ€” [Azure DevOps Services](https://thinkreview.dev/docs/azure-devops) (cloud: `dev.azure.com`, `*.visualstudio.com`) ยท [Azure DevOps Server / on-premises](https://thinkreview.dev/docs/azure-devops-onpremise)
- โœ… **Bitbucket** โ€” [Bitbucket Cloud](https://thinkreview.dev/docs/bitbucket-integration) (`bitbucket.org`) ยท [Bitbucket Data Center / Server](https://thinkreview.dev/docs/bitbucket-data-center) (self-hosted)


Azure DevOps Integration

Seamless Azure DevOps integration


### ๐Ÿš€ Quick Start
- **Cloud AI**: Zero setup - works instantly after install
- **Local AI**: [Quick Ollama setup](OLLAMA_SETUP.md) (30 seconds if model is downloaded) for private reviews
- **No API Keys**: Works out of the box (cloud) or fully local (Ollama)
- **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](OLLAMA_SETUP.md)

---

## ๐Ÿ“ฆ Installation

### From browser stores (recommended)

**Chrome, Edge, Brave, and other Chromium browsers**

[![Install from Chrome Web Store](https://img.shields.io/badge/Install-Chrome%20Web%20Store-blue?style=for-the-badge&logo=google-chrome)](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn)

1. Open the [Chrome Web Store listing](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn)
2. Click **Add to Chrome** (or the equivalent in your Chromium browser)

**Firefox**

[![Install from Firefox Add-ons](https://img.shields.io/badge/Install-Firefox%20Add--ons-FF7139?style=for-the-badge&logo=firefox)](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)

1. Open the [Firefox Add-ons listing](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)
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)

```bash
# 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](OLLAMA_SETUP.md) (30 seconds if model is downloaded)
2. We recommend **[Gemma 4](https://ollama.com/library/gemma4)** for best results with Ollama; [Codestral](https://ollama.com/library/codestral:latest) and [gpt-oss](https://ollama.com/library/gpt-oss) are solid alternatives.
3. Open extension popup โ†’ Settings โ†’ Select "Local Ollama"
4. That's it! Your reviews now run locally

---

## ๐ŸŽฏ 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 [WebExtension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) โ€” **Chrome** (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](mailto:support@thinkode.co.uk) 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

- **[Release Notes](release%20notes/)** โ€” Version history
- **๐Ÿ†• [OLLAMA_SETUP.md](OLLAMA_SETUP.md)** โ€” Run AI reviews locally with Ollama
- **Platform setup (cloud & self-hosted)** โ€” [Docs home](https://thinkreview.dev/docs) ยท [GitLab](https://thinkreview.dev/docs/gitlab-integration) ยท [GitHub](https://thinkreview.dev/docs/github-integration) ยท [Azure DevOps (cloud)](https://thinkreview.dev/docs/azure-devops) ยท [Azure DevOps (on-prem)](https://thinkreview.dev/docs/azure-devops-onpremise) ยท [Bitbucket Cloud](https://thinkreview.dev/docs/bitbucket-integration) ยท [Bitbucket Data Center](https://thinkreview.dev/docs/bitbucket-data-center)

---

## ๐Ÿ“ˆ Version History

ThinkReview has been in active development with regular releases. Check [latest releases](https://thinkreview.dev/release-notes) for the complete version history.

๐Ÿ“ **Full changelog**: See [`release-notes/`](release%20notes/) directory or visit [thinkreview.dev/release-notes](https://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

```bash
# 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](CONTRIBUTING.md) for detailed guidelines.

---

## ๐Ÿ› Issues & Support

### Found a Bug?
[Open an issue](https://github.com/Thinkode/thinkreview-browser-extension/issues/new) with:
- Description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Screenshots (if applicable)
- Browser version and OS

### Need Help?
- ๐Ÿ“ง Contact Form: [thinkreview.dev/contact](https://thinkreview.dev/contact)
- ๐Ÿ’ฌ Email: [support@thinkreview.dev](mailto:support@thinkreview.dev)
- ๐ŸŒ Website: [thinkreview.dev](https://thinkreview.dev)
- ๐Ÿ’ฌ GitHub Discussions: [Ask questions](https://github.com/Thinkode/thinkreview-browser-extension/discussions)

---

## ๐Ÿ“œ License

This project is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0)**.

### What This Means

โœ… **You can:**
- Use the extension freely
- Study and modify the code
- Distribute your modifications
- Use it commercially

โš ๏ธ **You must:**
- Share your modifications under AGPL-3.0
- Disclose source code when distributing
- Include license and copyright notice
- State significant changes made

### Commercial Licensing

For commercial deployments with your own backend or proprietary modifications:
- ๐Ÿ“ง Contact: [thinkreview.dev/contact](https://thinkreview.dev/contact)
- ๐ŸŒ Learn more: [thinkreview.dev](https://thinkreview.dev)

See [LICENSE](LICENSE) for full details.

---

## ๐Ÿ”— Links

- ๐Ÿช **Chrome Web Store**: [Install ThinkReview](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn)
- ๐ŸฆŠ **Firefox Add-ons**: [Install ThinkReview](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)
- ๐ŸŒ **Official Website**: [thinkreview.dev](https://thinkreview.dev)
- ๐Ÿ“ง **Contact & Support**: [thinkreview.dev/contact](https://thinkreview.dev/contact)
- ๐Ÿ› **Report Issues**: [GitHub Issues](https://github.com/Thinkode/thinkreview-browser-extension/issues)
- ๐Ÿ’ฌ **Discussions**: [GitHub Discussions](https://github.com/Thinkode/thinkreview-browser-extension/discussions)

---

## ๐ŸŒŸ Why Open Source?

After successfully launching on the Chrome Web Store and serving 128+ users, we decided to open source ThinkReview because:

โœ… **Transparency** - Let the community see and verify how it works
โœ… **Trust** - Open code builds confidence in security and privacy
โœ… **Collaboration** - Accelerate development with community contributions
โœ… **Innovation** - Enable developers to extend and customize
โœ… **Education** - Help others learn from production-grade code

---

## ๐Ÿ’ผ About

ThinkReview is developed and maintained by the Thinkode team. The extension is production-ready and actively used by developers worldwide for improving code quality and accelerating code reviews.

**Built with:**
- Manifest V3 (WebExtensions โ€” Chromium & Firefox)
- Advanced AI Models
- Vanilla JavaScript
- Browser extension APIs (`chrome.*` / `browser.*`)

---

## โญ Show Your Support

If ThinkReview helps you with code reviews, please:
- โญ Star this repository
- ๐Ÿ”„ Share with your team
- โœ๏ธ Leave a review on [Chrome Web Store](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn) or [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/)
- ๐Ÿ› Report bugs and suggest features

---

**Made with โค๏ธ by the Thinkode Team**

[Website](https://thinkreview.dev) โ€ข [Chrome Web Store](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn) โ€ข [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/thinkreview-code-review/) โ€ข [Support](mailto:support@thinkode.co.uk)