Giter Site home page Giter Site logo

samirpaulb / txt-compressor Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 28.0 35.29 MB

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

Home Page: https://samirpaulb.github.io/txt-compressor/

JavaScript 46.99% HTML 39.39% CSS 13.54% PHP 0.08%
encoder encoding file-compression huffman huffman-coding huffman-compression-algorithm huffman-decoder huffman-encoder huffman-encoding lossless-compression

txt-compressor's Introduction

Text File Compressor De-compressor Web 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 is added to give more information about tecnique of Lossless Data Compression with Huffman coding.

Video

demo.mp4
  • Landing Page:

screenshot

  • Upload File

step1

  • Select Action (Compress / De-compress)

step2

  • Wait for File Download

    • File gets downloaded automatically when selected process is complete.

    • Compression - Compression Ratio is also displayed

    compression

    • De-compression

    decompression

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

noFile

smallFile

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

info1

txt-compressor's People

Contributors

samirpaulb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.