Skip to main content
back to grid
Projects2026

TempDownload

A Mac app that asks how long to keep each new download. Pick an hour, a day, three days, a week, or forever from a prompt under the notch, and the file goes to the Trash when its time is up. TempDownload runs on my Mac and hasn't been released.

TempDownload's triage window: seven downloads, five with timers from 37 minutes to 4 days and two untriaged, with Keep and Trash buttons on each row.
Triage window, rendered from the app's own views with made-up files.
The new-download prompt under a MacBook notch: an installer's name, size, and source, with 1 Hour, 1 Day, 3 Days, 1 Week, and Forever buttons and 1 Week selected.
The prompt for a new download.
The list under the notch: Scheduled and Untriaged tabs, five downloads with orange countdowns, and a button that opens the triage window.
The list under the notch.
5 choices
1 hour to forever, 1 week by default
On the file
timers live in extended attributes
141
XCTest cases
Unreleased
private · macOS 14+
§01The workThe product

A Mac app that puts a timer on every download and moves expired files to the Trash.

SwiftUI · AppKit · FSEvents

A timer for every download, chosen as it arrives.

A prompt drops from the notch with five choices. The triage window lists every download with its time left, and anything past its time goes to the Trash.

§02The pipelineEnd-to-end flow
01

Arrive

The watcher sees the new download and reads where it came from. File types on the ignore list are skipped.

a new file in Downloads
02

Choose

The prompt offers five choices with 1 Week selected, and says when the file will go, like "Moves to Trash Next Thursday 11:24 AM".

← → · Return · K
03

Wait

The timer is written onto the file, so renames, moves inside Downloads, sleep, and relaunches don't lose it.

extended attributes
04

Trash

A short countdown shows under the notch, the file moves to the Trash, and a confirmation follows.

countdown · confirmation
§03What I builtMain parts

What's in the app.

Every download, with its time left.

Search by name, filter to scheduled or untriaged files, change a timer, keep a file, reveal it in Finder, or trash it now. Triage All gives every untriaged file the default timer, and Space opens Quick Look.

search · filters · Quick Look

The list lives under the notch.

The menu bar opens a list of scheduled and untriaged downloads with their time left, plus pause, Settings, and the triage window.

Scheduled · Untriaged · ⌘T

Unzipped archives clean up after themselves.

With archive cleanup on, which is the default, the archive goes to the Trash only after its extracted files are checked against its contents. If the archive had a timer, what came out takes it over; if not, what came out gets its own prompt. Anything unclear leaves the archive and its timer where they are.

checked extraction

Forever means forever.

Keeping a file removes its timer, and TempDownload won't ask about it again. Scheduled files can also carry Finder's Temporary tag, so they stand out in any Finder window.

K · Esc · Keep

Pause without losing a timer.

Pausing stops new prompts and cleanup but keeps every stored timer. After resuming, anything overdue is cleaned up.

menu bar · notch · Settings
§04Build rulesWatcher · timers · Trash

The rules the app holds to.

Selected rulesmacOS 14
  1. Expired files go to the Trash, never straight to deletion.
  2. A timer lives on its file, in extended attributes.
  3. A file moved out of Downloads is no longer cleaned up.
  4. Keep removes the timer, and the file is never asked about again.
  5. If a file can't be moved to the Trash, its timer stays and the error says so.
  6. An archive goes to the Trash only after its extracted files match it.
§05StackEvery tool earns its line
Swift · SwiftPM / BuildSwiftUI + AppKit / Notch island, triage windowFSEvents / Watch DownloadsExtended attributes / Timers on the filesFileManager.trashItem / Expired files to the TrashXCTest / 141 casesmacOS 14+ / Target
§06ArtifactsReceipts and public proof

The app, the notch island, the triage window, and the tests. Private and unreleased.

TempDownload.app

The app, packaged and signed by a build script and installed locally. It lives in the menu bar and under the notch, and it hasn't been released.

local · ad-hoc signed · unreleased
Notch island

The prompt, list, countdown, confirmation, and error states, drawn as one black shape that grows out of the notch. On a screen without a notch, it sits at the top edge.

SwiftUI · NSPanel
Triage window

Every tracked download with its time left, plus search, filters, Keep, Reveal in Finder, and Trash.

SwiftUI · Quick Look
Test suite

141 XCTest cases, including opt-in snapshot renders of every island state.

swift test