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

https://github.com/akanksha-verma31/gfg-project

Website to compress and decompress a text file.
https://github.com/akanksha-verma31/gfg-project

compression decompression huffman-coding self-paced-course

Last synced: 3 months ago
JSON representation

Website to compress and decompress a text file.

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/compression.png)

* De-compression

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

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

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

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

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