Skip to content

Dharaneesh20/Smart-Disk-Analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

110 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart Disk Analyzer

Free & Open Source Disk & Partition Manager for Windows & Linux

A powerful, completely free alternative to AOMEI Partition Assistant and other commercial disk management tools. No registration, no hidden costs, no data collection - just a clean, open-source solution for managing your disks and partitions.

🌐 Official Website: https://dharaneesh20.github.io/Smart-Disk-Analyser/

License Platform Java React

πŸ”— Quick Links

πŸ“₯ Download

Windows

Linux (Ubuntu/Debian)

Visit our website for detailed download instructions and system requirements.

πŸ“Έ Screenshots

Dashboard - Real-time Disk Statistics

Dashboard Real-time disk statistics, partition health monitoring, and visual charts showing file type distribution and storage usage.

Disk Scanner - Analyze Directory Contents

Disk Scanner Recursively scan directories with customizable depth. View detailed file information including name, type, size, and path.

Partition Manager - Comprehensive Disk Management

Partition Manager Comprehensive partition management with health indicators. View capacity, usage, and perform operations on all partitions.

Duplicate Finder - Find Redundant Files

Duplicate Finder MD5 hash-based duplicate detection. Find duplicate groups and see potential space savings at a glance.

Large Files - Identify Space Consumers

Large Files Set size thresholds to find large files consuming disk space. Perfect for identifying cleanup candidates.

✨ Features

πŸ” Disk Analysis

  • Fast Directory Scanning: Recursively scan directories with customizable depth
  • Duplicate File Detection: Find duplicate files using MD5 hash comparison
  • Large File Finder: Identify files consuming excessive disk space
  • File Type Statistics: Visual breakdown of storage usage by file type
  • Disk Health Monitoring: Real-time partition health status

πŸ’Ύ Partition Management

  • View All Partitions: Complete overview of all disk partitions
  • Partition Health Check: Monitor usage and health status
  • Create Partitions: Create new partitions with custom size and file system
  • Delete Partitions: Remove unwanted partitions safely
  • Format Partitions: Format as NTFS, FAT32, or exFAT
  • Resize Partitions: Shrink or extend partitions dynamically
  • Change Drive Letters: Reassign drive letters easily
  • Set Active Partition: Mark partitions as bootable

πŸ› οΈ Advanced Features (Comparable to AOMEI)

  • MBR/GPT Conversion: Convert between partition table formats
  • Disk Cleaning: Securely wipe disks and partitions
  • Administrator Detection: Automatic privilege checking
  • Command-line Integration: Uses native Windows diskpart
  • Safe Operations: Built-in safety checks and validations

πŸ“Š Dashboard & Visualization

  • Real-time Statistics: Live disk usage statistics
  • Interactive Charts: Pie charts and bar graphs for data visualization
  • Health Status Indicators: Color-coded warnings for low disk space
  • Multiple Views: Dashboard, Scanner, Duplicates, Large Files, Partitions

πŸš€ Getting Started

For End Users

Windows Installation

  1. Download the latest installer from Releases or our website
    • Full Installer (recommended): Complete installation with Start Menu integration
    • Portable Version: Run directly without installation
  2. Run the installer (administrator privileges required)
  3. Launch Smart Disk Analyzer from Start Menu or desktop shortcut
  4. Start managing your disks!

Linux Installation (Ubuntu/Debian)

GUI Method:

  1. Download the .deb package from Releases
  2. Double-click the downloaded file
  3. Click "Install" in Software Center

Terminal Method:

# Download the .deb file, then:
sudo dpkg -i smart-disk-analyzer_1.0.0_amd64.deb
sudo apt-get install -f  # Fix dependencies if needed

⚠️ Administrator Privileges Required: Many partition operations require administrator/root access for safety.

πŸ“‹ System Requirements: Visit our website for detailed system requirements.

For Developers

Prerequisites

  • Java 17 or higher
  • Maven 3.6+
  • Node.js 16+ and npm
  • Git

Quick Start

# Clone the repository
git clone https://github.com/Dharaneesh20/Smart-Disk-Analyser.git
cd Smart-Disk-Analyser

# Start backend and frontend
start.bat

# Or manually:
# Terminal 1 - Backend
cd backend
mvn spring-boot:run

# Terminal 2 - Frontend
cd frontend
npm install
npm start

Access the application at http://localhost:3000

Build Windows Application

# Build complete Windows application with installer
.\build-windows.ps1

The installer will be created in electron/dist/

πŸ“– Documentation

  • User Manual: Complete guide for users (coming soon)
  • Developer Guide: Setup and contribution guide (coming soon)
  • API Reference: REST API documentation (coming soon)
  • Roadmap - Feature roadmap and development plans
  • Bug Fixes - Known issues and fixes

πŸ—οΈ Project Structure

smart-disk-analyzer/
β”œβ”€β”€ backend/                # Spring Boot REST API
β”‚   β”œβ”€β”€ src/main/java/
β”‚   β”‚   └── com/diskmanager/
β”‚   β”‚       β”œβ”€β”€ controller/    # REST controllers
β”‚   β”‚       β”œβ”€β”€ service/       # Business logic
β”‚   β”‚       β”œβ”€β”€ model/         # JPA entities
β”‚   β”‚       β”œβ”€β”€ repository/    # Data access
β”‚   β”‚       └── util/          # Utilities
β”‚   └── pom.xml
β”œβ”€β”€ frontend/               # React web application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/    # Reusable components
β”‚   β”‚   β”œβ”€β”€ pages/         # Page components
β”‚   β”‚   β”œβ”€β”€ services/      # API integration
β”‚   β”‚   └── App.js
β”‚   └── package.json
β”œβ”€β”€ electron/              # Electron wrapper for desktop app
β”‚   β”œβ”€β”€ main.js           # Main process
β”‚   β”œβ”€β”€ preload.js        # Preload script
β”‚   └── package.json
└── docs/                 # Documentation (coming soon)

πŸ”§ Technology Stack

Backend

  • Framework: Spring Boot 3.2.0
  • Language: Java 17
  • Database: H2 (in-memory)
  • Build Tool: Maven
  • Native Operations: JNA for Windows API

Frontend

  • Framework: React 18
  • UI Library: Material-UI (MUI)
  • Charts: Recharts
  • HTTP Client: Axios
  • Routing: React Router

Desktop

  • Framework: Electron 28
  • Packaging: electron-builder
  • Native APIs: Windows diskpart integration

🀝 Contributing

We welcome contributions! This is a community-driven open-source project.

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Areas We Need Help

  • πŸ› Bug fixes and testing
  • πŸ“ Documentation improvements
  • 🌍 Translations and internationalization
  • ✨ New feature implementations
  • 🎨 UI/UX improvements
  • πŸ§ͺ Unit and integration tests

πŸ†š Why Choose Smart Disk Analyzer?

vs. AOMEI Partition Assistant

Feature Smart Disk Analyzer AOMEI Free AOMEI Pro
Price FREE FREE $49.95+
Open Source βœ… ❌ ❌
No Registration βœ… ❌ ❌
Partition Resize βœ… βœ… βœ…
Create/Delete/Format βœ… βœ… βœ…
MBR/GPT Convert βœ… ❌ βœ…
Duplicate Finder βœ… ❌ ❌
Community Support βœ… ❌ βœ…
Ad-Free βœ… ❌ βœ…

Key Advantages

  1. πŸ’° Completely Free: No hidden costs, no premium versions
  2. πŸ”“ Open Source: Transparent code, community-driven
  3. 🚫 No Bloatware: Clean installation, no bundled software
  4. πŸ›‘οΈ Privacy: No data collection or telemetry
  5. 🌟 Modern UI: Beautiful, intuitive interface
  6. πŸ“ˆ Active Development: Regular updates and improvements

⚠️ Safety & Precautions

Before Partition Operations:

  • βœ… Backup Important Data: Always backup before major changes
  • βœ… Close Running Applications: Ensure no programs are using the disk
  • βœ… Stable Power: Use a UPS or ensure stable power supply
  • βœ… Check Disk Health: Run disk health checks first
  • ❌ Don't Interrupt: Never interrupt partition operations

System Requirements

Windows

  • OS: Windows 11, Windows 10 (x64)
  • RAM: 4 GB minimum, 8 GB recommended
  • Disk: 500 MB for installation
  • Privileges: Administrator access required
  • Java: Auto-detected or bundled with installer

Linux (Ubuntu/Debian)

  • OS: Debian 11+, Ubuntu 20.04+, Linux Mint 20+
  • RAM: 4 GB minimum, 8 GB recommended
  • Disk: 500 MB for installation
  • Privileges: Root/sudo access required
  • Java: OpenJDK 17+ (auto-installed with package)
  • Desktop: GNOME, KDE, XFCE, or other desktop environment

πŸ“‹ For detailed requirements, visit our website

πŸ“Š Test Results

All API endpoints tested and verified βœ…

Endpoint Status Description
Health Check βœ… PASS API health monitoring
Get Statistics βœ… PASS Disk usage statistics
Scan Partitions βœ… PASS List all partitions
Partition Health βœ… PASS Health status check
List Partitions βœ… PASS Get partition details
Find Duplicates βœ… PASS Duplicate file detection
Get Large Files βœ… PASS Large file finder
Scan Directory βœ… PASS Recursive file scanning
Advanced Operations βœ… PASS Create/Delete/Format/Resize

10/10 Tests Passing - Last tested: January 2025

πŸ”Œ API Endpoints

Basic Operations

  • GET /api/disk/health - Check API health
  • GET /api/disk/statistics - Get disk usage stats
  • POST /api/disk/scan - Scan directory
  • GET /api/disk/duplicates - Find duplicate files
  • GET /api/disk/large-files - Get large files

Partition Operations

  • GET /api/partition/list - List all partitions
  • GET /api/partition/health - Check partition health

Advanced Operations (Requires Admin)

  • GET /api/partition/advanced/check-admin - Check admin privileges
  • GET /api/partition/advanced/disks - List all disks
  • POST /api/partition/advanced/create - Create partition
  • DELETE /api/partition/advanced/delete - Delete partition
  • POST /api/partition/advanced/format - Format partition
  • POST /api/partition/advanced/extend - Extend partition
  • POST /api/partition/advanced/shrink - Shrink partition
  • PUT /api/partition/advanced/change-letter - Change drive letter
  • PUT /api/partition/advanced/set-active - Set active partition
  • POST /api/partition/advanced/convert-gpt - Convert to GPT
  • POST /api/partition/advanced/convert-mbr - Convert to MBR
  • POST /api/partition/advanced/clean-disk - Clean disk

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

What This Means:

  • βœ… Free for personal and commercial use
  • βœ… Modify and distribute freely
  • βœ… Private use allowed
  • βœ… No warranty provided
  • ⚠️ Attribution required

πŸ™ Acknowledgments

  • Inspired by AOMEI Partition Assistant and other disk management tools
  • Built with modern open-source technologies
  • Community-driven development and testing
  • Special thanks to all contributors

πŸ“ž Support

πŸ—ΊοΈ Roadmap

See ROADMAP.md for detailed development plans and upcoming features.

Phase 1: Enhanced Partition Management βœ… (In Progress)

  • βœ… Basic partition operations (create, delete, format)
  • βœ… Resize operations (shrink, extend)
  • βœ… MBR/GPT conversion
  • ⬜ Partition merge and split
  • ⬜ File system conversion

Phase 2: Boot & Recovery

  • Bootable media creation
  • Disk cloning and imaging
  • OS migration tools
  • Boot repair utilities

Phase 3: Windows Integration

  • System tray integration
  • Context menu integration
  • Windows notifications
  • Scheduled tasks

Phase 4: Additional Features

  • S.M.A.R.T. monitoring
  • SSD optimization
  • Secure data wiping
  • Multi-language support

⭐ Star History

If you find this project useful, please consider giving it a star! ⭐


Made with ❀️ by Dharaneesh20 and contributors

Free Forever | Open Source Always | Community Driven

About

A powerful, completely free alternative to AOMEI Partition Assistant and other commercial disk management tools. No registration, no hidden costs, no data collection - just a clean, open-source solution for managing your disks and partitions.

Topics

Resources

License

Contributing

Stars

9 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors