You are browsing as a guest. Sign up (or log in) to start making projects!

6h 59m 37s logged

Bro really looked at his Downloads folder, experienced psychic damage, and decided to code an entire app instead of just pressing Ctrl+A and deleting his life choices.

Welcome to the latest episode of me suffering for 22 hrs and 12 mins so my desktop stops looking like a digital crime scene. Let’s talk about DropFlow, an Electron app that finally stops your files from living in absolute chaos.

The Lore (Why I Did This to Myself)

Manual file organization is a certified L. We’ve all been there-downloading memes, code snippets, random ZIP files, and homework until your desktop resembles a landfill. DropFlow fixes this. You pick a folder, it scans everything, and aggressively sorts it into vibes: Documents, Images, Videos, Archives, Installers, and “Whatever this cursed file is.”

It drops everything into a clean table with search and filters, because scrolling through 4,000 untagged screenshots is a form of torture.

The Preview Era (Trust Issues: Enabled)

I am not about to let a script I wrote at 3 AM spontaneously delete my entire life’s work.

So, I built an Organization Preview. Instead of instantly yeeting your files across the hard drive, DropFlow shows you the game plan first. It double-checks if a file with the exact same name already exists in the destination so it doesn’t accidentally Thanos-snap your stuff.

Bug Hunting & Other Mental Breakdowns

Building this was basically playing hide-and-seek with my own sanity:

-IPC Communication Drama: The HTML frontend and Electron’s main process had beef for a solid hot minute, refusing to talk to each other so the preview wouldn’t load. Had to investigate like an absolute detective.

-UI Amnesia: Clicking “Preview” or “Organize” wouldn’t even scroll the page to the right spot. Fixed it instantly by pulling out scrollIntoView() like a magic spell.

-The Overwrite Scare: Instead of a reckless fs.rename that would rewrite history, I coded a safe move function. If the destination file already exists, DropFlow just bypasses it and lives to fight another day.

The “Ctrl+Z” Moment (Undo Button supremacy)

After getting moving to work, I realized people have trust issues (fair). So, I baked in an Undo Last Organization feature.

DropFlow keeps receipts. It remembers where every file started and where it ended up. The new pipeline is literally:

-Choose Folder
-Scan
-Preview
-Organize
-Results
-“Wait, put that back” (Undo)

If things go sideways, one click reverses time and puts your files right back where they belong.

We Test in Staging (Because I’m Not Brave Enough)

I tested all of this on a dummy folder instead of risking my actual personal files like a maniac. Scanning, categorizing, dealing with file conflicts, moving, and undoing-it all actually works.

DropFlow is officially out of its “glorified shower thought” era and is actually solving the problem it was built for.

Hackatime: 22h 12m of pure code-induced delirium.

Next up: keeping it stable and actually useful instead of bloating it with random features I’ll abandon in a week.

STAY TUNED :-0:

1
89

Comments 0

No comments yet. Be the first!