sarthaknimbalkar / File-zipper-using-Huffman-Coding

File-zipper-using-Huffman-Coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Zipper with Huffman Encoding Project

This project implements a File Zipper using Huffman Encoding for text, PDF, and image files. It utilizes a combination of technologies, including HTML, CSS, JavaScript, and Python with Flask framework.

Features

  • Huffman Encoding: The project uses the Huffman coding algorithm to compress and decompress files efficiently, reducing their size while preserving data integrity.

  • Support for Multiple File Types: The zipper can compress and decompress various file types, including text files, PDFs, and image files.

  • Web Interface: The project offers a user-friendly web interface to upload files, compress them using Huffman encoding, and download the compressed files.

Technologies Used

  • HTML: The project uses HTML to structure the web interface, creating a user-friendly layout for file upload and download.

  • CSS: CSS is employed for styling the web interface, ensuring an appealing and responsive design.

  • JavaScript: The interactive elements of the web interface are implemented using JavaScript, providing seamless user experience.

  • Python: Python is used to implement the Huffman encoding algorithm and handle file compression and decompression.

  • Flask Framework: The project is built with the Flask framework to handle HTTP requests, manage routes, and integrate Python back-end with the front-end web interface.

Getting Started

To run the File Zipper locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/sarthaknimbalkar/File-zipper-using-Huffman-Coding.git
  1. Navigate to the project directory:
cd File-zipper-using-Huffman-Coding
  1. Set up a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the Flask application:
python app.py
  1. Open your web browser and go to http://localhost:5000 to access the File Zipper application.

Contributions

Contributions to the project are welcome. If you find any issues or have suggestions for improvements, feel free to create an issue or submit a pull request.

About

File-zipper-using-Huffman-Coding


Languages

Language:HTML 81.3%Language:Python 18.7%