Skip to content

It's a simple image search tool I made using Py with the help of Pywright/Tk. It sends the image to imgops (website), where you can do a lot of web-based image things.

License

Notifications You must be signed in to change notification settings

kiyo-localhost/opsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Screenshot to ImgOps

Drag β†’ Crop β†’ Bam, your image is in ImgOps, ready to be stalked, searched, or memed.


🐧 Linux Setup

  1. First, make the script executable. Because Linux won’t run your stuff unless you give it permission like some kind of medieval gatekeeper:

    chmod +x /path/to/opsearch.py
  2. Want it like a real app,:

  3. (add the file path to .py in the .desktop file befor doing this )

    • Copy the .desktop file into /usr/share/applications/:

      sudo mv imgops.desktop /usr/share/applications/
    • Boom. Now you can add a shortcut by using the build in system (kde : settings->keyboard->lookdown

    • (If it doesn’t, cry, then log out and back in).


πŸͺŸ Windows Setup (lol idk, good luck)

I don’t have Windows (I like dont like updating). But if you really want to run this on Win:

  1. Install pyinstaller:

    pip install pyinstaller
    pyinstaller opsearch.py
  2. This will spit out a .exe file somewhere

  3. Double-click

  4. For shortcuts… uh… right click β†’ "Create Shortcut" β†’ drag it around β†’ done. (Ask Clippy if confused.)


🍎 macOS Setup

Β―*(ツ)*/Β― (Probably works like Linux but with extra dongles.)


πŸ’€ Requirements

  • Python 3.9+
  • Pillow
  • Playwright (and yes, you need to install browsers once with playwright install)
  • Tkinter (usually comes with Python unless your distro is evil)

Install them all:

pip install -r requirements.txt
playwright install

πŸš€ How to Run

python opsearch.py
  1. Fullscreen dims like you’re in The Matrix.
  2. Drag a rectangle around the cursed thing you want.
  3. The crop uploads to ImgOps.
  4. Your browser opens, and bam β€” reverse search away.

πŸ“œ License

MIT β€” do whatever you want, just don’t blame me when the NSA reverse-searches your cat pics.

About

It's a simple image search tool I made using Py with the help of Pywright/Tk. It sends the image to imgops (website), where you can do a lot of web-based image things.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages