Skip to content

Repository files navigation

🗜️ HuffZip — File Compression Tool

Huffman Coding based File Compression Tool with XOR Encryption — built in C++ with a clean web GUI.

C++HTMLLicense

🔗 Live Demo:file-compression-tool-neon.vercel.app


📸 Screenshot

Dashboard


🚀 Features

  • 🧠 Huffman Coding Algorithm — optimal lossless compression
  • 🔐 XOR Encryption — optional file encryption on compress
  • 📁 Any file type supported — text, binary, images
  • 💻 Web GUI — drag & drop interface with live PowerShell command preview
  • 📦 Compress & Decompress — full round-trip support

🛠️ Tech Stack

LayerTechnology
AlgorithmHuffman Coding (C++)
EncryptionXOR Cipher (C++)
FrontendHTML + JavaScript
BuildMakefile
DeploymentVercel

⚙️ Build & Run Locally

# Clone the repo
git clone https://github.com/snehal-thombare08/File-Compression-Tool.git
cd File-Compression-Tool
# Build
make
# Compress a file
.\huffzip -c input.txt output.huf
# Decompress a file
.\huffzip -d output.huf restored.txt
# Compress with encryption
.\huffzip -c input.txt output.huf --encrypt

📖 Usage (Web GUI)

  1. Open file-compression-tool-neon.vercel.app
  2. Select Compress or Decompress tab
  3. Drop your file or click to browse
  4. (Optional) Enable encryption
  5. Click Compress file — download output

👩‍💻 Author

Binary Mind — GitHub

About

Huffman Coding based File Compression Tool with XOR Encryption - C++

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages