Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 800 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 800 Bytes

PiedPiper

PiedPiper, the name is totally original and has nothing to do with any TV shows, is a compression tool using Huffman Coding Trees.
I only built it for learning purposes, so use it at your own risk :D

Usage

  • Download the binary for your platform:

    • https://github.com/MarioBassem/pied_piper/releases
  • or, clone and build the application:

    git clone https://github.com/MarioBassem/pied_piper.git
    make build
  • To encode a file:

    piedpiper path/to/decompressed_file path/to/generated/compressed_file
  • To decode a file:

    piedpiper -decode path/to/compressed_file path/to/generated/decompressed_file

Testing

To run tests:

make test