MarioBassem / pied_piper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Go 99.5%Language:Makefile 0.5%