{"id":23265738,"url":"https://github.com/andreip/huffman-tar","last_synced_at":"2025-04-06T07:33:59.286Z","repository":{"id":1525532,"uuid":"1793621","full_name":"andreip/huffman-tar","owner":"andreip","description":"Compression Tool using Huffman Trees","archived":false,"fork":false,"pushed_at":"2014-09-15T15:39:36.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T12:57:00.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-24T13:57:01.000Z","updated_at":"2018-09-26T15:56:04.000Z","dependencies_parsed_at":"2022-08-16T13:35:22.049Z","dependency_job_id":null,"html_url":"https://github.com/andreip/huffman-tar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Fhuffman-tar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Fhuffman-tar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Fhuffman-tar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreip%2Fhuffman-tar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreip","download_url":"https://codeload.github.com/andreip/huffman-tar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450800,"owners_count":20940938,"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":[],"created_at":"2024-12-19T15:32:17.288Z","updated_at":"2025-04-06T07:33:59.263Z","avatar_url":"https://github.com/andreip.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nIt's a compression tool like `tar czf file.zip file1 file2 ...`, but it does compression\nby using the huffman coding trees.\n\nIt does not work with directories, only with simple files for simplicity.\n\n\n# How it works\n\nFollow the below steps and see it working\n\n```bash\n# compile huffman project\n$ make\n\n# compress similar to tar syntax\n$ ./hufftar compress out.huff file1 file2 ...\n\n$ ls -l out.huff\n\n# decompress to folder 1/\n$ mkdir 1/\n$ ./hufftar extract out.huff 1/\n\n# list the .huff compressed files\n$ ./hufftar list out.huff\n```\n\n# Get convinced it actually compresses\n\n```bash\n$ ./hufftar compress out.huff file1 file2 ...\n$ tar cf out.tar file1 file2 ...\n# Compare their sizes, out.tar only puts the files file1,file2 together without compression\n# While out.huff should be significantly lower.\n$ ls -l out.huff out.tar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreip%2Fhuffman-tar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreip%2Fhuffman-tar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreip%2Fhuffman-tar/lists"}