Ghost-Drop FlushTech
Install Ghost-Drop with WinGet
winget install --id=FlushTech.Ghost-Drop -e Frameless drag-and-drop file shelf for Windows. Stage local files, URLs, and browser content for drag-out into any application.
winget install --id=FlushTech.Ghost-Drop -e Frameless drag-and-drop file shelf for Windows. Stage local files, URLs, and browser content for drag-out into any application.
A drag-and-drop file shelf for Windows. Drag a file onto it from a browser or Explorer, then drag it back out into Premiere, Photoshop, Discord, anywhere — Ghost-Drop handles the routing and staging so you never see a save dialog.
Files you drop are copied to a persistent shelf at %APPDATA%\Ghost-Drop\Shelf
so they stay available across sessions and remain valid references in apps like
Premiere. Shelf files are kept until you remove them or until Ghost-Drop
automatically sweeps copies older than 30 days on next launch. The separate
per-session temp directory is wiped on clean exit.
This is the same category of utility as macOS tools like Yoink/Dropzone, built from scratch for the spec you gave me, mapped 1:1 onto Electron's native drag-and-drop APIs.
npm install
npm start
Requires Node.js + npm. npm install pulls in Electron (~31).
See PRODUCTION-BUILD.md — two commands (npm install then
npm run dist) produce release\GhostDrop-Setup-1.0.0.exe, a single
file ready to sell. The build section already in package.json is the
full electron-builder config (Windows NSIS target, proper .ico, per-user
install, desktop + Start Menu shortcuts, clean uninstall).
| Spec module | File |
|---|---|
| 1. UI Overlay | modules/uiOverlay.js + renderer/index.html, renderer/style.css, renderer/renderer.js |
| 2. OS Interceptor | modules/osInterceptor.js + the drag handlers in renderer/renderer.js |
| 3. Ghost Directory | modules/ghostDirectory.js |
| 4. Executioner | modules/executioner.js, wired in main.js |
| 5. First-launch tutorial | modules/preferences.js + renderer/tutorial.* |
main.js is the boot sequence: purge orphans → open a session → raise
the overlay → wire the interceptor → arm the exit hooks → stand up the
tray → show the tutorial once on first launch.
The icon itself is unchanged in spirit: idle at ~20% opacity, lights up on
an external drag, shows a count badge once populated. What's new is what
happens when you genuinely hover your mouse over it (not drag a file onto
it — those are deliberately different gestures, handled separately in
renderer.js via dragDepth vs isExpanded):
animateOverlayHeight in modules/uiOverlay.js) — there's no
built-in animated setBounds() on Windows, so this steps the height
across ~60fps setInterval ticks with an overshoot ease on the way open
and a calm ease on the way closed.backdrop-filter: blur() + a soft top-edge highlight in style.css),
listing every cached file.startDrag() mechanism as
before. Dragging an individual row hands off just that one file.All of this is genuinely invisible unless you go looking for it — the idle icon looks identical to v1 until you actually hover or populate it.
A separate small frameless card window (renderer/tutorial.html/css/js),
shown automatically once on first launch and reachable anytime after via
tray icon → "Show tutorial." Six short slides: what it is, drop-in,
drag-out (files stay on shelf), the hover shelf, removing files, and the
shelf persistence model. "Seen" state is a one-line JSON flag in
modules/preferences.js, stored in Electron's standard per-user app-data
folder — separate from the Ghost Directory's temp cache, since whether
you've seen the tutorial has nothing to do with the shelf storage the rest
of the app manages.
Right-click the tray icon for: Show/hide overlay, Show tutorial, Support FlushTech (opens the Lemon Squeezy page in the default browser — no in-app payment flow, just a link), Check for updates (manual only — no background polling; shows a dialog if you're already on the latest version), and Quit Ghost-Drop.
webContents.startDrag(), Electron's real API for
this — your spec's "tricking the target app via the clipboard data
object" is functionally what this does, it just goes through the OS's
native drag session (not the literal copy/paste clipboard) since that's
the channel apps like Premiere actually watch for an incoming file drag.file: path).
Passing an array (files: [...]) works on macOS but is undocumented and
flakier on Windows — since your build target is Windows, I pass both, so
it'll do the right thing where Windows supports it and fall back to "drag
the first cached file" where it doesn't. If you only ever drop one file at
a time, you'll never notice this limitation at all.File.path is deprecated in modern Electron (28+) for security
reasons. The inbound side uses webUtils.getPathForFile() in the preload
script instead — same result, just the current sanctioned way to resolve
a dropped file's real OS path.app.quit()
(via the tray) wipes only the per-session temp directory synchronously.
The permanent shelf at %APPDATA%\Ghost-Drop\Shelf is intentionally kept
so file references in apps like Premiere stay valid. Shelf files are swept
automatically after 30 days on next launch. If the process is killed
without warning (Task Manager / SIGKILL), the session temp may remain as
an orphan — Ghost-Drop scans for and deletes any GhostDrop_* orphan
folder in %TEMP% before doing anything on next launch.alwaysOnTop at the screen-saver z-level so it stays above
fullscreen apps on Windows too.transparent: true BrowserWindows occasionally render with a thin border
artifact on some Windows/GPU driver combos — if you see that, the fix is
usually win.setBackgroundColor('#00000000') plus disabling hardware
acceleration for just this window. Flag it if you hit it and I'll patch it.