Repository navigation
Releases
Releases · Sucotasch/HotkeyImageSorter
HotkeyImageSorter v0.1.7
v0.1.7 — viewer pan, collapsible panels, ignore rules, ✦ source facets
New: viewer pan & zoom-to-cursor
- Wheel zoom keeps the point under the cursor anchored — zooming into a detail at the edge no longer pushes it off-screen
- Drag the zoomed image with the mouse to inspect edges (grab/grabbing cursors); clamped so the image can never be dragged out of view
- Ctrl+0 resets zoom and pan to fit
New: collapsible side panels
- Both side panels collapse via footer buttons or keyboard: Ctrl+B (info panel), Ctrl+L (file list) — giving the viewer the full width
- State persists between sessions; Ctrl+F re-reveals the list first (the search input lives there)
New: ✦ source facets
- When the AI-metadata filter is active, chips appear under the sort controls — one per detected generator (ComfyUI / AUTOMATIC1111 / SwarmUI / …) with live counts
- Clicking a chip narrows the ✦ selection to that source; clicking again returns to all sources
- The fast path derives sources from chunk keywords and EXIF shapes (
keyword_source,parse_exif_json_prompt) — Ctrl+Q's full parse remains authoritative
New: ignore rules
- Options → Ignore rules: one pattern per line — matched against the file name (wildcards
*/?) or as a substring of the full path - Matching files stay on disk;
list_fileshides them and reports the count ("N hidden by ignore rules" in the counter tooltip) - Primary use case: in ↳ subfolder-scan mode, a folder-name rule hides its whole subtree
New: ComfyUI 2026 ecosystem research (ROADMAP)
- New model node classes mapped: FLUX.3 Klein (
Flux3LayoutPrompt), MOSS-Image (TextEncodeMOSSImageEdit), Fibo 2.0 (TextEncodeFibo2), Ming (TextEncodeMingImageEdit), Qwen Image 2.1 (TextEncodeQwenImage21) — detection coverage confirmed generic - ComfyUI programmatic API surface verified for the upcoming workflow-packs feature:
POST /prompt, WebSocket events,/history/{id},/view,/interrupt,/free,/object_info/{class} - Research documented in ROADMAP.md and knowledge.md
Fixed
- Panel-toggle buttons unified — same small triangle glyphs and metrics (the left list toggle previously rendered with oversized triangles)
- Ignore-rules placeholder no longer suggests
log.html— non-image junk never reaches the list (the extension gate filters it) - Ctrl+F fully toggles the search row (a repeated press closes it and wipes the query instead of re-focusing the field)
- Global shortcuts (Ctrl+0/F/Q/B) keep working while a text field has focus — the persistent search input used to silence them
Assets
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.7_x64-setup.exe— installer (NSIS)HotkeyImageSorter_0.1.7_x64_en-US.msi— installer (MSI)
HotkeyImageSorter v0.1.6
v0.1.6 — AI-metadata filter, name search, subfolder scan, detection fixes
New: ✦ AI metadata filter
- Toggle in the sidebar shows only images that carry AI generation metadata (prompt/workflow) — the badge triage loop is complete: badge → filter → Ctrl+Q → move
- First enable runs a folder-wide scan in chunks of 100 with live progress ("Scanning 300 / 1200…"); results feed the same cache as the badges, so re-enabling is instant
- Combines with the type filter and name search; the counter shows "N of M images" while a filter is active
New: name search (Ctrl+F)
- Live substring filter over file names — any part of the name, case-insensitive: type "euler" → everything with euler
- Ctrl+F toggles the search row; Esc wipes the query, a second Esc closes it; composes with the type and ✦ filters
New: subfolder scan (↳) + folder navigation
- ↳ toggle in the folder header includes the whole subtree in the same flat list — sort everything without navigating; the mode persists across folder switches
- The folder header shows clickable breadcrumbs; Backspace goes to the parent folder
- Folder rows never enter the list — Delete / A–Z / rename keep file-only semantics
New: zoom reset + live loading feedback
- Ctrl+0 resets zoom to fit; the footer shows a percentage while zoomed — click it to reset
- Large folder/subtree listings show a spinner with live "Found N files…" progress streamed from the backend — no more silent freezes on 25k-file trees
- Ctrl+O opens the folder picker
Fixed: AI metadata detection (major audit on 433 real files)
- Detection now routes by the actual file signature, not the extension. PNG bytes under a
.jpegname are common in scraped/renamed collections — 266 of 433 audited files! The fast path used to run a JPEG scan over PNG bytes and miss every one of them - No more detection panics: the ComfyUI prefix check sliced the value at a fixed byte offset and panicked inside multibyte characters (real prompts start
1girl,…/AIイラスト…); a panic erased every badge in its 100-file batch — the reported "unstable filter". Fixed byte-wise, plus per-file panic isolation - EXIF UserComment/ImageDescription now recognized as prompt carriers beyond the marker formats: SwarmUI
sui_image_paramsJSON, NovelAI-stylefull_promptarrays, generic{"prompt":…}, and bare prompt text (Flux captions) — surfaced as "EXIF UserComment" rather than denied. Surfacing a useless comment beats a false "no metadata" - Rotate/crop of a misnamed file no longer destroys its PNG prompt chunks (content-sniffed preservation path)
- The Ctrl+Q modal reports the real format ("png" for PNG bytes, even under a .jpeg name)
- ✦ badges reliably appear as soon as they are detected; the loading spinner no longer scrolls out of view
Fixed: keyboard & UI
- Global shortcuts (Ctrl+0/F/Q/B) keep working while a text field has focus — the persistent search input used to silence them
- A repeated Ctrl+F closes the search row (and wipes the query) instead of just re-focusing the field
- README screenshots added; phantom
H/Lshortcut rows removed (those letters belong to the A–Z hotkeys)
Assets
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.6_x64-setup.exe— installer (NSIS)HotkeyImageSorter_0.1.6_x64_en-US.msi— installer (MSI)
HotkeyImageSorter v0.1.5
v0.1.5 — AI metadata filter, name search, subfolder scan
New: ✦ AI metadata filter
- Toggle in the sidebar shows only images that carry AI generation metadata (prompt/workflow) — the badge triage loop is complete: badge → filter → Ctrl+Q → move
- First enable runs a folder-wide scan in chunks of 100 with live progress ("Scanning 300 / 1200…"); results feed the same cache as the badges, so re-enabling is instant
- Combines with the type filter and name search; the counter shows "N of M images" while a filter is active
New: name search (Ctrl+F)
- Live substring filter over file names — any part of the name, case-insensitive: type "euler" → everything with euler
- Ctrl+F toggles the search row; Esc wipes the query, a second Esc closes it; composes with the type and ✦ filters
New: subfolder scan (↳) + folder navigation
- ↳ toggle in the folder header includes the whole subtree in the same flat list — sort everything without navigating; the mode persists across folder switches
- The folder header shows clickable breadcrumbs; Backspace goes to the parent folder
- Folder rows never enter the list — Delete / A–Z / rename keep file-only semantics
New: zoom reset + live loading feedback
- Ctrl+0 resets zoom to fit (the README always promised it); the footer shows a percentage while zoomed — click it to reset
- Large folder/subtree listings now show a spinner with live "Found N files…" progress streamed from the backend — no more silent freezes on 25k-file trees
- Ctrl+O opens the folder picker (was documented but missing)
Fixed
- Global shortcuts (Ctrl+0/F/Q/B) keep working while a text field has focus — the persistent search input used to silence them
- A repeated Ctrl+F closes the search row (and wipes the query) instead of just re-focusing the field
- The loading spinner and the empty-state hint no longer scroll out of view in a scrolled list
- ✦ badges reliably appear in the file list as soon as they are detected
Assets
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.5_x64-setup.exe— installer (NSIS)HotkeyImageSorter_0.1.5_x64_en-US.msi— installer (MSI)
HotkeyImageSorter v0.1.4
v0.1.4 — reworked crop, Explorer context menu, design pass & hardening
New: reworked crop mode (Cropper.js)
- The selection frame can never leave the image; mouse wheel zooms toward the cursor, drag pans the image
- Apply / Cancel buttons; double-click the selection or Enter applies, Esc cancels
- Exact natural-pixel crop coordinates at any zoom and display scale; no stray text selection while dragging
- Fixed: the image no longer "floats" inside the frame while resizing edges
New: Explorer context menu
- Cascading HK Image Sorter menu for images (Open / Show Metadata Info) and for folders + folder background (Open) — per-user HKCU, no admin rights needed
- Metadata export next to the image:
.metadata.json(the ComfyUI workflow graph when one is present) /.metadata.txt(readable dump) - Launch flag
--metadataopens the viewer straight to the metadata modal
New: PNG→JPG keeps oversized ComfyUI workflows
- Workflows that don't fit the 64 KB JPEG EXIF limit are preserved anyway: the prompt stays in EXIF Model (ComfyUI-readable) and the workflow is split across standard JPEG COM segments, reassembled transparently on read
- Export the workflow as
.workflow.json— droppable straight into ComfyUI
New: UI design pass
- Current folder always visible in the sidebar header; folder switching demoted to a compact "Change…" action
- Toggleable right info panel (shortcuts + commands): footer button or Ctrl+B, state remembered — more space for the image
- Reworked Options: assigned hotkeys on top (Change / Clear), free keys as a compact keycap grid, "N of 26 assigned" counter
- Selection chip "N selected ✕" in the sidebar footer — one-click clear
- Empty-folder hint; WCAG AA button contrast; dark-theme scrollbars; dialog focus management (ARIA + focus trap); the info panel auto-collapses below 900 px; one date format everywhere; full file path on hover
Fixed
config.jsonwrites are atomic and debounced — hotkeys can no longer be lost to a corrupted config (unreadable files are kept asconfig.json.corruptfor manual recovery)- A failed conversion can no longer block all future conversions until app restart
- ✦ AI-prompt badges now appear in the file list reliably
- Faster AI-badge scans (streaming PNG chunk walk that skips pixel data, bounded JPEG reads)
- Explorer-style "name (1)" collision names for hotkey moves too; the context menu covers all 11 supported formats; no console flash from
reg.exe - Windows-invalid characters in rename are rejected up front with a clear message; Undo/Redo counters now count batches, not files
Assets
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.4_x64-setup.exe— installer (NSIS)HotkeyImageSorter_0.1.4_x64_en-US.msi— installer (MSI)
HotkeyImageSorter v0.1.3
v0.1.3 — PNG→JPG conversion with metadata preservation
New: PNG → JPG conversion
- Convert selected PNGs to JPG while preserving ComfyUI/A1111 generation metadata (prompt, workflow, parameters) — embedded exactly the way ComfyUI's SaveImage does, so the workflow survives drag-and-drop
- Parallel conversion (up to 8 worker threads) — 100 files in ~2–3 s, thousands in minutes
- Live progress bar with per-file readout and a Cancel button (already-created JPGs stay)
- Two modes, switchable next to the button and in Options:
- Next to source (default) — writes
name.jpgbeside the PNG - Replace source — moves the original PNG to the Recycle Bin (with confirmation)
- Next to source (default) — writes
- Files whose metadata exceeds the 64 KB JPEG EXIF limit are skipped with a warning (a JPG without the workflow is a data-loss trap)
- Auto-rename on collision:
name (1).jpg(Explorer style) - Alpha transparency flattened onto white
- q90, 4:4:4 chroma (no color subsampling) — visually lossless, ~90% size reduction
New: type filter & selection
- Type filter dropdown (built from types actually present in the folder) — filter to PNG, then Ctrl+A selects exactly the PNGs
- Ctrl+A now selects all visible rows; pressing again clears the selection; works even when the filter dropdown has focus
New: Options modal & conversion report
- Options (was "Edit Hotkeys") with Shortcuts and Settings sections, one toggle per row
- Detailed conversion report after a batch (default on, dismiss with ✕/Esc): created files with size before → after, skipped, errors, total savings
Fixes & polish
- Conversion report no longer auto-dismisses after 4 s
- Settings toggles laid out vertically with proper switches
- Ctrl+A no longer selects the whole window after changing the type filter
- Done button spacing in Options
Assets
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.3_x64-setup.exe— NSIS installerHotkeyImageSorter_0.1.3_x64_en-US.msi— MSI
HotkeyImageSorter v0.1.2
What's new in v0.1.2
"Open with…" support (Windows)
- Opening a file via the Explorer context menu ("Открыть с помощью…") now opens the file's folder and selects that file — instead of silently opening the last-viewed folder.
- Passing a folder path as a launch argument opens that folder directly.
- Works both on a cold start and when the app is already running (the path is forwarded to the running instance, which is shown and focused).
- Robust path handling: non-UTF-8 paths, relative paths, case-insensitive file matching; non-existent paths are ignored.
Files
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.2_x64-setup.exe— NSIS installerHotkeyImageSorter_0.1.2_x64_en-US.msi— MSI installer
HotkeyImageSorter v0.1.1
What's new in v0.1.1
AI metadata (Ctrl+Q / ✦ button)
- Extended prompt detection: ComfyUI executed graphs and UI-workflows (link chains through switches, String Literal / PrimitiveString nodes, join/Concat families), Krea
generation_dataand LLM-JSON outputs, InvokeAIinvokeai_metadata/invokeai_graph, XMP (Draw Things, Krea), A1111parameters,positive_prompt/negative_promptchunks, JPEG EXIFprompt:/workflow:payloads. - Filters: LLM system templates and bare
<lora:…>tags are no longer mistaken for prompts; zeroed-out negatives no longer duplicate the prompt. - Correct decoding of EXIF UNDEFINED/UserComment (UNICODE/ASCII headers) and legacy JPEG comments (UTF-8 → CP1251 → Latin-1).
.jiffiles (JPEG Interchange Format) are now recognised.
Fixes
jpg commentsno longer shows garbage for non-JPEG files (PNG/WebP bytes were being scanned for JPEG markers); real JPEG comments are now decoded properly.- Name sort is now plain character-order (0 < 1 < 3): UUID-style names like
03e66bd5…sort at the top instead of between3d…and4a…. - Delete and A–Z move hotkeys work while the metadata modal is open (blocked only by the settings modal).
- Crop selection: edge handles, side movement, clamping to image bounds.
Files
hotkey-image-sorter.exe— portableHotkeyImageSorter_0.1.1_x64-setup.exe— NSIS installerHotkeyImageSorter_0.1.1_x64_en-US.msi— MSI installer
HotkeyImageSorter v0.1.0
HotkeyImageSorter v0.1.0
Первый публичный релиз: сортировщик изображений на Tauri с управлением с клавиатуры.
Возможности
- Просмотр, поворот и обрезка изображений (JPEG, PNG, GIF, WebP, BMP, TIFF, ICO, AVIF)
- Полная поддержка AVIF (декодер dav1d, сборка через вендоренный dav1d-sys)
- Переименование файла двойным кликом по имени в списке
- Полноэкранный режим (двойной клик по изображению/имени или Enter; Esc — выход)
- Undo/Redo правок, защищённые от сбоев при переносе между дисками
- Обрезка с упором на края, зажимом по границам изображения и живым индикатором размера
- Перенос файлов между дисками, обработка конфликтов имён и ошибок корзины
- Горячие клавиши и системный трей
Изменения с прошлой сборки
- feat: full AVIF support (dav1d/MSVC via vendored dav1d-sys), WebP round-trip tests
- fix: cross-volume moves, same-dir no-op, rename extension whitelist, trash error surfacing, backup retry
- feat: inline rename on double-click of list item
- feat: fullscreen mode (dbl-click image/file name, Enter); Escape exits fullscreen
- fix: crop west/north handle drag no longer grows region past the image (edge-based resize)
- feat: crop edge handles, clamping to image bounds, live size readout
- fix: force fresh image fetch after undo/redo; test full undo/redo cycle
- fix: make edit undo/redo cross-volume safe (copy-based swap_edit)
- ci: meson/ninja/nasm for dav1d source build on ubuntu
Артефакты
hotkey-image-sorter.exe— портативный бинарник (без установки)