You are right: the primary goal is a prompt-based image search app.
This repo now includes a local app that can:
- scan/index images from your folders/drives,
- search by text prompts like "pile of newspaper" or "blue and white shoes",
- show matching results in a local UI,
- and (optionally) run duplicate cleanup with recovery bin.
Use one of these options:
-
GitHub ZIP (easiest)
- Open the repo page on GitHub.
- Click Code → Download ZIP.
- Extract it to a folder like
C:\ImageSearchApp.
-
Git clone (if Git is installed)
git clone <repo-url>
-
GitHub Desktop
- File → Clone repository → choose local folder.
All required files come down with the correct file types automatically (.py, .bat, .txt, etc.).
You do not need to create files manually in Notepad.
Short answer: No, not for normal use.
git applyis a developer command that applies a patch/diff file to source code.- It is only needed if someone sends you a
.patch/.diffinstead of the full project files. - For you, the easiest path is still: Code → Download ZIP and extract it.
So no — copying code into Notepad is not your only option, and usually you should avoid that.
If you are asking this, the project may not be published to GitHub yet.
How to check quickly:
- If someone gave you a GitHub link, that is the page to use.
- If you have no link, ask the person who shared the files for the repository URL.
- In this copy of the project, there is no configured Git remote URL, so a GitHub page cannot be auto-detected from here.
If you want your own GitHub page for this project:
- Create a new empty repository on GitHub.
- Upload this folder (or push with Git/GitHub Desktop).
- Then use that new repo page's Code → Download ZIP button.
So the issue is likely exactly what you suspected: you may be working from a local copy that is not connected to a GitHub repo URL yet.
Keep these files in the same extracted folder:
image_prompt_search.pystreamlit_image_search_app.pyrun_image_search_windows.batsetup_windows.batrequirements-image-search.txt
(Existing dedupe files can remain too.)
- Install Python 3.11+ from python.org.
- Open your extracted folder.
- Double-click
setup_windows.bat.
Open Command Prompt in this folder and run:
run_image_search_windows.bat index "D:\Photos" "E:\Archive"This scans images and creates ./.image_search_index.
run_image_search_windows.bat uiThen use the local browser page to type prompts and view matching images.
run_image_search_windows.bat search blue and white shoesIf you also want duplicate cleanup with app recycle bin, use:
run_dedupe_windows.bat scan "D:\Photos"
run_dedupe_windows.bat scan-visual "D:\Photos"
run_dedupe_windows.bat restore- Prompt search quality depends on the model and image quality.
- Re-run
indexwhen you add many new images. - Everything runs locally on your machine (no cloud required by this tool itself).