# Sunflower for Raycast

URL: https://www.raycast.com/itsdanielsultan/sunflower

> Control Sunflower's disk analysis views, rescan the current disk, and navigate a completed scan.

- Install: raycast://extensions/itsdanielsultan/sunflower
- Author: [Daniel Sultan](https://www.raycast.com/itsdanielsultan)
- Installs: 1
- Platforms: macOS
- Categories: System, Productivity
- Updated: 2026-12-01
- Source: https://github.com/raycast/extensions/tree/ea9bb93187b341341398b0f33cf9469ed6ce0783/extensions/sunflower/

## Commands

- **Show Largest Files**: Show Sunflower's Largest view for the folder currently selected in its disk scan
- **Rescan Disk**: Request a new scan of the disk currently selected in Sunflower
- **Control Sunflower**: Switch disk analysis views, rescan, and navigate the current Sunflower scan using its native menus

## README

### Sunflower

Control [Sunflower for Mac](https://sunflower.karakabakov.com/) from Raycast. Sunflower is the disk space analyzer by Gjorge Karakabakov.

#### Commands

- **Control Sunflower** — search for a view, navigate the current scan, rescan the selected disk, preview the selected item, or reveal it in Finder. A **Disks** section shows free space and usage for every mounted volume, color-coded as it fills up.
- **Show Largest Files** — switch Sunflower to its Largest view for the current folder. Assign a Raycast hotkey to reach it directly.
- **Rescan Disk** — request another scan of the disk selected in Sunflower. The command confirms the request; Sunflower displays scan progress and results.

The six views are Rings, Treemap, List, Largest, Kinds, and Untouched. Navigation includes Back, Forward, and Enclosing Folder. Actions apply to Sunflower's current disk, folder, and selected item.

#### Requirements

1. Sunflower 1.2 or later, with its English menus, on an Apple silicon Mac with macOS 15 or later.
2. Raycast permission under **System Settings → Privacy & Security → Accessibility**.
3. Allow Raycast to control **System Events** under **Privacy & Security → Automation** when macOS asks.
4. Select a disk and complete a scan in Sunflower before using views or navigation. Select an item before Quick Look or Reveal in Finder.

The extension identifies Sunflower by its bundle identifier (`com.sunflower.app`) and uses the app's native menu actions. Sunflower may need Full Disk Access to include protected locations in its scan; that permission belongs to Sunflower, rather than this extension.

#### Scope

This extension controls the supported menus introduced in [Sunflower 1.2](https://sunflower.karakabakov.com/whats-new/). Sunflower does not document an API for searching or exporting its scan data, so results remain in the app. Unavailable native commands show a failure message rather than a success acknowledgement.

Deletion, uninstalling applications, reclaiming storage, and granting administrator scanning rights remain in Sunflower's interface. The extension has no deletion commands. It makes no network requests and does not read files from your scan.

Raycast already includes app launching and Search Menu Bar Items. This package adds direct Sunflower view and rescan commands plus a focused control list, rather than a general disk scanner.
