https://github.com/samirpaulb/txt-compressor
An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression.
https://github.com/samirpaulb/txt-compressor
css encoder encoding file-compression html huffman huffman-coding huffman-compression-algorithm huffman-decoder huffman-encoder huffman-encoding javascript lossless-compression lossless-compression-algorithm lossless-data-compression online-file-compressor txt txt-compressor txt-decode txt-encode
Last synced: 8 days ago
JSON representation
An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression.
- Host: GitHub
- URL: https://github.com/samirpaulb/txt-compressor
- Owner: SamirPaulb
- Created: 2022-06-08T16:06:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T10:29:38.000Z (over 1 year ago)
- Last Synced: 2025-06-12T07:55:46.714Z (13 days ago)
- Topics: css, encoder, encoding, file-compression, html, huffman, huffman-coding, huffman-compression-algorithm, huffman-decoder, huffman-encoder, huffman-encoding, javascript, lossless-compression, lossless-compression-algorithm, lossless-data-compression, online-file-compressor, txt, txt-compressor, txt-decode, txt-encode
- Language: JavaScript
- Homepage: https://samirpaulb.github.io/txt-compressor/
- Size: 34.5 MB
- Stars: 33
- Watchers: 3
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
- Live Demo:👇- [x] [samirpaulb.github.io/txt-compressor](https://samirpaulb.github.io/txt-compressor/)
- [x] [txt-compressor.vercel.app](https://txt-compressor.vercel.app/)
## 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](https://samirpaulb.github.io/txt-compressor/info.html) is added to give more information about tecnique of **Lossless Data Compression** with Huffman coding.## Video
https://user-images.githubusercontent.com/77569653/172716965-50560f4a-2acf-4013-ae87-8b474b2a09e3.mp4- [x] Landing Page:

- [x] Upload File

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

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

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


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