{"id":19053636,"url":"https://github.com/nating/compressor","last_synced_at":"2025-11-12T14:02:48.944Z","repository":{"id":91224620,"uuid":"72688787","full_name":"nating/compressor","owner":"nating","description":"💱 Compressing files using Huffman Coding. 🌲","archived":false,"fork":false,"pushed_at":"2017-01-14T22:27:11.000Z","size":408,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T10:46:18.436Z","etag":null,"topics":["compressed-files","encoding","huffman-compression-algorithm","huffman-tree"],"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/nating.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-02T23:01:04.000Z","updated_at":"2021-03-24T22:18:42.000Z","dependencies_parsed_at":"2023-03-27T13:45:49.841Z","dependency_job_id":null,"html_url":"https://github.com/nating/compressor","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/nating%2Fcompressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcompressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcompressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcompressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nating","download_url":"https://codeload.github.com/nating/compressor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240109715,"owners_count":19749182,"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":["compressed-files","encoding","huffman-compression-algorithm","huffman-tree"],"created_at":"2024-11-08T23:32:54.121Z","updated_at":"2025-11-12T14:02:43.922Z","avatar_url":"https://github.com/nating.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# compressor\nA program to compress files using Huffman Coding.\n\n## About\nThis program takes a training file to learn the frequency of different characters in the language of your text files.\n\nIt uses the frequency of characters in your training file to create a huffman tree which acts as a cipher when encoding or decoding your text files.\n\nThe example files given show how the test_source.txt can be compressed with the program from 440KB to 246KB.\n\nThe training_file.txt given is a free Frankenstein ebook from http://www.gutenberg.org. The frequency of characters in this text file will make a huffman tree that will compress any English text file quite efficiently.\n\n## Usage\nTo encode a file:  \n`./compressor huffcode \u003ctraining filename\u003e \u003cinput filename\u003e \u003coutput filename\u003e`\n\nTo decode a file:  \n`./compressor huffdecode \u003ctraining filename\u003e \u003cinput filename\u003e \u003coutput filename\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Fcompressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnating%2Fcompressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Fcompressor/lists"}