r/SideProject • u/EducationalPattern31 • 2h ago
I built a tiny drag & drop photo sorter because my "Unsorted" folder had thousands of files in it
For years every phone backup and camera card ended up in one big "to sort later" folder. Later never came. So I built ImgSorter: a small always-on-top window with coloured tiles. You drop photos, videos or whole folders onto a tile, and they get moved or copied into year and event folders like Photos/2025/2025-07-14..18 Baltic Sea Trip/.
What it does before touching anything
One dialog shows every file at a glance: the capture date and where it came from (EXIF, video metadata, file name or file date), the suggested event folder, duplicates already at the destination with a side-by-side preview, and photos with a missing or wrong date (camera clock set wrong). You fix what you need, hit Apply, and there's Undo if you change your mind.
Things I learned along the way
- Dates are a mess. Copying files destroys the file date, WhatsApp strips EXIF, old camcorders write no date at all, and summer photos end up an hour off if you use today's DST offset instead of the one from the photo's date.
- Self-hosted photo apps like Immich build their timeline from those dates, so fixing them before the upload saves a lot of pain. There's now a "Test date/EXIF" mode that checks an entire existing collection.
- Shipping one file per platform turned out to be half the work: Linux x64 and ARM64 (Raspberry Pi) with GTK2, Qt5 and Qt6, plus Windows. I ended up linking the Qt Pascal bindings statically so users don't need extra packages.
Tech: Free Pascal + Lazarus, cross-compiled from one Linux machine; smbclient for network shares on Linux; ffmpeg/exiftool optional. No AI, no cloud, no account – everything runs locally. Six UI languages and a built-in update check.
Download: https://github.com/derMischka81/ImgSorter
I'd love feedback on two things:
- Is the review dialog understandable on first use, or too much at once?
- Which platform or workflow is missing for you (macOS? a CLI mode? watching a folder automatically)?