Menu

Tree [f602bc] main /
 History

HTTPS access


File Date Author Commit
 .github 2025-11-17 Jay Elsheikh Jay Elsheikh [817ec9] Connection test: Changed from ssh ... "echo ......
 assets 2025-12-05 Jelsheikh Jelsheikh [c26680] simplifying icons.js to use only the REFRESH_IC...
 components 4 days ago Jelsheikh Jelsheikh [a17827] Added overflow handling to the .chat-message co...
 images 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 media 2025-11-06 Jay Elsheikh Jay Elsheikh [bf26f9] Update settings screenshot
 release notes 4 days ago Jelsheikh Jelsheikh [f602bc] update release notes
 scripts 2025-11-13 Jay Elsheikh Jay Elsheikh [f1711f] Ollama setup instructions
 services 5 days ago Jelsheikh Jelsheikh [b7b4f9] refactor functions that determine if the page i...
 utils 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 .gitignore 2025-11-07 Jay Elsheikh Jay Elsheikh [58bd5b] Add package-lock.json for deterministic builds
 CODE_OF_CONDUCT.md 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 CONTRIBUTING.md 2025-11-06 Jay Elsheikh Jay Elsheikh [6b879d] Rename repository to thinkreview-browser-extension
 LICENSE 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 OLLAMA_SETUP.md 2025-11-19 Jay Elsheikh Jay Elsheikh [06ac8a] update ollama readme - remove clutter
 README.md 2025-11-19 Jay Elsheikh Jay Elsheikh [da2e41] updated key stats
 background.js 5 days ago Jelsheikh Jelsheikh [a55951] match all github.com pages for Review button to...
 cancel.html 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod
 content.js 5 days ago Jelsheikh Jelsheikh [c3b363] hide the scorepopup on on pr pages
 manifest.json 4 days ago JElsheikh JElsheikh [fd0b62] Release/1.4.6 (#33)
 onboarding.html 2025-12-03 Jay Elsheikh Jay Elsheikh [3d5997] background grey color to privacy section
 onboarding.js 2025-11-06 Jay Elsheikh Jay Elsheikh [f276eb] Update onboarding page with new media and Azure...
 package-lock.json 2025-11-09 JElsheikh JElsheikh [e1b4c8] cleanup redundant eslint (#8)
 package.json 2025-11-09 JElsheikh JElsheikh [e1b4c8] cleanup redundant eslint (#8)
 patch-viewer.css 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 patch-viewer.html 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 patch-viewer.js 2025-11-27 Jay Elsheikh Jay Elsheikh [06e662] remove patch viewer and storage
 popup-imports.js 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod
 popup.css 2025-12-01 JElsheikh JElsheikh [352898] Chore/update onboarding page (#28)
 popup.html 7 days ago Jelsheikh Jelsheikh [054835] include github text
 popup.js 6 days ago Jelsheikh Jelsheikh [e92684] update current status of popup
 stripe-redirect.html 2025-11-05 Jay Elsheikh Jay Elsheikh [4bc104] Initial public release v1.3.8
 stripe-redirect.js 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod
 stripe-success-handler.js 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod
 stripe-success-redirect.html 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod
 success.html 2025-11-17 Jay Elsheikh Jay Elsheikh [c7fafa] setting debug flag to false for prod

Read Me

# 🚀 ThinkReview ### AI Code Review for 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) [![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.** [🌐 Website](https://thinkreview.dev) • [📦 Install](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn) • [🖥️ 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 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
  • 🔄 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

✨ 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)

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

  • GitLab (gitlab.com, GitLab Enterprise, Self-Hosted)
  • Azure DevOps (dev.azure.com, custom domains)
  • ✅ Works with any GitLab instance on custom domains
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
  • 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

📦 Installation

Install from Chrome Web Store

  1. Visit the Chrome Web Store listing
  2. Click "Add to Chrome"
  3. That's it! Navigate to any 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

# Load in Chrome
# 1. Open Chrome and navigate to chrome://extensions/
# 2. Enable "Developer mode" (toggle in top right)
# 3. Click "Load unpacked"
# 4. Select the cloned 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. Open extension popup → Settings → Select "Local Ollama"
3. That's it! Your reviews now run locally


🎯 Usage

  1. Navigate to any 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://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 Chrome extension
  • Content scripts for 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 extension in Chrome (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 with:
- Description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Screenshots (if applicable)
- Browser version and OS

Need Help?


📜 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
- 🌐 Learn more: thinkreview.dev

See LICENSE for full details.



🌟 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
- Advanced AI Models
- Vanilla JavaScript
- Chrome Extensions API


⭐ 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
- 🐛 Report bugs and suggest features


**Made with ❤️ by the Thinkode Team** [Website](https://thinkreview.dev) • [Chrome Store](https://chromewebstore.google.com/detail/thinkreview-ai-code-revie/bpgkhgbchmlmpjjpmlaiejhnnbkdjdjn) • [Support](mailto:support@thinkode.co.uk)