MCPcopy Index your code
hub / github.com/Ezeny1337/DiskClarity

github.com/Ezeny1337/DiskClarity @3.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.3.0 ↗ · + Follow
257 symbols 566 edges 64 files 16 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DiskClarity Logo

📑 概述特性安装支持许可证

🌐 English | 中文


📖 概述

DiskClarity 是一款开源的高性能轻量化磁盘空间分析工具,使用 MFT 与现代化 UI 提供极快的扫描速度和全面的存储分析。

🚀 特性

⚡ 极致性能

  • NTFS MFT 直接解析: 直接读取 NTFS 的主文件表 (MFT) 进行极速扫描
  • Rust 驱动后端: 内存安全、零成本抽象,最大化性能
  • 并行处理: 使用 Rayon 库实现多线程扫描
  • 内存占用优化: 极致的运行内存占用优化,媲美原生体验
  • 数据传输优化: 尽可能减少前后端数据传输量

🎯 高级分析

  • 快照系统: 保存并比较磁盘文件的变化
  • 交互式可视化: Treemap 图表和分层文件树
  • 分组筛选: 按类型、扩展名分组文件或自定义搜索文件
  • 全面排序: 按名称、大小、修改时间或文件数量排序

🎨 现代界面

  • 多标签设计: 同时处理多个分析任务
  • 流畅动画: Framer Motion 驱动的微交互
  • 响应式布局: Material-UI 组件配合 Tailwind CSS 样式
  • 国际化支持: 完整的 i18next 支持

🎨 UI

ss1 ss2 ss3

🧰 安装

系统要求

  • Windows 10/11(MFT 解析需要 NTFS 文件系统,需要管理员运行)
  • Node.js 18+(开发环境)
  • Rust 1.70+(从源代码构建)

预构建版本

GitHub Releases 下载最新版本:

  • 便携版可用
  • diskclarity-setup.exe - Windows 安装程序
  • diskClarity.msi - 备用 Windows 安装程序

从源代码构建

# 克隆仓库
git clone https://github.com/Ezeny1337/DiskClarity.git
cd DiskClarity

# 安装依赖
npm install

# 开发模式
npm run tauri dev

# 生产构建
npm run tauri build

🛠️ 支持

如果您想要报告错误,可以 在 Github 上创建 issue

Discord :ez3nyck

QQ: 3443374192

⚖️ 许可证

Copyright [2025] [Ezeny1337]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Extension points exported contracts — how you extend this code

SnapshotMeta (Interface)
(no doc)
src/types/snapshot.ts
ChangelogDialogProps (Interface)
(no doc)
src/components/ChangelogDialog.tsx
DiskSearchCriteria (Interface)
(no doc)
src/utils/diskSearch.ts
ChangelogState (Interface)
(no doc)
src/store/appStore.ts
UpdateInfo (Interface)
(no doc)
src/services/updateService.ts
DiffEntry (Interface)
(no doc)
src/types/snapshot.ts
HomeCardProps (Interface)
(no doc)
src/components/HomePage.tsx
BreadcrumbItem (Interface)
(no doc)
src/utils/snapshotUtils.ts

Core symbols most depended-on inside this repo

formatBytes
called by 20
src/utils/format.ts
updateTabData
called by 13
src/utils/tabNavigation.ts
cn
called by 13
src/lib/utils.ts
updateCurrentTabData
called by 12
src/utils/tabNavigation.ts
read_u16
called by 9
src-tauri/src/mft_parser.rs
isVirtualGroupPath
called by 8
src/utils/groupingUtils.ts
read_u32_le
called by 7
src-tauri/src/ntfs_io.rs
syncFlat
called by 5
src/store/appStore.ts

Shape

Function 188
Interface 41
Class 16
Method 9
Enum 3

Languages

TypeScript69%
Rust31%

Modules by API surface

src-tauri/src/commands.rs18 symbols
src-tauri/src/snapshot.rs15 symbols
src-tauri/src/ntfs_io.rs14 symbols
src-tauri/src/models.rs12 symbols
src/utils/treemapUtils.ts11 symbols
src/utils/diskSearch.ts10 symbols
src/utils/snapshotUtils.ts9 symbols
src/utils/groupingUtils.ts9 symbols
src/services/snapshotService.ts8 symbols
src/components/scan/TreemapView.tsx7 symbols
src/components/scan/ScanView.tsx7 symbols
src/components/scan/FileList.tsx7 symbols

For agents

$ claude mcp add DiskClarity \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact