tkslucas/Neodisk
À propos
Visualiseur en lecture seule de l’espace disque sous forme de treemap et de diagramme sunburst.
Autres projetsWhat you can do
- Treemap: pinch to zoom, scroll to pan
- Sunburst: pinch to drill in and out
- Outline selected files
- Find largest files
Progression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +8
- in 15 days
- +16
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalNeodisk
Disk space visualizer for macOS and Linux.
Treemap and sunburst views on the NeodiskKit scan engine.
Download
Download
Download Neodisk.dmg and drag Neodisk onto the Applications folder.
Or with Homebrew:
brew install --cask neodisk
Requires macOS 14 (Sonoma) or later, on Apple silicon or Intel.
Nightly builds (macOS):
brew tap tkslucas/neodisk
brew trust tkslucas/neodisk
brew install --cask neodisk@nightly
The nightly updates itself and installs beside the stable app.
Linux
Download the AppImage for x86_64 or ARM64, make it executable and run it. Or build and install from source (below). The Linux app is a native GTK 4 / libadwaita application and needs GTK 4.14 and libadwaita 1.5 or newer (Ubuntu 24.04, Fedora 40, Debian 13, and later); the AppImage bundles them and needs a system as new as Ubuntu 24.04.
About
Careful cleanup. Scanning only reads. To free space, collect items in Cleanup at the bottom of the sidebar (drag them there or onto the toolbar's trash button from any view, or press ⌘⌫), review them, and move them to the Trash after one confirmation. Neodisk never deletes anything itself: items go to the Trash, so you can still get them back. It refuses system folders, volumes, your home folder and its standard folders, and checks right before each move that the item is still the one it scanned. On Linux, Move to Trash is in the right-click menu. You can turn all of it off in Settings.
Native on each platform. The scan engine, tree model, treemap and sunburst geometry, statistics, and search are one shared Swift core; the macOS app is SwiftUI and AppKit, the Linux app is GTK 4 and libadwaita. See ARCHITECTURE.md.
Features
- Treemap: pinch to zoom, scroll to pan
- Sunburst: pinch to drill in and out
- Outline selected files
- Find largest files
- File type statistics
- Age heatmap, color the treemap by last-modified date
- Duplicate finder with content-hash verified duplicates
- Fast scanning with live progress
- Search:
⌘Ffuzzy search over the entire scan - Quick Look on spacebar (macOS)
- Arrow keys walk the folder tree the same way in the list and the maps:
→goes in,←back out,↑↓to the item before or after - Drill into a folder with
Returnor⌘↓, drill back out with⌘↑, or click folders in the breadcrumb bar - Snapshots, completed scans persist and reopen instantly
- Changes tab lists what got added, deleted, renamed, grew or shrank since the previous scan (macOS)
- Show Package Contents: apps and bundles stay solid like in Finder until you expand them (macOS)
- Free and hidden space for volume scans
- Sidebar volumes show a kind-colored usage bar
- Sidebar sections collapse from their header; right-click one to choose the sections shown
- Hide what you don't use where it is: right-click the view picker, the status bar or, on macOS, the file list's header; the View menu (the main menu on Linux) brings it back
- Auto-updates via Sparkle (macOS)
- Multilingual: UI follows the system language: English, Spanish, French, German, Italian, Brazilian Portuguese, Japanese, and Simplified Chinese
The Linux app covers the core views (treemap, sunburst, outline, largest files, kind and age statistics, search, saved scans, keyboard navigation). The duplicates and changes tabs and incremental rescans are macOS-only for now; Linux has no persistent file-change journal, so every rescan there is a full scan.
Build & Run
macOS
Requires macOS 14+ and a Swift 6 toolchain. No Xcode needed, the Xcode Command Line Tools are enough.
swift run -c release Neodisk # build and launch directly
swift test # full test suite (engine + treemap + UI)
Linux
Requires a Swift 6.4 toolchain (swift.org/install) and the GTK development packages:
sudo apt install libgtk-4-dev libadwaita-1-dev libzstd-dev pkg-config # Debian/Ubuntu
sudo dnf install gtk4-devel libadwaita-devel libzstd-devel # Fedora
swift run -c release neodisk # build and launch directly
swift test # core, shared model and treemap suites
Packaging/linux/install.sh # install to ~/.local (menu entry, icon)
install.sh links the Swift runtime statically, so the installed app needs
only GTK 4 and libadwaita, not a Swift toolchain.
Windows
The shared core and the diskscan command-line scanner build and pass their
tests on Windows; the app is in progress. Requires Windows 10 or 11, Swift
6.4.2 (swift.org/install) and
Visual Studio 2022's C++ build tools with a Windows SDK:
swift build # core and diskscan
swift test # core, shared model and treemap suites
swift run -c release diskscan C:\Users # scan from the command line
Planned
- Windows: a native Win32 and Direct2D app over the same core (see ARCHITECTURE.md)
- Linux: Flatpak packaging, the duplicates and changes tabs
Credits
- Disk Inventory X by Tjark Derlien and GrandPerspective by Erwin Bonsma, the cushion-treemap disk viewers this UI follows. No code from either is used.
- Radix by Colin Kim (MIT), the scan engine and core data model NeodiskKit is derived from, and the sunburst visualization is ported from. Huge inspiration.
- DaisyDisk by Software Ambience and SquirrelDisk by Adileo, the sunburst disk viewers that view follows. No code from either is used.
- Cushion treemaps: van Wijk & van de Wetering, INFOVIS 1999. Squarified treemaps: Bruls, Huizing & van Wijk, 2000.
License
GPL-3.0-or-later. See LICENSE, Radix attribution is preserved there.
Explorer des projets similaires
Chargement…