A simple, powerful, and beginner-friendly CLI tool to clean and optimize your Windows PC
WinFlux is a command-line tool that helps you keep your Windows computer running fast and clean! Think of it as a digital cleaning crew for your PC that:
- 🧹 Cleans up junk files that slow down your computer
- 📊 Shows you what's taking up space on your hard drive
- ⚡ Helps optimize your system for better performance
- 🔍 Generates health reports so you know how your PC is doing
Perfect for:
- Beginners learning command-line tools
- Anyone wanting to free up disk space
- People who want to understand their system better
- Developers who need a quick system cleanup utility
What it does: Removes temporary files, browser cache, and junk that accumulates over time
Why you need it: These files can take up gigabytes of space and slow down your computer
python winflux.py clean
What it does: Shows you the biggest files and folders on your computer
Why you need it: Find out what's eating up all your disk space!
python winflux.py analyze
What it does: Creates a health report with CPU, RAM, and disk usage
Why you need it: Know if your computer is running normally or if something's wrong
python winflux.py report
What it does: Shows programs that start when your computer boots
Why you need it: Too many startup programs can make your computer slow to start
python winflux.py optimize
- Open Command Prompt (Search for "cmd" in Windows)
- Type this and press Enter:
python --version
- You should see something like
Python 3.10.0
or higher- ✅ If yes, great! Move to Step 2
- ❌ If you see an error, download Python here
Option A: Download ZIP (Easiest)
- Click the green "Code" button on GitHub
- Click "Download ZIP"
- Extract the ZIP file to a folder (like
C:\WinFlux
)
Option B: Use Git (If you know how)
git clone https://github.com/chethanyadav456/WinFlux.git
cd WinFlux
- Open Command Prompt
- Navigate to the WinFlux folder:
cd C:\WinFlux
- Install dependencies:
pip install -r requirements.txt
Wait for it to finish installing. You should see "Successfully installed..." messages.
python winflux.py --help
If you see a menu with commands, congratulations! 🎉 You're ready to use WinFlux!
Let's see how your computer is doing:
python winflux.py report
You'll see:
- CPU usage (how hard your processor is working)
- RAM usage (how much memory you're using)
- Disk space (how full your hard drive is)
- System uptime (how long your computer has been running)
See what's taking up the most space:
python winflux.py analyze
You'll get a list of your biggest files and folders, sorted by size!
Before deleting anything, let's do a dry run (preview mode):
python winflux.py clean --dry-run
This shows you what would be deleted without actually deleting anything. Safe!
When you're ready to clean for real:
python winflux.py clean
The tool will ask for confirmation before deleting anything. Just type y
and press Enter.
Command | What It Does | Example |
---|---|---|
--help |
Shows all available commands | python winflux.py --help |
--version |
Shows WinFlux version | python winflux.py --version |
# Clean everything (temp files, cache, etc.)
python winflux.py clean
# Preview what will be cleaned (doesn't delete)
python winflux.py clean --dry-run
# Clean only temporary files
python winflux.py clean --temp
# Clean only browser cache
python winflux.py clean --cache
# Analyze C: drive (default)
python winflux.py analyze
# Analyze a specific drive
python winflux.py analyze --path "D:\\"
# Show more results (default is 10)
python winflux.py analyze --top 20
# Generate system health report
python winflux.py report
# Show startup programs
python winflux.py optimize
# Show current settings
python winflux.py config --show
# Change a setting
python winflux.py config --set auto_confirm=true
Don't worry, WinFlux is designed to be safe!
✅ Dry Run Mode - Preview changes before making them
✅ Confirmation Prompts - Always asks before deleting
✅ Detailed Logging - Keeps a record of everything it does
✅ Smart Targeting - Only cleans safe, temporary files
A: No! WinFlux only targets temporary files, cache, and junk. Your documents, photos, and programs are safe.
A: Some features work better with admin rights, but you can use most features without it. If needed, right-click Command Prompt and select "Run as administrator".
A: It depends on your system, but typically 1-5 GB. Use --dry-run
to see beforehand!
A: Deleted files go to the Recycle Bin when possible. But it's best to use --dry-run
first to preview.
A: Yes! The code is open-source (you can review it), and it only cleans standard temporary locations that Windows itself cleans.
A: Some antivirus software flags system-level tools. This is a false positive. You can check the code yourself - it's all visible!
# Step 1: Check system health
python winflux.py report
# Step 2: See what's taking up space
python winflux.py analyze
# Step 3: Clean up (with preview first)
python winflux.py clean --dry-run
python winflux.py clean
# Find the biggest files
python winflux.py analyze --top 20
# Clean everything to free maximum space
python winflux.py clean
# See what's starting with Windows
python winflux.py optimize
# Then use Task Manager to disable unwanted programs
- Temporary Files - Files in %TEMP% folder
- Prefetch Files - Windows performance cache
- Browser Cache - Chrome, Edge, Firefox cached web data
- Windows Logs - Old Windows log files
- Crash Dumps - Error reports
- Update Leftovers - Old Windows update files
- Documents, Photos, Videos
- Installed Programs
- System Files (critical Windows files)
- User Settings
- Game Saves
- Personal Files
Solution: Python isn't in your PATH. Either:
- Reinstall Python and check "Add Python to PATH"
- Use the full path:
C:\Python310\python.exe winflux.py --help
Solution: Run Command Prompt as Administrator
- Search for "cmd"
- Right-click "Command Prompt"
- Select "Run as administrator"
Solution: Install dependencies again:
pip install -r requirements.txt
Solution: This is normal! It only cleans safe temporary files. For deeper cleaning, you may need specialized tools or manual cleanup.
New to Command Line?
Want to Learn More?
- Check out EXAMPLES.md for detailed examples
- Read STRUCTURE.md to understand how WinFlux works
- See CONTRIBUTING.md if you want to help improve WinFlux
Want to make WinFlux better? We welcome contributions!
- 🐛 Found a bug? Open an issue
- 💡 Have an idea? Start a discussion
- 🔧 Want to code? Check out CONTRIBUTING.md
This project is licensed under the MIT License - which means you can use it, modify it, and share it freely! See LICENSE for details.
- Always preview before cleaning: Use
--dry-run
first - Back up important data: Just good practice!
- Close browsers before cleaning cache: For best results
- Run as admin when asked: Some operations need it
- Check logs if something goes wrong: Located in
~/.winflux/logs/
If WinFlux helped you:
- ⭐ Star this repository on GitHub
- 📢 Share it with friends
- 🐛 Report bugs to help us improve
- 💖 Consider contributing
- 📖 Read the documentation
- 💬 Ask in discussions
- 🐛 Report issues here
Made with ❤️ for Windows users who want a cleaner, faster PC