Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift
compiled_raycast_rust

# misc
.DS_Store
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"printWidth": 120,
"printWidth": 80,
"singleQuote": false
}
}
12 changes: 12 additions & 0 deletions extensions/disk-usage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Disk Usage Changelog

## [Initial Version] - {PR_MERGE_DATE}

- Initial release of Disk Usage extension
- Scan home directory to identify large files and folders
- Visual size indicators with usage bars
- Navigate through folders using Action.Push
- Delete files and folders directly from the extension
- Bulk selection and deletion support
- Automatic size recalculation when files are deleted
- Support for denied access items display
38 changes: 38 additions & 0 deletions extensions/disk-usage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Disk Usage

Analyze disk space usage and identify large files and folders in your home directory. This extension helps you quickly find what's taking up space on your Mac.

## Features

- **Disk Space Analysis**: Scan your home directory to identify large files and folders
- **Visual Size Indicators**: See file sizes with visual usage bars
- **Navigate Folders**: Browse through directories to find space-consuming files
- **Delete Files**: Move files and folders to Trash directly from the extension
- **Bulk Selection**: Select multiple items for batch deletion
- **Size Updates**: Automatically recalculates folder sizes when files are deleted

## Requirements

- **macOS**: This extension requires macOS and uses the `du` command
- **Full Disk Access**: The extension needs Full Disk Access permissions to scan your home directory

### Granting Full Disk Access

1. Open **System Settings** (or **System Preferences** on older macOS versions)
2. Go to **Privacy & Security** → **Full Disk Access**
3. Click the **+** button to add an application
4. Navigate to `/Applications/Raycast.app` and add it
5. Make sure the checkbox next to Raycast is enabled

## Usage

1. Open Raycast and search for "Disk Usage"
2. The extension will automatically scan your home directory
3. Browse through folders by selecting them
4. Use **⌘S** to select files for bulk deletion
5. Use **⇧⌫** (Shift+Delete) to delete individual files
6. Navigate back using **⌘[** or the back button

## Permissions

This extension requires Full Disk Access to scan your home directory. Without this permission, the scan will fail with an error message.
Binary file added extensions/disk-usage/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions extensions/disk-usage/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const { defineConfig } = require("eslint/config");
const raycastConfig = require("@raycast/eslint-config");

module.exports = defineConfig([
...raycastConfig,
]);
Binary file added extensions/disk-usage/metadata/disk-usage-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/disk-usage/metadata/disk-usage-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/disk-usage/metadata/disk-usage-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/disk-usage/metadata/disk-usage-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/disk-usage/metadata/disk-usage-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading