Skip to content

✒mathpix but gemini wrapper - cross-platform screenshot capture for equation-to-LaTeX conversion

Notifications You must be signed in to change notification settings

vichua2006/gpix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpix

Note

Result:

$$ \begin{align} G_t^t &= -\frac{h'}{rh^2} - \frac{1}{r^2}\left(1 - \frac{1}{h}\right), \quad &(49) \notag\\ G_r^r &= \frac{f'}{rfh} - \frac{1}{r^2}\left(1 - \frac{1}{h}\right), \quad &(50) \notag\\ G_\theta^\theta = G_\varphi^\varphi &= \frac{1}{2\sqrt{fh}}\frac{d}{dr}\left(\frac{f'}{\sqrt{fh}}\right) + \frac{f'}{2rfh} - \frac{h'}{2rh^2}, \quad &(51) \notag\\ \end{align} $$

gpix - Mathpix but Gemini

why pay 6 dollars a month for Mathpix when you can use a Gemini wrapper? 😋

Features

  • Global Keyboard Shortcut: Ctrl+Shift+S (Windows/Linux) or Cmd+Shift+S (macOS)
  • GPU-Accelerated Rendering: WebGL-based overlay for smooth performance
  • DPI Scaling Support: Automatic handling of Windows display scaling (100%, 125%, 150%, 200%, etc.)
  • Interactive Selection: Drag to select region with visual feedback
  • ESC Cancellation: Press ESC at any time to cancel

Installation

Download the latest installer from the GitHub Releases page and run gpix Setup x.x.x.exe.

Usage

Settings Window

image

On launch, gpix opens a settings window with four buttons:

Button Description
Save key Saves your Gemini API key securely to the system keychain
Test key Validates your API key by testing connectivity to Gemini
Quit app Closes gpix completely
Delete key Removes the stored API key from your keychain

Just enter & save your API key, and you're good to go! (note it should be setup for gemini-2.5-flash-lite, test it with the test button!)

Capturing Equations

  1. Press Ctrl+Shift+S (or Cmd+Shift+S on macOS) anywhere
  2. Drag to select the region containing your equation
  3. Release to capture — the LaTeX is automatically copied to your clipboard
  4. Paste anywhere with Ctrl+V

Press ESC at any time to cancel the selection.

Liscense

MIT

About

✒mathpix but gemini wrapper - cross-platform screenshot capture for equation-to-LaTeX conversion

Resources

Stars

Watchers

Forks

Packages

No packages published