The simplest and quickest way to zip and unzip your text files!!! :)
Utilizes the Huffman Coding Algorithm and achieves greater than a 2:1 compression ratio.
Extremely fast compression and decompression due to use of concurrent parallel processing.
Compiled using CMake with the clang compiler.
Initial Steps to use Zippy:
Containerized using Docker with multi-platform/architecture support using buildx.
Steps to work with Docker:
- Ensure Docker is installed on your machine https://www.docker.com/get-started/. Have basic knowledge of commands like
docker images
,docker ps
, etc.- Run
docker pull oogale/zippy
in the terminal.- Verify if present by running
docker images
.- To run the shell and work as if you were in a terminal:
docker run -it IMAGE-ID sh
- To send files to the container:
docker create -v /path/on/host:/path/to/container-dir IMAGE-ID
- To copy compressed files/decoded files from the container to your local fs, run
docker cp your-container-name:/path/to/file-on-container /path/on/host
OR!!
Steps to Clone:
- Clone the repo.
- In the terminal, run
bash run.sh
to build theZippy
executable.- (IF NOT USING DOCKER) you can run
bash download.sh
if you want to save the compressed/decoded files to your machine.
NOTE: Could run into issues with C++ compilation, especially on a different platform architecture, since this program was designed on MacOS.
How to run Zippy in the terminal:
- Options:
./Zippy -encode "text filename/filepath"
./Zippy -decode "binary filename/filepath"