Skip to content

A simple web-based file compressor that supports multiple compression techniques.

Notifications You must be signed in to change notification settings

Amankumar7340/File-Compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File Compressor

A simple web-based file compressor that supports multiple compression techniques, including Huffman Coding, LZ77, DEFLATE, Brotli, and Zstandard. Users can upload or drag & drop a file, preview it, and compress it using different algorithms. It is comparative view where yor file compressed in all of the compression techniques and you can compare and choose best out of it.

Features

  • File Upload & Drag-Drop Support: Users can select a file via the upload button or drag and drop it into the designated area.
  • Image Preview: If the uploaded file is an image, it will be displayed before compression.
  • Multiple Compression Algorithms: Supports five compression methods:
    • Huffman Coding
    • LZ77
    • DEFLATE
    • Brotli
    • Zstandard
  • Download Compressed Files: Users can download the compressed versions of their uploaded file.
  • Stylish UI: A modern, responsive design with a gradient background and glassmorphism effects.

Project Structure

/file-compressor
│── index.html         # Main HTML file
│── styles.css         # Stylesheet for UI
│── script.js          # Main JavaScript logic
  • Implement real compression algorithms.
  • Support more file formats.
  • Provide a progress bar for compression.