Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/light2802/file-compressor

Huffman encoder and decoder
https://github.com/light2802/file-compressor

huffman-compression-algorithm tree-structure

Last synced: 11 days ago
JSON representation

Huffman encoder and decoder

Awesome Lists containing this project

README

        

# DSA-Project-zip

This Project is published under GPL. So please feel free to suggest any changes to make this better

Also I am making this in my Second Year of engineering degree so please don't judge if you finad any bugs or don't feel it is up to your standards

Also please give a star on my github (light2802) if you liked it :)

# Steps to run the code
Run .\aar <-parameter-> <-filename with extension->

Parameters:

-e : To encode the file

-d : To decode the file

# Code flow in general terms
[Flow of Code](./Flow of code.svg)

# Some things that may seem like issues but are not
The file extension is overwrriten(appended)

For ex. if you compress a file with name Demo.txt it creates new file with name Demo.txt.aar Also when you decode this Demo.txt.aar you will get your new file with name Demo.txt.aar.txt

I know it's a easy fix but I'm lazy ;)

Also the code only encodes single .txt files. Going to work further on multiple files and directories