DEV Community

Jay Elsheikh
Jay Elsheikh

Posted on • Edited on

๐Ÿš€ I Built a GitLab Copilot for Merge requests - Chrome Extension Using Gemini 2.5 Pro โ€“ No Setup Needed

Hey DEV community ๐Ÿ‘‹

I just published a Chrome extension that helps developers get AI-powered code reviews for GitLab Merge Requests โ€” with zero setup required. If you're someone who dreads dealing with API tokens, platform lock-in, or overly complex code review tools, this might be something you'll enjoy.


๐ŸŽฏ The Problem

While working on various GitLab-hosted projects, I noticed a pattern:

Most code review tools either:

  • Require complex GitLab authentication (OAuth, personal tokens, etc.)
  • Force you onto their external platforms to generate or view the review
  • Need heavy configuration before theyโ€™re even usable

Thatโ€™s just too much friction for something that should be simple.


๐Ÿ’ก The Motivation

My main goal was simplicity.

I wanted a tool that:

  • Just works when I open a Merge Request
  • Doesnโ€™t require me to leave GitLabโ€™s interface
  • Doesnโ€™t force me into a different product ecosystem
  • Doesnโ€™t ask for tokens or backend setup

So, I built one.


๐Ÿ›  Introducing: ThinkReview

AI Code Reviews for GitLab Merge Requests

ThinkReview is a Chrome extension that:

  • Detects when you open a Merge Request on GitLab
  • Automatically generates a review in the sidebar
  • Is powered by Gemini 2.5 Pro (Googleโ€™s advanced AI model)
  • Requires zero setup or GitLab credentials
  • Runs entirely in your browser

๐Ÿ” How It Works

  1. Install the extension from the Chrome Web Store
  2. Navigate to any GitLab Merge Request
  3. A sidebar will appear and automatically generate an AI review
  4. Thatโ€™s itโ€”no API keys, no switching tabs, no learning curve

โš™๏ธ Powered by Gemini 2.5 Pro

Gemini 2.5 Pro is surprisingly good at understanding context in code. It doesnโ€™t just say โ€œunused variableโ€ โ€” it explains why something might be inefficient or confusing.

It reviews:

  • Code style
  • Logic issues
  • Potential bugs
  • Readability suggestions

Only the Merge request patch and diffs is sent to Gemini API


๐Ÿง‘โ€๐Ÿ’ป Who This Is For

ThinkReview is ideal for:

  • Solo developers or freelancers who want quick review feedback
  • Small teams that donโ€™t have time for formal code review processes
  • Anyone using GitLab who wants better reviews without the overhead

โœจ What Makes It Different

Feature ThinkReview Most Code Review Tools
Requires Setup โŒ No โœ… Yes
GitLab Auth Needed โŒ No โœ… Yes
Runs in GitLab UI โœ… Yes โŒ Usually Not
Uses Gemini AI โœ… Yes โŒ Not Always
Works on MR open โœ… Yes โŒ Sometimes

๐Ÿ”’ Privacy & Security

Your code stays inside GitLab.

Thereโ€™s:

  • No need to create accounts
  • No external API calls for code
  • No sharing of repository data

Iโ€™m also exploring local/offline support in a future release.


๐Ÿ—บ๏ธ Roadmap

Hereโ€™s whatโ€™s coming next:

  • Support for GitHub and Bitbucket
  • Option to toggle review strictness or tone
  • Customizable review templates
  • VS Code plugin integration

Have ideas? Iโ€™d love to hear them in the comments!


๐Ÿš€ Try It Out

You can find it on the Chrome Web Store:

๐Ÿ”— ThinkReview: AI Code Reviews for GitLab Merge Requests

No setup. No tokens. Just install and start reviewing.


๐Ÿ™Œ Final Thoughts

Sometimes you build something because it scratches your own itch โ€” and this one really did.

If you spend a lot of time in GitLab and want smarter, simpler reviews, I hope ThinkReview helps you out. Would love to hear your feedback!


๐Ÿ—ฃ๏ธ Letโ€™s Chat

  • What do you currently use for code reviews?
  • Would you trust an AI to review your MRs?
  • What integrations should come next?

Drop your thoughts below! ๐Ÿ‘‡

Top comments (0)