A native Rust + GPUI file manager with a Windows 11 Explorer-style interface: neutral surfaces, compact tabs and command bar, yellow folder icons, a navigation tree, details/grid views, and an optional preview pane. GPUI renders the interface directly; there is no browser or webview.
Version 0.11.0 built. Adds explicit folder/terminal tab and window creation, and tab moves between panes and Explorer windows while preserving terminal sessions. Includes the 0.10.4 trackpad scrolling fix, bulk terminal shutdown, live working-directory tracking, keyboard tab switching, and overflow tab list. Compiler checks and all 359 tests pass (170 core, 11 worker, 19 native-operation, and 159 rendered GPUI tests). The optimized release, ad hoc app signature, and DMG checksum are verified; the installer is dist/Explorer-0.11.0-macOS.dmg. Full Windows Explorer/Finder parity and Windows builds are not claimed.
Explorer shows the user's Trash and accessible Trash folders on mounted volumes in the Trash sidebar location. Folder-size recalculation remains in Properties; selection still calculates automatically. Folder presses pair using at least 500 ms, or the system interval if longer. A bounded input log records the configured/effective intervals, actual event counts, and activation decisions. Quit the running copy and reopen the updated app; the title bar and About Explorer show the version.
Requires macOS 12+, a recent stable Rust toolchain (edition 2024), Xcode command-line tools, and internet access for the first dependency download. GPUI is pinned to 0.2.2 with its runtime_shaders feature: macOS compiles the embedded Metal shaders at launch, so the separate Xcode Metal compiler download is not required.
cargo run --release
# Start in a particular folder:
cargo run --release -- ~/DownloadsThe first build compiles GPUI and its dependencies and can take several minutes. Cargo.lock is included for reproducible builds. If necessary, select Xcode with xcode-select.
Create an app bundle:
./scripts/bundle.sh
open dist/Explorer.appThe bundle script builds a release binary, generates a Retina app icon, includes privacy descriptions, and applies an ad-hoc local signature. Distribution signing and notarization are not configured. It does not install or replace Finder.
Install the existing bundle without rebuilding:
./scripts/install.shThe installer verifies the app signature, copies it into /Applications (or ~/Applications when the system Applications directory is not writable), and launches the installed copy. dist/Install Explorer.command provides the same installer for a double-click in Finder. The app is self-contained: after bundling, the project's target/ build cache can be removed while keeping dist/Explorer.app and the source.
To create a drag-to-install DMG from the existing bundle:
python3 scripts/dmg.pyOpen the versioned DMG generated in dist/ and drag Explorer onto Applications. The script verifies the app and image, includes an Applications shortcut, and does not run Cargo or require the build cache. It packages the existing bundle, so run scripts/bundle.sh first when updating the app's source.
- Independent tabs and Explorer windows with back/forward history; breadcrumbs, editable paths,
~expansion, and parent navigation. The arrow beside+and the File menu explicitly create folder or terminal tabs/windows, regardless of the current tab type. New Tab /+repeats the current type; File → New Window also follows the current type. Right-click a tab, including a row in the Tabs list, to reorder it or move it to the other pane, a new window, or an existing Explorer window/pane. Terminal moves preserve the same PTY, environment, directory, scrollback, and running commands. Moving a pane’s last tab leaves a Home tab; closing the last folder tab closes its window without quitting other Explorer windows. Busy screenshots/archive operations and pending terminal close reviews must finish or be cancelled before moving. The Tabs list includes hidden-pane tabs and reveals their pane on selection. - Expandable folder tree, common macOS locations, mounted volumes, iCloud Drive when present, and persistent folder pins.
- Nine virtualized views: extra large, large, medium, and small icons; List; Details; Tiles; Content; and Compact details. Natural filename sorting, folders first, and a hidden-file toggle. Icon views use vector file-type icons; content thumbnails are not implemented.
- View → Group by… groups by type, extension, local modified-date ranges, or size, with independent group direction and clickable collapse/expand headers. Size grouping requests folder calculations. Sorting works within groups; keyboard/type-to-select reveals collapsed matches.
- View → Choose columns… (also right-click a detail header) controls visibility and order for Name, Date modified, Type, Size, Date created, Extension, Permissions, and Folder path. Name stays visible. Headers sort and resize each enabled column; view, grouping, order, and widths are saved per folder.
- Single, Command-click, Shift-click, keyboard, and select-all selection. Type letters/numbers/punctuation in a folder to select a matching name without filtering the listing. A one-second typing window builds a case-insensitive prefix; repeating a single letter cycles through matches, and Escape clears the temporary prefix while keeping the selection. Matching items scroll into view in both details and grid views. Command F continues to edit the actual search filter. Anchor/cursor paths survive sorting and refreshed listings, so ranges and arrow navigation keep following the same item.
- A capture-phase handler checks the visible, clipped row bounds and opens on the second press. It accepts native double-click counts and independently pairs synthetic presses within at least 500 ms (longer system preferences are honored), even without completed-click callbacks. Double-click opening takes precedence over selection modifiers; a single click still selects or toggles selection. Fn does not block opening. Clicks stay keyed to a folder path across re-renders. Refreshes wait until a click sequence ends, and eight pixels of deliberate movement are required to begin dragging. Folder symlinks are browsable, file/application symlinks open with macOS, and broken links report an error.
- Recursive folder sizes appear in the Size column, grid, preview, Properties, and selected-item totals. One background worker measures selected folders; Properties offers recalculation and cancellation, and View can measure the whole listing. Sorting by Size starts measurement and delays row movement until the current click sequence ends. View → Cancel size calculation stops pending work, and navigating away cancels it automatically. Hidden files count; internal symlinks contribute their own link length and are never traversed. A selected root symlink resolves to its folder target. Totals use logical file lengths, count hard links per directory entry, and exclude directory metadata. Partial results show unreadable entries; explicit Refresh discards cached measurements.
- Immediate filename filtering; Enter in search performs a cancellable recursive search with a 10,000-result cap. Directory symlinks are not traversed.
- New folders and empty files; rename; duplicate; recursive copy and move, including cross-volume moves. Copies are assembled in a private temporary directory and published with an exclusive rename; cancellation never cleans a public destination, and read-only partial trees can be removed. Filename collision searches return access errors and honor cancellation.
- File URL clipboard interoperability with Finder, plus an internal cut clipboard. Failed/cancelled moves retain the unmoved sources for retry; completion does not overwrite a newer clipboard.
- Native file-URL dragging into Finder and other applications, including multi-file selections. The drag source offers Copy; originals stay in place. Internal folder/sidebar/pane destinations continue through the file-operation queue, and Finder drops remain supported. Native drag handoff requires live macOS verification.
- Native macOS Trash with confirmation and persistent restore history for Explorer-deleted items. Trash has Restore, Restore to…, Delete permanently, and Empty Trash controls. Permanent deletion always requires confirmation and checks the selected items' identities and Trash roots. Empty Trash deletes the confirmed snapshot and keeps later arrivals. Read-only folders are supported, and symlinks are removed without following their targets. Double-clicking a trashed item previews it with Quick Look.
- Session-local undo for successful creates, copies, renames, moves, compression, and Trash operations. Undo verifies file identity and never overwrites a recreated original. Undoing creation/copy moves the result to Trash.
- ZIP compression through macOS
ditto, staged before exclusive publication. ZIP extraction opens Archive Utility. - In-app media windows on double-click or Enter, backed by macOS frameworks in the same process. Image files get zoom, fit, Retina-aware actual size, pinch/pan, GIF animation, and previous/next folder-media navigation. Video and audio files get native play/pause, scrubbing, volume, frame stepping, full-screen controls, ten-second skips, and looping. PDFs get continuous scrolling, page navigation, zoom/fit, text selection/copy, search, and a password prompt for locked documents.
- Open externally in the context menu or media toolbar, plus Quick Look, Finder reveal, and Terminal integration. Closing a video window pauses playback; viewer windows can stay open after the file-manager window closes.
- The Terminal command opens the selected folder, a selected file's containing folder, or the current folder when there is no single selection. The background menu always opens the current folder. Folder symlinks resolve to their target. Launching runs on a worker thread and reports failures; paths are passed as arguments without shell interpolation.
- File properties, image/text preview, operation status and cancellation, light/dark themes, and saved tabs/preferences.
- Background directory loading/search/transfers. The active folder refreshes every three seconds when idle. Stale results from earlier navigations are discarded.
- Native text input integration with UTF-16/UTF-8 conversion, IME composition, selection, and text copy/paste.
Existing destinations are never silently overwritten or merged. Paste collisions get a copy suffix. Rename conflicts are reported. Copies preserve ordinary file permissions and modification times; ACLs, extended attributes, resource forks, hard-link relationships, APFS clones, and sparse allocation are not yet preserved by the copy engine. ZIP compression uses macOS metadata-aware ditto.
Quit requests are reviewed in the normal event loop. AppKit termination is initially cancelled, then requested again after GPUI releases its App borrow and unsaved-editor decisions have finished. The handler never leaves Cocoa waiting for NSTerminateLater/replyToApplicationShouldTerminate:. Repeated requests share a review, cancellation invalidates stale callbacks, and review errors reset the state so Quit can be retried. Unsaved-editor and active-transfer windows are deminiaturized and brought forward using their exact native window handles. Final native termination runs outside all GPUI updates, avoiding re-entry into the shutdown borrow. Quit diagnostics rotate locally at ~/Library/Application Support/Explorer/quit.log (128 KB, plus quit.previous.log), are private, and are disabled in tests. Automated quit tests use a native-host stand-in that synchronously re-borrows GPUI during shutdown; live Dock/menu/Command-Q validation is still required on macOS.
Right-click a file or folder and choose Copy as path, or press Option–Command–C. Multiple selections copy full paths in display order, one per line, without shell quoting. Symlinks copy the link’s location. The background menu copies the current folder even when items remain selected.
Opening an image, video, or audio file builds a naturally sorted playlist of media in that file's folder. Previous and Next switch files in the same viewer, including between images and video/audio. Images use Left/Right arrows; video/audio use Option Left/Right to preserve playback controls. The status bar shows the current position and total. Folder symlinks are excluded; file symlinks remain in their containing folder's playlist even when their targets are elsewhere. Hidden files are excluded unless opened explicitly. PDFs retain their own page navigation.
Images include JPEG/JFIF, PNG/APNG, GIF, BMP, TIFF, HEIC/HEIF, WebP, AVIF, JPEG XL, JPEG 2000, SVG, icons, PSD, TGA, DDS, EXR/HDR, portable bitmap formats, and common camera RAW extensions. Video containers include MP4/MOV/M4V, MKV, WebM, AVI, MPEG, MTS/M2TS, VOB, OGV, 3GP, FLV, WMV/ASF, and MXF. Audio opens in the same player, including MP3, WAV, AAC/M4A, AIFF, CAF, FLAC, Ogg/Opus, WMA, and other recognized audio extensions. Recognition routes files to the viewer; actual decoding depends on macOS, the codec inside the file, and optional FFmpeg support. Encrypted/DRM files and every codec are not supported.
The viewer first tries macOS decoding. If that fails and FFmpeg is installed, a Rust worker prepares a temporary PNG image, H.264/AAC MP4 video, or AAC M4A audio file. FFmpeg is found in the process PATH or /opt/homebrew/bin and /usr/local/bin; it is not bundled with the installer. Preparation may take time for long videos. Cancel preparation, changing files, and closing the viewer cancel work without blocking the UI. Temporary copies are removed when leaving the file or closing/quitting; originals are unchanged. Image fallback displays the first decoded frame. If no decoder is available, the viewer explains the failure and keeps Open externally available. Real-codec tests exercise FFV1/MKV, Opus, and TGA conversion and native decoding of the results. Live mixed-media navigation and playback controls still need interactive macOS validation.
Right-click a folder or file and choose Open Built-in Terminal. A folder starts the shell there; a file uses its containing folder. The background menu uses the folder being browsed, even with another item selected. Folder symlinks resolve to their target. Each invocation opens a terminal tab in the current Explorer pane, alongside folder tabs, with its own PTY, shell, working directory, and output. Switching tabs preserves running commands and output. Terminal tabs show a distinct session number even when several start in the same folder, and each shell receives its own TERM_SESSION_ID. Nothing opens automatically. Open in Terminal and the existing toolbar command still launch macOS Terminal externally. The command palette also offers Open built-in terminal tab.
The displayed path follows the active local process directory, including cd within Sh, Bash, Zsh and nested foreground shells. Returning from a nested shell restores the parent shell's directory. Tab labels, the Tabs list and new terminal actions use that path; changing directory keeps the same shell/session and environment. Tracking reads macOS process information on the PTY worker and reports physical filesystem paths asynchronously. If a query is unavailable, the last readable directory is retained. Remote SSH directory integration is not implemented.
The built-in terminal runs your $SHELL as an interactive login shell (falling back to /bin/zsh). Directory paths are passed directly as the process working directory without inserting them into shell commands. The terminal supports ordinary shell editing, Tab completion and job control; Ctrl+C/D/Z; arrows and function keys; common ANSI cursor/erase/scroll/color sequences, 16/256/RGB colors, alternate-screen applications, bracketed paste, and basic mouse reporting. GPUI paints a fixed-cell terminal screen; the app uses neither a webview nor a native text control for this terminal.
Use New terminal tab, Command N, or Command T while a terminal is active for another independent terminal tab at the current terminal directory. Control Tab / Control Shift Tab and Command Shift ] / Command Shift [ switch between folder and tool tabs in the focused pane; Option Command 1–8 selects a numbered tab and Option Command 9 selects the last. Plain Tab and Shift Tab still go to the shell for completion. Command C/V copy selected output/paste text; drag across output to select, or use Command A. Shift-drag selects text when a terminal application has enabled mouse reporting. The mouse wheel and scrollbar browse scrollback. Command K / Clear history clears scrollback; Ctrl+L remains the shell's screen-redraw command. Command +/−/0 changes/resets the font size. Native text input supports UTF-8 and IME composition. Paste is bounded to 1 MiB and filters embedded escape/control sequences other than newlines/tabs. Terminal output cannot update the system clipboard via OSC 52.
Window resizing updates the PTY dimensions. Scrollback is bounded to 3,000 lines and 300,000 cells, output/input queues apply backpressure, and the visible grid is limited to 300 columns × 120 rows. Existing wrapped scrollback does not fully reflow on resize, complex joined-emoji layout is limited, and this implements common VT/ANSI sequences rather than complete xterm compatibility (graphics/image protocols, all terminal extensions, and configurable keymaps are not implemented). Test complex full-screen tools in a live macOS session; the external Terminal option remains available.
When closing an Explorer window, End all sessions and close stops its terminal sessions in both panes, including hidden tabs. During application Quit, End all sessions and quit stops shell sessions across every Explorer window. End session retains individual review, and Cancel leaves the sessions being reviewed running. Once bulk shutdown starts, the UI waits for all shells to be reaped before closing; no per-session confirmations are repeated. Transfer, screenshot/archive and unsaved-editor checks still apply. Closing a single terminal tab offers only that session's close confirmation.
Closing a live terminal or quitting asks before ending its shell. Cancel keeps it running. Confirming closes the PTY and reaps the shell on a worker; GPUI does not join a blocked child on its UI thread. Foreground commands normally receive a terminal hangup; intentionally detached jobs may continue. An exited shell leaves its output readable until its tab is closed. The tab close button and Command W close only that terminal tab after confirmation. Closing Explorer reviews every live terminal session in the window; quitting reviews all panes and windows. Terminal tabs are not restored on the next launch. Real PTY tests cover working directories, isolation, resize, interrupts, and cleanup; rendered tests cover command input, paste, Unicode/IME, copy, scrollback, context-menu tabs, independent shell state, hidden-pane quit review, close cancellation, and application quit review. Actual native-window interaction still needs a live macOS check.
Choose Tools → Screenshots…, use Option Command S in an Explorer window, or search for Screenshots in the command palette. The controls open in an Explorer tab and are reused when invoked again. Choose Selected area, Window, or Main screen, optionally delay by 3/5/10 seconds, and click Take screenshot. Capture runs on a worker. By default Explorer hides while capturing and returns after success, cancellation, or failure; turn this off to include an Explorer window. Area/window selection uses macOS's capture overlay; Escape cancels it. During a countdown, bring Explorer forward from the Dock to use Cancel capture. Captures finish or cancel before their tab/window closes or the application quits.
Screenshots go to ~/Pictures/Explorer Screenshots by default. Change folder… chooses a dedicated destination and remembers it across launches. Open folder creates it if necessary and opens it in an Explorer tab. Open screenshot uses Explorer's image viewer; Copy path copies the last saved screenshot's exact path. PNG filenames use the system's local date and time, for example Screenshot_20261125_103005.png (YYYYMMDD_HHMMSS, 24-hour local time); zero-padded fields include minutes and seconds. No spaces are used. Same-second collisions get _1, _2, etc. before .png to prevent overwriting an earlier file. Completed images publish atomically, cancelled/failed captures leave no empty screenshot, and cancellation terminates/reaps the capture process. Holding Control in the native selection overlay can copy to the system clipboard instead of saving; Explorer reports that no file was saved.
Capture needs macOS screen-recording permission. Explorer requests it only when you click Take screenshot. If denied, the tab explains how to enable Explorer under System Settings → Privacy & Security → Screen Recording (called Screen & System Audio Recording on some releases), and macOS may require reopening the app. Folder preferences are stored separately in ~/Library/Application Support/Explorer/screenshots. The capture engine and controls use Rust; the OS capture command is /usr/sbin/screencapture. Automated tests use fake workers and PNG fixtures and never photograph the desktop. The actual selection overlay, hide/restore behavior, and permission prompt require a live macOS check.
Vertical trackpad scrolling keeps file columns aligned, including at the end of a list and while a folder loads. Use a deliberate horizontal gesture or Shift + mouse wheel to pan wide columns. Column headers and rows move together within the file pane.
Use the command bar's View menu for layouts, Group by…, and Choose columns…. Group headers show item counts and collapse on click. Repeating a letter still cycles through matching names in every view, including collapsed groups. Each folder remembers its presentation; existing saved layouts migrate automatically.
Right-click a file or selection and choose Open With… for applications registered by macOS, with the default application listed first. Choose another application… opens a system picker for an .app bundle. This opens the selected files with that application without changing system file associations. Launch errors appear in Explorer, and launching runs outside the UI thread.
Double-click a ZIP, TAR, compressed TAR, 7z, RAR, or CPIO archive to browse it in an Explorer tab, subject to the formats supported by macOS's system libarchive. Browse folders with double-click/Enter, use Up/Backspace or Archive root, filter the current archive folder, sort headers, and select multiple items with Command/Shift. Opening a regular member prepares a temporary copy for Quick Look. Archives remain read-only; extract files to edit them. Existing Open externally and Extract ZIP actions remain available.
Extract selected… and Extract all… ask for a destination and publish a new folder, using a numbered name if necessary. Extraction never merges into an existing folder. Stop or Escape cancels the worker and removes unpublished temporary output. Closing/quitting waits for archive work to finish or stop. Unsupported/encrypted/damaged archives report an error. Absolute paths, traversal, duplicate/conflicting paths, and excessive nesting are rejected; links and special entries are listed but not extracted or followed. Catalogs are capped at 100,000 entries, extraction at 16 GiB, and Quick Look preparation at 256 MiB. Extracted regular files retain modification times and use private owner permissions; archive ACLs/resource forks/executable modes are not restored by this extractor. Closing the archive tab releases its temporary preview files.
- Dual panes: choose Tools → Dual panes beside the theme button. Each pane has its own tabs, navigation, selection, search, and transfer queue. Click the source pane, select files, and use Copy to other pane or Move to other pane. Internal drag/drop between panes also copies files. Switch back with Single pane; finish/cancel the other pane's queue before hiding it. In split mode, each pane uses a compact layout; wide command bars and detail columns scroll horizontally.
- Transfer queues: additional Paste, Duplicate, or cross-pane transfers queue behind the current operation. Open Tools → Transfer queue to inspect/remove pending jobs. Pause/Resume operates between copy chunks or atomic file operations; Cancel stops the current job and keeps completed items. Retry failed items retries only failed/cancelled transfer sources. At destination conflicts, choose Replace, Skip, or Keep Both, optionally for all conflicts in that transfer. Replace moves the old destination to macOS Trash and records it for undo; replacing a folder replaces the entire folder, rather than merging its contents. Destination identities are checked again after the decision. Undo and queues remain in memory for this session, separately per pane. Quit is cancelled while either pane has active/queued work and restores that exact window, including from the Dock or a minimized state, with a finish/cancel message. Closing the workspace is also refused while work is active. Unexpected view release requests cancellation without joining a blocked worker on the UI thread; normal quit waits for the queue to be idle before shutdown.
- Live refresh: macOS directory notifications trigger a debounced reload for creates, removals, renames, and directory metadata changes. A four-second fallback also refreshes file metadata and folders that cannot be watched. Watchers are limited to twelve folders per pane to bound file-descriptor use. Selection is retained by path; updates defer during pointer interactions. Recursive search results are a snapshot: clear the search or Refresh to rerun it.
- Saved layouts: drag the right edge of a detail-column header to resize it. Column visibility/order/widths, sort order/direction, view mode, and grouping are remembered per folder, for up to 128 folders. Preferences from both panes share the same layout store. Header sorting still works away from the resize handles.
- Batch rename: select files/folders, right-click, and choose Batch rename…. Edit the pattern, optional literal find/replace in the base name, match scope, and starting number. First (the default) replaces one occurrence per filename; Last replaces the rightmost occurrence; All replaces every non-overlapping occurrence; Beginning and End replace one occurrence only at the corresponding edge. Matching is case-sensitive; file extensions are excluded from matching, while folder names are matched in full. For example, removing
00from0001200.txtgives01200.txtwith First/Beginning,00012.txtwith Last/End, or012.txtwith All. Each new dialog starts with{name}{ext}, empty find/replace fields, and First matching. Add{n}or{n:03}explicitly when numbering is wanted. Tokens are{name},{ext}(including its dot),{n},{n:03}(zero-padded), and{date}(file modification date in the system local time zone, YYYYMMDD). Every proposed change is previewed before Apply renames or Enter. Up to 4,096 items are supported; invalid names, existing targets, and duplicate targets are rejected. Changes form one undo group. Case-only renames, swaps, and renaming into names already occupied by another selected item are deliberately rejected. A failure/cancel retains completed changes for undo. - Better search: type ordinary words to filter filenames, or combine
name:report ext:txt,json min:1KB max:20MB after:2026-01-01 before:2026-12-31. For file contents, usecontent:"invoice paid" ext:txt,json,htmland press Enter to search subfolders. Tools → Search filters… explains the syntax. Names/content ignore case; extensions accept comma-separated values; sizes use integer bytes/KB/MB/GB; dates use UTC calendar days. Content search decodes UTF-8/BOM-marked UTF-16 files up to 16 MB and does not follow symlinks. Recursive searches stop at 10,000 matches and report inaccessible entries. This is bounded filesystem search, not a Spotlight/full-disk index. - Duplicate finder: choose Tools → Find duplicates… to open a tool tab in the current Explorer window. Choose a folder, match by exact case-sensitive base name (including extension), SHA-256, or both, and choose Files, Folders, or Files and folders. Include subfolders controls whether inner files/folders are candidates. Folder checksums always cover the entire tree, even when only immediate child folders are candidates: sorted relative names, entry types, file content hashes, empty folders, and literal symlink targets. Root folder names are excluded from checksum-only matching. Hidden entries are included; symlinks are never followed or listed as independent file/folder candidates. Metadata such as permissions and timestamps is excluded from checksums. Hard links count as separate paths; no reclaimable-space estimate is claimed. Scans run in the background with progress. A persistent Stop (Esc) button and Escape stop further discovery/hashing and publish the matches already checked in the current scan. The UI shows Stopping while the worker collects these results, then updates the group list and matching paths with Stopped · PARTIAL, checked-item counts, and discovered-entry counts. Incomplete file hashes and incomplete folder trees are excluded. Completed checksum results are rechecked for changes before publication. A report completed just before Stop is also displayed as partial, rather than discarded. Previous results remain visible only while a rescan is running; even an empty stopped report replaces them so old matches are not mistaken for findings from the current scan. Matching options and Scan stay disabled while a scan is active. Select a group on the left to inspect its matching paths on the right; select a path for its full location, Copy path, and Show in Finder. Copy checksum is separate from the group titles. Filter by name, path, or checksum, sort by Most matches or Name, and expand skipped-item details when needed. Switching tabs keeps results and scans; closing the tab cancels its scan. Tool tabs are not restored as folders on restart. Results are read-only. Inventory is capped at 100,000 entries; partial results are labelled and incomplete folder checksums are excluded. Unreadable, changed, and special entries are skipped with up to 100 visible issue details. The scan is a filesystem snapshot, not a transactional lock; scan again before taking action on changed files.
- Calculated sizes: completed file operations invalidate sizes only for potentially changed paths, their descendants, and their cached parent folders, including the other pane. Unrelated calculated sizes remain visible; unrelated pending calculations resume. Explicit Refresh still clears the cache to force fresh measurements.
- Folder comparison: choose Tools → Compare folders… beside the theme button. In dual-pane mode it compares the two pane folders; otherwise select a second folder. The separate window recursively compares actual file bytes, reports Same/Changed/Left only/Right only/Different types/Unreadable, and can show differences only. Hidden entries are included, symlink targets are compared without traversal, and scanning is capped at 100,000 entries per side. Compare again reruns the scan; Cancel cooperatively stops it. Show left/right reveals an item in Finder. Comparison is read-only; it never deletes, replaces, or automatically synchronizes files.
Double-click or press Enter on .txt, .json, HTML, CSS, JavaScript/TypeScript, Rust, Python, Markdown, configuration files, and other supported source formats. Extensionless files such as Makefile, Dockerfile, README, and common dotfiles also open in the editor. A symlink uses its target's type and edits the target without replacing the symlink. Reopening a file brings its existing editor window forward. Use Edit as text in the selection context menu for other regular files, including SVG.
The editor UI, editing model, encoding support, and save logic are Rust. GPUI handles windows, rendering, keyboard/mouse dispatch, IME, clipboard access, and the system Save As picker. A small Rust AppKit delegate hook defers application termination while unsaved editor windows are reviewed, including Quit from a media viewer or the Dock. No Swift, native text view, or webview is added.
Use Command S to save, Shift Command S for Save As, Command F for find/replace, Command G for the next match, Command Z / Shift Command Z for undo/redo, and Command W to close the editor. Return follows the original line ending and current indentation; Tab inserts four spaces. Find is case sensitive. The toolbar exposes wrapping, font size, reload, and editing controls. Vertical scrolling follows mouse-wheel lines and precise trackpad pixels. A visible scrollbar supports clicking the track and dragging the thumb, including dragging beyond the editor surface. Scrolling leaves the caret and document unchanged, keeps wrapped lines scrollable, and allows the final line to be fully visible. With wrapping off, sideways trackpad gestures, Shift+wheel, and the bottom scrollbar move horizontally. Horizontal movement stops at the widest line in the document, stays stable when that line is offscreen, and updates after edits or undo. Enabling wrapping resets horizontal scrolling. Both scrollbar thumbs support clicking and dragging without changing text or selection. Dirty documents show a dot in the title. Closing or quitting offers Save, Save copy, Discard, or Cancel; reloading modified text requires a discard decision. A save failure leaves the edits available.
UTF-8, UTF-8 with BOM, and BOM-marked UTF-16 LE/BE are supported. Existing encoding, BOM, and untouched line endings are preserved. Binary data, malformed encodings, UTF-32, and files larger than 16 MB report an error. Saving stages the complete content privately before atomic replacement, retains file permissions, ACLs and extended attributes, and checks for external content/identity changes before publishing. Read-only files require Save As. Save As creates a new file and refuses to overwrite another existing file; choose a new name to keep a copy. External-edit detection is checked immediately before replacement and is not a transactional lock against concurrent writers. Lines longer than 4,096 Unicode scalars are visually split even with wrapping off. Syntax coloring is lexical rather than language-server analysis; there is no code execution, autocomplete, or compiler integration.
Editor recovery snapshots are written in the background about every two seconds after changes, with a final snapshot when a dirty editor is released unexpectedly. They live as private, atomically replaced files under ~/Library/Application Support/Explorer/Recovery, separately from the originals. A recovery window opens on startup when snapshots exist; Recover documents… opens it manually. Restore opens unsaved text without writing the original; Discard requires confirmation. Saving or explicitly discarding edits removes the snapshot. If the original changed since the snapshot, recovery requires Save As to preserve both versions. A deleted original can be recreated exclusively. Storage is bounded to 64 documents; errors are shown instead of silently evicting unsaved work. A hard crash can lose changes since the last completed snapshot.
For .json/.ipynb, Validate JSON reports line/column errors and highlights the affected line. Automatic validation runs for documents up to 1 MB; the button validates larger supported documents. Format JSON is a single undoable edit and preserves key order, duplicate keys, Unicode strings, number literals (including arbitrary-precision numbers), encoding, and line-ending style. It does not save automatically. Go to line accepts a positive line or line:column, counts Unicode scalar columns, and reveals the caret; Command L focuses that input.
Use Tabs beside Tools to list every open tab, including those beyond the visible strip. The scrollable list shows tab names, folder paths, terminal session numbers, and the active tab; dual-pane windows group tabs by pane.
| Action | Shortcut |
|---|---|
| New / close tab | Command T / Command W |
| Next / previous tab | Control Tab / Control Shift Tab, or Command Shift ] / Command Shift [ |
| Jump to tab 1–8 / last tab | Option Command 1–8 / Option Command 9 |
| Go to path / search | Command L / Command F |
| Search subfolders | Enter in search field |
| Back / forward / up | Command [ / Command ] / Command Up |
| Open / Quick Look | Enter / Space |
| Copy / cut / paste | Command C / Command X / Command V |
| Copy as path | Option Command C |
| Select by filename / cycle matching names | Type a prefix / repeat a letter |
| New folder / rename | Shift Command N / F2 |
| Duplicate / undo file operation | Command D / Command Z |
| Move to Trash | Command Backspace |
| Properties / refresh | Command I / Command R |
| Details / grid | Command 1 / Command 2 |
| Pan wide columns horizontally | Horizontal gesture / Shift + mouse wheel |
| Hidden files / preview pane | Shift Command . / Shift Command P |
Run the core and native operation tests without downloading any crates:
./scripts/test-offline.shThe core, worker, and native tests create isolated temporary directories. They cover exclusive creation/copy/move/rename, cancellation and concurrent destination replacement, read-only cleanup, inaccessible destinations, descendant-copy rejection, symlink preservation and loops, search, natural sorting, Unicode text and settings, partial/cancelled cut batches, undo conflicts and identity checks, Trash restore/history, restore collisions, permanent deletion limited to selected test items, real ZIP compression, media classification, valid/invalid image and PDF decoding, text encodings, multiline Unicode edits/undo, CRLF navigation, line wrapping, external save conflicts, symlink editing, exclusive Save As, read-only files, permissions, and macOS extended attributes. They never delete from the user's real Trash. Live native Trash, clipboard, Quick Look, and media controls require interactive validation. To keep test output outside the project, set EXPLORER_TEST_OUTPUT_DIR to a temporary directory when running the offline script.
With dependency access, also run:
cargo check --all-targets
cargo test
cargo runThe rendered-row regression tests exercise real GPUI layout and event dispatch without a WindowServer connection:
./scripts/test-ui.sh
# In a restricted environment with cached dependencies:
./scripts/test-ui.sh --offlineThese tests reproduce the old Fn-flag failure and cover list/grid activation, native/synthetic click counts, interrupted releases, press pairs without click completions, icon-to-label movement, single-click selection, already-selected and multiply-selected folders, selection modifiers, Enter, folder symlinks, pointer jitter, Terminal availability/target selection, asynchronous folder measurement, size sorting, cancellation/stale results, New/Sort/View menu actions, and editor typing, cursor placement, Unicode undo/redo, saving, find/replace, external-edit errors, unsaved-close cancellation, wheel/trackpad scrolling, scrollbar click/drag, scroll boundaries, caret hit-testing after a partial-line scroll, scrolling wrapped lines, precise horizontal gestures, Shift+wheel, horizontal track/drag, horizontal end limits, offscreen-width stability, width updates after editing/undo, and mouse/keyboard caret placement after horizontal scrolling. The ordinary test command uses unmodified GPUI test support. Offline preparation uses the cached GPUI source and replaces only diagnostic backtraces with std::backtrace, while disabling unused Git utilities; input, layout, rendering, and application code are unchanged. Offline adapters stay under ignored target/ and are never linked into the app. Tests do not write the user's saved preferences or input log.
Before a release, manually validate native dragging into Finder/other apps, the Open With application picker and launches, 7z/RAR support on the target macOS, and the window on macOS: tabs/history, multi-selection, internal and Finder file drops, clipboard interoperability, IME, previews, permission-denied folders, native Trash/undo, large transfers/cancellation, image zoom/navigation, video playback/seek/loop/full screen, PDF search/unlock/text copy, and window closure during an operation. These interactive checks are outstanding. The new dual-pane workflows, native directory notifications, large queues with macOS Trash replacements, and recovery startup should also be exercised in a live macOS session. The new editor also needs interactive macOS validation for IME composition, the system Save As picker, window controls, and application-quit decisions across multiple editor/media windows.
This is a substantial first version, not complete Windows Explorer parity. This PC browses /, Network & volumes browses /Volumes, and Trash aggregates accessible user Trash folders. Original locations are recorded for items deleted through Explorer; items deleted by Finder/other apps or records older than the bounded 4,096-entry history use Restore to… to choose a destination. macOS may require Full Disk Access for Trash browsing; an access error explains how to enable it. Remaining features include editable permissions/ACLs, Finder tags, Spotlight/indexed full-disk search, thumbnail caching, richer media-metadata columns, direct SMB/SFTP connections, merging into existing folders, automatic folder synchronization, persistent undo, and crash-resumable transfers. Mounted network volumes can be browsed through /Volumes.
Media decoding and playback use the formats/codecs available in macOS; unsupported or damaged media reports an error, and Open externally remains available. Native media window controls and live playback still require interactive validation. File timestamps are shown in the system local time zone, including daylight saving where applicable. Text previews read at most 32 KB. Text cursor movement follows Unicode scalar boundaries rather than full grapheme clusters. ZIP extraction is delegated to Archive Utility and is not tracked in the application's undo stack. Cancellation is cooperative; compression and native Trash finish their current item before stopping. Normal app closure waits for the active worker to clean up; force-killing a process may leave an incomplete copy. If removal of a source fails during a cross-volume move, the completed destination copy is retained and an error is shown.
Preferences live at ~/Library/Application Support/Explorer/session. Tabs, pins, theme, hidden-file visibility, view mode, and preview-pane visibility are saved. Navigation history and the undo stack last for the current session.
For the ongoing double-click investigation, ~/Library/Application Support/Explorer/input.log records version/PID, root mouse-down events, row activation decisions, paths opened, navigation, and errors. It rotates at 128 KiB into input.previous.log, stays local, and is disabled in tests. If opening still fails, the log distinguishes missing platform events, row dispatch, and filesystem failures.
-
src/terminal.rs,src/terminal/pty.rs,src/terminal_window.rs: bounded terminal screen, independent macOS PTY workers, GPUI windows, input/selection, and session close/quit handling. -
src/screenshots.rs,src/screenshot_window.rs: capture workers, dedicated-folder preferences, cancellation, atomic PNG publication, and screenshot controls. -
src/app.rs: GPUI workspace/panes, navigation, queues/conflicts, layout controls, batch preview, menus, and event routing. -
src/search.rs,src/batch.rs,src/compare.rs,src/watch.rs: bounded structured search, exclusive rename plans, read-only byte comparison, and macOS directory notifications. -
src/recovery.rs,src/recovery_window.rs,src/json_tools.rs,src/tools_window.rs: private editor recovery, recovery review, lossless JSON formatting/validation, and comparison windows. -
src/features_tests.rs: isolated feature and recovery regressions. -
src/input.rs,src/text.rs: native text input and Unicode range handling. -
src/views.rs: view modes, grouping keys, column presentation, and grouped row construction. -
src/archive.rs: libarchive catalogs, path validation, cancellation, and staged selected extraction. -
src/archive_window.rs: archive browsing, selection, preview preparation, and extraction in Explorer tabs. -
src/interaction.rs: native/synthetic click activation and pointer/drag regression tests. -
src/fs.rs: dependency-free filesystem engine and unit tests. -
src/jobs.rs: background operations and undo bookkeeping. -
src/trash.rs: scoped restore/permanent deletion, mounted-volume Trash listing, and persistent original-location history. -
src/native.rs,native/macos.m: macOS integrations and file clipboard bridge. -
src/media.rs,src/media/conversion.rs,native/media.m: media classification, folder playlists, cancellable FFmpeg workers, and native image, AVKit video/audio, and PDFKit viewer windows. -
src/editor.rs,src/editor_window.rs,src/editor_quit.rs: Rust text/code classification, strict encodings, multiline editing/undo, atomic saves, GPUI editor windows, and unsaved-quit review. -
src/session.rs: bounded, atomic preferences storage, including non-UTF-8 paths. -
src/icons.rs: embedded SVG icon assets. -
tests/operations.rs: native filesystem integration tests. -
tests/jobs.rs: isolated transfer retry and Trash worker regressions. -
tests/gpui/: rendered GPUI event regression suite, including native quit-state simulation, save/cancel/retry, multiple editors, busy-window closure, and blocked-worker release. -
.github/workflows/macos.yml: macOS checks, tests, and a downloadable app archive.
The requested destination is kingbotss/explorer-gpu.
To publish from a Terminal with GitHub authentication and network access:
./scripts/publish.shThe script clones existing remote history into a temporary checkout, overlays the source, commits changes, and pushes the checked-out branch. It never force-pushes or needs to write .git inside this source workspace. Generated binaries, build caches, and offline test adapters are excluded.
GPUI API reference: gpui 0.2.2.