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.
-
Huffman Encoding: The application uses Huffman encoding algorithm to compress input files efficiently.
-
Support for Multiple File Types: The project supports various file types including txt, png, jpeg, jpg, and pdf for compression and decompression.
-
Max File Size Alert: An alert box is displayed if the input file size exceeds a specified maximum limit.
-
Merging Multiple Files: In case of multiple input files, the application merges their contents into a single file before compression.
-
User-friendly Interface: The web-based interface ensures ease of use for both compression and decompression tasks.
-
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.
-
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.
-
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.
The File Zipper project is deployed and accessible globally through the following link: File Zipper.
The application is developed using the following technologies:
- Frontend: HTML, CSS, JavaScript
- Backend: Python
- Compression Algorithm: Huffman Encoding
To run the project locally, follow these steps:
- Clone this repository to your local machine.
- Ensure you have Python installed on your system.
- Install the required Python packages using the
requirements.txt
file. - Run the Python server and launch the web application.
- Access the application in your browser at
localhost:<port>
.
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!