
內容簡介
Disk Usage Sunburst 是一款現代化的 WordPress 外掛,透過互動式的日冕圖來視覺化網站的磁碟使用情況,幫助用戶快速識別佔用儲存空間的大型檔案和目錄。
【主要功能】
• 互動式日冕圖:可點擊放大/縮小目錄結構
• 實時提示:懸停顯示檔案/目錄詳細資訊
• 性能設定:可配置大型安裝的限制
• 快取管理:智能快取及手動清除選項
• 多站點相容:無縫運行於 WordPress 多站點網路
• 開發者友好:提供動作鉤子、過濾鉤子及 REST API 端點
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Disk Usage Sunburst 2.0 is a completely modernized WordPress plugin that visualizes your site’s disk usage through an interactive sunburst chart. Quickly identify large files and directories that may be consuming valuable storage space on your WordPress installation.
✨ New in Version 2.0
Modern Architecture: Complete rewrite with object-oriented PHP and PSR-4 autoloading
Enhanced Security: Proper nonce validation, capability checks, and input sanitization
Performance Optimized: Timeout protection, memory management, and intelligent caching
D3.js v7: Upgraded to the latest D3.js version with smooth animations and mobile support
REST API: Full REST API endpoints for developers and external integrations
Better UX: Responsive design, progress indicators, and detailed error reporting
Export Options: Export charts as PNG, SVG, or raw JSON data
WordPress 6.9+ Ready: Tested with the latest WordPress versions
🎯 Key Features
Interactive Sunburst Chart: Click to zoom in/out through your directory structure
Real-time Tooltips: Hover for detailed file/directory information
Performance Settings: Configurable limits for large installations
Cache Management: Smart caching with manual cache clearing options
Multisite Compatible: Works seamlessly on WordPress multisite networks
Developer Friendly: Action hooks, filters, and REST API endpoints
Accessibility: Keyboard navigation and screen reader support
🔧 Technical Requirements
WordPress 5.0 or higher
PHP 7.4 or higher
Modern browser with SVG support
🎨 How to Use
Navigate to Tools -> Disk Usage in your WordPress admin
Click “Start Scan” to analyze your installation
Interact with the sunburst chart:
Click on any arc to zoom into that directory
Click the center circle to zoom back out
Hover over arcs to see detailed information
Use keyboard: ESC to zoom out, Home to return to root
🔌 Developer Features
REST API endpoints at /wp-json/disk-usage/v1/
Action hooks: rbdusb_scan_completed, rbdusb_scan_error
Filter hooks: rbdusb_exclude_paths, rbdusb_scan_results
WP-CLI support (coming soon)
Questions? Contact us: support (at) raidboxes.de
Thanks
Thanks to Mike Bostock for his great “d3js”: http://d3js.org
Thanks to Mike Bostock for his awesome “Zoomable Sunburst” implementation: http://bl.ocks.org/mbostock/4348373
Thanks to Jeffrey Sambells for his “Human Readable File Size with PHP”: http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
