Skip to content

nandhakrishna10/ZipMan-using-Huffman-Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZipMan-using-Huffman-Coding

The File Zipper project is an online application that utilizes Huffman encoding to compress and decompress files. It provides a user-friendly interface to encode and decode various file types, such as txt, png, jpeg, jpg, and pdf. The project is deployed globally and accessible via the following link: File Zipper.

Features

  1. Huffman Encoding: The application uses Huffman encoding algorithm to compress input files efficiently.

  2. Support for Multiple File Types: The project supports various file types including txt, png, jpeg, jpg, and pdf for compression and decompression.

  3. Max File Size Alert: An alert box is displayed if the input file size exceeds a specified maximum limit.

  4. Merging Multiple Files: In case of multiple input files, the application merges their contents into a single file before compression.

  5. User-friendly Interface: The web-based interface ensures ease of use for both compression and decompression tasks.

Usage

  1. Compression: To compress a file, simply select the desired file from your device using the "Choose File" button. The application will automatically encode the file using Huffman encoding and provide a compressed output file for download.

  2. Decompression: To decompress a previously compressed file, select the compressed file using the "Choose File" button. The application will decode the file and generate the original file for download.

  3. Merging Files: If you need to compress multiple files together, select all the files you want to merge using the "Choose File" button. The application will merge their contents into a single file and then compress it using Huffman encoding.

Deployed Application

The File Zipper project is deployed and accessible globally through the following link: File Zipper.

Technology Used

The application is developed using the following technologies:

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python
  • Compression Algorithm: Huffman Encoding

How to Run Locally

To run the project locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Ensure you have Python installed on your system.
  3. Install the required Python packages using the requirements.txt file.
  4. Run the Python server and launch the web application.
  5. Access the application in your browser at localhost:<port>.

Contributing

Contributions to the File Zipper project are always welcome. If you find any bugs, have suggestions for improvements, or want to add support for more file types, feel free to open an issue or submit a pull request.

We hope you find the File Zipper application helpful for compressing and decompressing your files efficiently. If you encounter any issues or have any feedback, please don't hesitate to reach out. Happy zipping!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published