An open API service indexing awesome lists of open source software.

https://github.com/akanksha-verma31/huffman-coding

An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression.
https://github.com/akanksha-verma31/huffman-coding

compression decompression huffman-coding huffman-compression-algorithm

Last synced: about 1 month ago
JSON representation

An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression.

Awesome Lists containing this project

README

        


Text File Compressor De-compressor Web App


- This webapp uses Huffman Coding for Text Compression and De-compression.
- Made with JavaScript, HTML5 and CSS3.

## About this application:

* This website performs Lossless data compression and decompression of text(.txt) files using Huffman Algorithm.
* In this algorithm, a variable-length code is assigned to input different characters. The code length is related to how frequently characters are used. Most frequent characters have the smallest codes and longer codes for least frequent characters.
* A Huffman code is a tree, built bottom up, starting with the list of different characters appearing in a text and their frequency.
* Compression ratio usually improves as the file size increases.
* The website is made responsive (with HTML and CSS ) and interactive (with JavaScript ) .
* An Info page added to give more information about tecnique of **Lossless Data Compression** with Huffman coding.

- [x] Landing Page:

![screenshot](images/readme-images/landing-page.png)

- [x] Upload File

![step1](images/readme-images/step1.png)

- [x] Select Action (Compress / De-compress)

![step2](images/readme-images/step2.png)

- [x] Wait for File Download
* File gets downloaded automatically when selected process is complete.

* Compression - Compression Ratio is also displayed

![compression](images/readme-images/step2.png)

* De-compression

![decompression](images/readme-images/decompression.png)

* Additional Instructions and Warnings are provided if the above steps are not followed correctly

![noFile](images/readme-images/nofile.png)

![smallFile](images/readme-images/invalid-file.png)

![smallFile](images/readme-images/successfully-submitted.png)

* About the tecnique of Lossless Data Compression with Huffman coding.

![info1](images/readme-images/info.jpeg)