Skip to content

razlo/lmatfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let Me Approve This For You (LMATFY)

A Chrome extension that shows someone how to approve a GitHub PR, then does it for them. Like "Let Me Google That For You" but for PR approvals.

How It Works

  1. You have a PR that needs approval: https://github.com/org/repo/pull/123
  2. Add ?lmatfy=true to the URL: https://github.com/org/repo/pull/123?lmatfy=true
  3. Share this link with your reviewer
  4. They open the link (with this extension installed)
  5. The extension:
    • Shows a sassy intro message
    • Animates a cursor clicking through the approval process
    • Actually submits the approval

Installation

  1. Open Chrome and go to chrome://extensions/
  2. Enable "Developer mode" (toggle in top right)
  3. Click "Load unpacked"
  4. Select this lmatfy folder
  5. The extension is now active on all GitHub PR pages

URL Parameters

Parameter Example Description
lmatfy ?lmatfy=true Activates the extension
msg ?lmatfy=true&msg=LGTM! Custom approval message

Features

  • Animated cursor that moves to each UI element
  • Spotlight effect highlighting the current step
  • Typing animation for the approval message
  • Skip button for the impatient
  • Error handling for edge cases (own PR, already approved, etc.)

Edge Cases Handled

  • User not logged in
  • User trying to approve their own PR
  • PR already merged or closed
  • Missing permissions

Development

The extension consists of:

  • manifest.json - Extension configuration
  • content.js - Main logic (URL detection, animation, GitHub DOM manipulation)
  • content.css - Styles for overlays, cursor, and effects

Updating Icons

The current icons are placeholders. To create better ones:

# With ImageMagick installed:
convert -size 16x16 xc:'#00d4ff' icons/icon16.png
convert -size 48x48 xc:'#00d4ff' icons/icon48.png
convert -size 128x128 xc:'#00d4ff' icons/icon128.png

Or replace with any 16x16, 48x48, and 128x128 PNG images.

License

Do whatever you want with it. Just approve my PRs.

About

Chrome extension that shows someone how to approve a GitHub PR, then does it for them. Like LMGTFY but for PR approvals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors