Skip to content

johnjg75dev/FreeSpaceHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeSpaceHunter

A modern Windows 11 disk space analyzer built with Electron, React, and TypeScript. Find out where all your free space has gone and reclaim it with confidence.

FreeSpaceHunter Electron React TypeScript

Features

🔍 Smart Scanning

  • Real-time Progress Updates: Watch as folders are discovered during scanning
  • Non-blocking UI: Continue working while scans run in the background
  • Multi-drive Support: Scan any drive on your system

📊 Visualizations

  • Bar Charts: See your largest folders at a glance
  • File Type Breakdown: Understand what types of files are consuming space
  • Interactive UI: Sort, filter, and search through results

🗑️ Safe Deletion

  • Confirmation Dialogs: Double-check before deleting
  • Recycle Bin Option: Recover files if you change your mind
  • Safety Checks: Protection against deleting system folders

🎯 Additional Features

  • File Type Filtering: Focus on images, videos, documents, and more
  • Search Functionality: Find specific folders instantly
  • Responsive Design: Works on various screen sizes
  • Dark Theme: Easy on the eyes for long scanning sessions

Installation

Development Mode

# Install dependencies
npm install

# Start development server
npm run dev

# Start Electron app
npm run electron:dev

Building for Production

# Build the application
npm run build

# Create Windows installer
npm run electron:build

Usage

Getting Started

  1. Launch FreeSpaceHunter
  2. Select a drive from the dropdown
  3. Click "Start Scan" to begin
  4. Watch as folders are discovered in real-time
  5. Click on folders to expand and see subfolders
  6. Use filters and search to find specific content

Managing Space

  1. Review folder sizes in the list
  2. Check visualizations for overview
  3. Click the trash icon to delete a folder
  4. Choose to move to Recycle Bin or delete permanently
  5. Confirm your choice in the dialog

Keyboard Shortcuts

Shortcut Action
Ctrl+F Focus search
Ctrl+R Refresh scan
Escape Close dialogs

Architecture

FreeSpaceHunter/
├── src/
│   ├── main/              # Electron main process
│   │   ├── index.ts       # App entry point
│   │   ├── ipc-handler.ts # IPC communication
│   │   └── scanner-service.ts # File system scanning
│   ├── renderer/          # React UI
│   │   ├── components/     # UI components
│   │   ├── hooks/         # Custom React hooks
│   │   └── styles/        # CSS styles
│   └── preload/            # Electron preload script
├── public/                # Static assets
└── plans/                 # Planning documents

Technology Stack

  • Electron: Desktop application framework
  • React 18: UI library
  • TypeScript: Type safety
  • Vite: Build tool
  • D3.js: Data visualization
  • Lucide React: Icons
  • Electron Builder: Package distribution

Safety Features

Protected Paths

The following system directories are protected from deletion:

  • C:\Windows
  • C:\Program Files
  • C:\Program Files (x86)
  • C:\ProgramData
  • System volume information
  • Recycle Bin

Deletion Safety

  • Confirmation required for all deletions
  • Large folders (>1GB) show additional warnings
  • Move to Recycle Bin option for recovery
  • Detailed folder information before deletion

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT License - feel free to use and modify for personal or commercial purposes.

Support

For issues and feature requests, please use the GitHub issue tracker.


Built with ❤️ for Windows 11 users who want to understand and manage their disk space.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors