PROJECT 28 • DAY 3 OF 90 • DESKTOP AUTOMATION

SORTIQ
SMART ORGANIZER.

An Obsidian & Electric Violet Windows file organization utility combining priority-ordered wildcard and regex rules, O(N) size + 64KB chunked SHA-256 duplicate detection, dry-run simulation tables, and transactional 1-click SQLite batch rollback.

Python 3.10+Tkinter GUIHeadless CLI64KB SHA-256SQLite WALPyInstaller .exe
SortIQ Preview
DEDUP ENGINE
O(N) + 64KB SHA-256
SAFETY & QA
1-Click SQLite Undo
10+ Categories
Semantic + Temporal Routing
O(N) Pruned
90%+ Skip Before Hashing
3 Collisions
Rename • Skip • Overwrite
100% Pass
Pytest Verified Suite
01 / Overview

ZERO-DATA-LOSS FILESYSTEM AUTOMATION FOR WINDOWS.

Cluttered Downloads folders mix receipts, datasets, installers, and duplicate archives. SortIQ previews every planned file move upfront and logs reversible batches in SQLite WAL.

01

Dual GUI + Headless CLI

Operates as an interactive Obsidian/Electric Violet Tkinter app (PyInstaller .exe ready) or headless CLI for Task Scheduler scripts.

02

Priority Wildcard & Regex Rules

Evaluates custom rules like *invoice* or regex:^Screenshot_\d+ alongside file size and modification age bounds.

03

Two-Tier SHA-256 Dedup

Clusters by exact byte size in O(N) time (skipping 90%+ unique files) before streaming 64KB chunked SHA-256 hashes.

04

Dry-Run Plan Simulator

Displays exact proposed source -> target routes, matched rules, collision tags, and duplicate flags without touching disk.

05

Temporal Year-Month Clustering

Organizes archives chronologically by Year (2026/), Year-Month (2026-10/), or Full Date hierarchies.

06

1-Click SQLite Rollback

Every move is recorded under a transaction Batch ID in WAL SQLite, restoring moved files cleanly in one click or CLI command.

02 / Architecture

HOW IT WORKS.

GUI and CLI dispatchers drive Scanner, Classifier, RuleEngine, Two-Tier Deduper, and atomic OrganizerEngine backed by SQLite.

STAGE 01

FileScanner

Pathlib walk + hidden/ext metadata.

→
STAGE 02

Size + SHA-256

O(N) cluster then 64KB hash stream.

→
STAGE 03

Rules & Temporal

Regex priority -> category/date tree.

→
STAGE 04

Dry-Run Table

Simulate collisions & inspect routes.

→
STAGE 05

Atomic + Undo

Execute moves & log Batch ID rollback.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

AUTOMATION ENGINE & ROLLBACK SAFETY SPECS.

Key modules, rules, safety checks, and automated test results documented in the repository.

Engine Layer Algorithm / Mode Data-Safety Guarantee
Duplicate Detector Exact Byte Size Filter -> 64KB SHA-256 Low RAM footprint across large media
Rule Evaluation Priority-ordered wildcards, regex & age Deterministic predictable routing
Collision Modes Rename (suffix) / Skip / Overwrite Zero silent file overwrites by default
Batch Rollback & QA SQLite WAL batch operations + audit CSV 30 passing tests (100% pass)
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in SortIQ.

DESKTOP UI
Tkinter / ttk (Obsidian Design)
PACKAGING
PyInstaller Windows .exe
CLI ENGINE
Python Headless Automation
CRYPTO HASHING
64KB Chunked SHA-256
AUDIT LEDGER
SQLite 3 (WAL Mode)
VERIFICATION
Pytest (100% Passing)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for SortIQ.

Watchdog background daemon for instant auto-filing of incoming Downloads.
Lightweight NLP extraction from PDFs and TXT docs for topic clustering.
Cloud folder synchronization adapters for OneDrive and Google Drive.
Scheduled dry-run digest emails before weekly cleanup runs.
Portable winget / MSI installer packaging with context-menu hook.
Visual treemap widget showing reclaimed folder space per category.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.