Skip to content

shaheelhassan/Mini-File-Compression-Tool-alphacompress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini File Compression Tool

A lightweight, native Windows desktop application for file compression and obfuscation, built with C++ and the Win32 API.

🚀 Features

  • Multiple Compression Methods:
    • RLE (Run-Length Encoding): Efficient for files with repetitive data.
    • LZW (Lempel-Ziv-Welch): Dictionary-based compression for general-purpose files.
    • XOR Cipher: A utility for basic file obfuscation/encryption.
  • Modern GUI: Native Windows interface with visual styles, progress tracking, and easy navigation.
  • Live Performance Stats: Real-time progress bar, time elapsed, and compression density reporting.
  • Multithreaded: Operations run in the background to keep the UI responsive.
  • No Heavy Dependencies: Built using standard C++17 and the Windows API.

📂 Project Structure

c++pos/
├── bin/          # Compiled executable (created after build)
├── include/      # Header files (.h)
│   ├── Compressor.h
│   ├── RLECompressor.h
│   ├── LZWCompressor.h
│   └── XORCompressor.h
├── src/          # Source code (.cpp)
│   └── main.cpp
├── build.bat     # One-click build and run script
└── README.md     # This file

🛠️ Prerequisites

To build this project, you need a C++ compiler installed on your system.

  • OS: Windows 10/11
  • Compiler: MinGW / G++ (Recommended) or any specific GCC port for Windows.

⚡ How to Run

Automatic Build (Recommended)

Simply double-click or run the build.bat script included in the root directory. It will compile the code and launch the application automatically.

./build.bat

Manual Compilation

If you prefer to compile it manually via the terminal, use the following command:

g++ -o bin/CompressorTool.exe src/main.cpp -I include -lgdi32 -lcomdlg32 -lcomctl32 -luxtheme -static -O2

Then run the executable:

./bin/CompressorTool.exe

👨‍💻 Developer

ShaheelHassan
Made with Love

About

A lightweight, native Windows desktop application for file compression and obfuscation, built with C++ and the Win32 API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors