{"id":22564335,"url":"https://github.com/drichardson/huffman","last_synced_at":"2025-10-14T18:04:58.764Z","repository":{"id":9065652,"uuid":"10835409","full_name":"drichardson/huffman","owner":"drichardson","description":"huffman encoder/decoder","archived":false,"fork":false,"pushed_at":"2021-04-25T02:07:11.000Z","size":82,"stargazers_count":110,"open_issues_count":0,"forks_count":39,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-24T10:21:20.211Z","etag":null,"topics":["compression","educational","encoder","huffman","huffman-coding"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"beevik/etree","license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drichardson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-21T04:40:00.000Z","updated_at":"2025-03-17T09:02:11.000Z","dependencies_parsed_at":"2022-09-13T07:01:49.698Z","dependency_job_id":null,"html_url":"https://github.com/drichardson/huffman","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drichardson%2Fhuffman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drichardson%2Fhuffman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drichardson%2Fhuffman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drichardson%2Fhuffman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drichardson","download_url":"https://codeload.github.com/drichardson/huffman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248209251,"owners_count":21065299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","educational","encoder","huffman","huffman-coding"],"created_at":"2024-12-07T23:15:07.989Z","updated_at":"2025-10-14T18:04:53.724Z","avatar_url":"https://github.com/drichardson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# huffman\n\n[![Build](https://github.com/drichardson/huffman/actions/workflows/build.yml/badge.svg)](https://github.com/drichardson/huffman/actions/workflows/build.yml)\n\nA huffman coding library and command line interface to the library. The encoder is a 2 pass encoder. The first pass generates a huffman tree and the second pass encodes the data. The decoder is one pass and uses a huffman code table at the beginning of the compressed file to decode the data.\n\nlibhuffman has functions for encoding and decoding both files and memory.\n\n\n## Makefile Build\n\nTo build:\n\n    make\n\nTo run unit tests:\n\n    make check\n\nTo run unit tests under valgrind:\n\n    make valgrind_check\n\n\n## CMake Build\n\nTo build:\n\n    mkdir build\n    cd build\n    cmake ..\n    cmake --build .\n\nTo run all tests:\n\n    ctest\n\nTo run unit tests:\n\n    ctest -R ^check$\n\nTo run unit tests under valgrind:\n\n    ctest -R ^valgrind_check$\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrichardson%2Fhuffman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrichardson%2Fhuffman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrichardson%2Fhuffman/lists"}