ๆบ่ฝMacๆธ ็ๅทฅๅ ท - AI้ฉฑๅจ็็ฃ็็ฉบ้ดไผๅ่งฃๅณๆนๆก
- ๆบ่ฝ็ฃ็ๅๆ: ๅบไบAI็ๅญๅจ็ฉบ้ดๅๆๅไผๅๅปบ่ฎฎ
- ไธชๆงๅๆธ ็ๆนๆก: ๆ นๆฎไฝฟ็จไน ๆฏๆไพๅฎๅถๅๆธ ็็ญ็ฅ
- ้ฃ้ฉ่ฏไผฐ: ๆบ่ฝ่ฏไผฐๆธ ็ๆไฝ็ๅฎๅ จๆง
- ๆบ่ฝๅฟซ็ งๅ็ฑป: ่ชๅจๅบๅ็ณป็ปๆดๆฐๅฟซ็ งๅๆถ้ดๆบๅจๅฟซ็ ง
- ๅฎๅ
จๆธ
็: ไฝฟ็จ
tmutil thinlocalsnapshots
ๅฎๅ จๆธ ็ๆถ้ดๆบๅจๅฟซ็ ง - ็ฉบ้ด้ขไผฐ: ๅ็กฎไผฐ็ฎๅฟซ็ งๅ ็จ็็ฃ็็ฉบ้ด
- ๅค็ฑปๅๆไปถๆธ ็: ็ผๅญใๆฅๅฟใไธดๆถๆไปถใไธ่ฝฝๆไปถ็ญ
- ็ฝๅๅไฟๆค: ไฟๆค้่ฆๆไปถๅๅบ็จไธ่ขซ่ฏฏๅ
- ๅฎๆถ่ฟๅบฆ: ๆธ ็่ฟ็จๅฏ่งๅ๏ผๅฎๆถๆพ็คบ่ฟๅบฆๅ็ปๆ
- ็พ่งUI: ๅบไบAnt Design็็ฐไปฃๅ็้ข่ฎพ่ฎก
- ๆต็ ไฝ้ช: React + TypeScriptๆๅปบ็ๅๅบๅผ็จๆท็้ข
- ๅ็ๆง่ฝ: Tauriๆกๆถๆไพ็ๅ็ๅบ็จๆง่ฝ
- macOS 10.15 ๆๆด้ซ็ๆฌ
- ่ณๅฐ 100MB ๅฏ็จ็ฃ็็ฉบ้ด
- ๅๅพ Releases ้กต้ข
- ไธ่ฝฝๆๆฐ็ๆฌ็
.dmg
ๆไปถ - ๅๅปๅฎ่ฃ ๅ ๅนถๆๆฝๅฐๅบ็จ็จๅบๆไปถๅคน
# ๅ
้ไปๅบ
git clone https://github.com/GitDzreal93/clean-your-mac.git
cd clean-your-mac
# ๅฎ่ฃ
ไพ่ต
pnpm install
# ๅผๅๆจกๅผ่ฟ่ก
pnpm run tauri dev
# ๆๅปบ็ไบง็ๆฌ
pnpm run tauri build
- ๅ็ซฏๆกๆถ: React 19.1.0 + TypeScript
- UI็ปไปถๅบ: Ant Design 5.27.0
- ๆก้ขๆกๆถ: Tauri 2.x
- ๅ็ซฏ่ฏญ่จ: Rust
- ็ถๆ็ฎก็: Zustand
- ๅพ่กจๅบ: ECharts
- ๆๅปบๅทฅๅ ท: Vite
# ๅฎ่ฃ
Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# ๅฎ่ฃ
Node.js (ๆจ่ไฝฟ็จ nvm)
nvm install 18
nvm use 18
# ๅฎ่ฃ
pnpm
npm install -g pnpm
# ๅฎ่ฃ
Tauri CLI
cargo install tauri-cli
clean-your-mac/
โโโ src/ # React ๅ็ซฏๆบ็
โ โโโ components/ # React ็ปไปถ
โ โโโ services/ # ไธๅก้ป่พๆๅก
โ โโโ types/ # TypeScript ็ฑปๅๅฎไน
โ โโโ assets/ # ้ๆ่ตๆบ
โโโ src-tauri/ # Tauri ๅ็ซฏๆบ็
โ โโโ src/ # Rust ๆบ็
โ โโโ icons/ # ๅบ็จๅพๆ
โ โโโ Cargo.toml # Rust ไพ่ต้
็ฝฎ
โโโ public/ # ๅ
ฌๅ
ฑ้ๆๆไปถ
โโโ dist/ # ๆๅปบ่พๅบ็ฎๅฝ
# ๅฏๅจๅผๅๆๅกๅจ
pnpm run tauri dev
# ๆๅปบๅ็ซฏ
pnpm run build
# ๆๅปบๅบ็จ
pnpm run tauri build
# ็ฑปๅๆฃๆฅ
pnpm run type-check
ๆไปฌๆฌข่ฟๆๆๅฝขๅผ็่ดก็ฎ๏ผ่ฏทๆฅ็ CONTRIBUTING.md ไบ่งฃ่ฏฆ็ปไฟกๆฏใ
- Fork ๆฌไปๅบ
- ๅๅปบ็นๆงๅๆฏ (
git checkout -b feature/AmazingFeature
) - ๆไบคๆดๆน (
git commit -m 'Add some AmazingFeature'
) - ๆจ้ๅฐๅๆฏ (
git push origin feature/AmazingFeature
) - ๅๅปบ Pull Request
ๅฆๆ่ฟไธช้กน็ฎๅฏนไฝ ๆๅธฎๅฉ๏ผ่ฏท่่ๆฏๆไธไธ๏ผไฝ ็ๆฏๆๆฏๆไปฌๆ็ปญๆน่ฟ็ๅจๅใ
ๆฌ้กน็ฎ้็จ MIT ่ฎธๅฏ่ฏ - ๆฅ็ LICENSE ๆไปถไบ่งฃ่ฏฆๆ ใ
- Tauri - ่ทจๅนณๅฐๆก้ขๅบ็จๆกๆถ
- React - ็จๆท็้ขๅบ
- Ant Design - ไผไธ็บงUI่ฎพ่ฎก่ฏญ่จ
- Rust - ็ณป็ป็ผ็จ่ฏญ่จ
- ้กน็ฎไธป้กต: https://github.com/GitDzreal93/clean-your-mac
- ้ฎ้ขๅ้ฆ: Issues
- ๅ่ฝๅปบ่ฎฎ: Discussions
ๅฆๆ่ฟไธช้กน็ฎๅฏนไฝ ๆๅธฎๅฉ๏ผ่ฏท็ปๆไปฌไธไธช โญ๏ธ
- Intelligent Disk Analysis: AI-driven storage space analysis and optimization recommendations
- Personalized Cleanup Plans: Customized cleaning strategies based on usage patterns
- Risk Assessment: Smart evaluation of cleanup operation safety
- Smart Snapshot Classification: Automatically distinguish between system update snapshots and Time Machine snapshots
- Safe Cleanup: Use
tmutil thinlocalsnapshots
for secure Time Machine snapshot cleanup - Space Estimation: Accurate estimation of disk space occupied by snapshots
- Multi-type File Cleanup: Cache, logs, temporary files, downloads, and more
- Whitelist Protection: Protect important files and applications from accidental deletion
- Real-time Progress: Visualized cleanup process with real-time progress and results
- Beautiful UI: Modern interface design based on Ant Design
- Smooth Experience: Responsive user interface built with React + TypeScript
- Native Performance: Native application performance provided by Tauri framework
- macOS 10.15 or later
- At least 100MB available disk space
- Go to Releases page
- Download the latest
.dmg
file - Double-click the installer and drag to Applications folder
# Clone repository
git clone https://github.com/GitDzreal93/clean-your-mac.git
cd clean-your-mac
# Install dependencies
pnpm install
# Run in development mode
pnpm run tauri dev
# Build for production
pnpm run tauri build
- Frontend Framework: React 19.1.0 + TypeScript
- UI Component Library: Ant Design 5.27.0
- Desktop Framework: Tauri 2.x
- Backend Language: Rust
- State Management: Zustand
- Chart Library: ECharts
- Build Tool: Vite
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install Node.js (recommended using nvm)
nvm install 18
nvm use 18
# Install pnpm
npm install -g pnpm
# Install Tauri CLI
cargo install tauri-cli
clean-your-mac/
โโโ src/ # React frontend source code
โ โโโ components/ # React components
โ โโโ services/ # Business logic services
โ โโโ types/ # TypeScript type definitions
โ โโโ assets/ # Static resources
โโโ src-tauri/ # Tauri backend source code
โ โโโ src/ # Rust source code
โ โโโ icons/ # Application icons
โ โโโ Cargo.toml # Rust dependency configuration
โโโ public/ # Public static files
โโโ dist/ # Build output directory
# Start development server
pnpm run tauri dev
# Build frontend
pnpm run build
# Build application
pnpm run tauri build
# Type checking
pnpm run type-check
We welcome all forms of contributions! Please see CONTRIBUTING.md for details.
- Fork this repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Create a Pull Request
If you find this project helpful, consider buying me a coffee! Your support helps keep this project alive and growing.
This project is licensed under the MIT License - see the LICENSE file for details.
- Tauri - Cross-platform desktop application framework
- React - User interface library
- Ant Design - Enterprise-class UI design language
- Rust - Systems programming language
- Project Homepage: https://github.com/GitDzreal93/clean-your-mac
- Bug Reports: Issues
- Feature Requests: Discussions
If this project helps you, please give us a โญ๏ธ
Made with โค๏ธ for Mac users worldwide