{"id":20637687,"url":"https://github.com/isebasus/archive","last_synced_at":"2026-04-21T01:31:39.913Z","repository":{"id":129818812,"uuid":"372707220","full_name":"isebasus/archive","owner":"isebasus","description":"A Huffman Compression Algorithm. ","archived":false,"fork":false,"pushed_at":"2021-06-26T21:22:46.000Z","size":4969,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T09:03:38.212Z","etag":null,"topics":["compression","decompression","huffman-coding"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isebasus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-01T05:06:24.000Z","updated_at":"2022-09-22T19:09:15.000Z","dependencies_parsed_at":"2023-05-22T00:00:14.800Z","dependency_job_id":null,"html_url":"https://github.com/isebasus/archive","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/isebasus/archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isebasus%2Farchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isebasus%2Farchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isebasus%2Farchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isebasus%2Farchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isebasus","download_url":"https://codeload.github.com/isebasus/archive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isebasus%2Farchive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","decompression","huffman-coding"],"created_at":"2024-11-16T15:15:32.334Z","updated_at":"2026-04-21T01:31:39.903Z","avatar_url":"https://github.com/isebasus.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e :warning: **This Project is a modified school project** and thus no students of CSE 13s should be looking at my source code.\n\n# 📦 Archive [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/isebasus/Archive/blob/master/LICENSE)\n## A Huffman coding implementation for file compression and decompression.\n\nThis project builds two programs (the encoder and the decoder). Both programs use the Huffman Coding technique to compress or decompress bytes within a file. The user will need to pipe in desired files to encode or decode.\n\n## What you need\n\nIn order to compile this program you'll need the Makefile provided, encode.c and decode.c. You'll also need all the .h files as dependencies. \n\n### Building Archive\n\nTo build the program, you will need [Clang](https://askubuntu.com/a/1058535) installed. Once installed, run the following commands below. \n\nOnce inside the Archive directory, run:\n\n```\n$ make all\n```\nThis will build all programs including encode.c and entropy.c\n\nTo run encode.c:\n\n```\n$ ./encode [-h] [-v] [-i infile] [-o outfile]\n```\n\nThe arguments needed to run this program are:\n\n```\n  -h             Program usage and help.\n  -v             Print compression statistics.\n  -i infile      Input data to encode.\n  -o outfile     Output of encoded data.\n```\n\nTo run decode.c:\n\n```\n$ ./decode [-h] [-v] [-i infile] [-o outfile]\n```\n\nThe arguments needed to run this program are:\n\n```\n  -h             Program usage and help.\n  -v             Print out compression statistics.\n  -i infile      Input data to encode.\n  -o outfile     Output of encoded data.\n```\n\nYou can run both files together like:\n\n```\n$ ./encode \u003c path/to/file | ./decode \n```\n\nTo remove the binary files run:\n\n```\n$ make clean\n```\n\n### 📚 Sources\n* [The C Programming Language - 2nd Edition](https://drive.google.com/file/d/0BxImv9GQ06DcNjc1MTk0N2ItZmJmNC00YTM0LWFmN2UtMGQ4ZmE3Y2E1YzU4/view) - IO Inspiration \n* [Introduction to Algorithms 3rd Edition](https://github.com/RbkGh/Free-Algorithm-Books/blob/master/book/Introduction%20to%20Algorithms%20-%20Third%20Edition.pdf) - ADT Implementation Inspiration\n* Sample Files Provided by my Professor\n* Stackoverflow \n\n### 📋 Licensing\nThis project is licensed under the MIT license. I hope others can learn from my code, but you know who you are if you shouldn't be looking at this code (aka Students of CSE 13s). Other than that, all of this code is completely original and you can modify anything as much as you want!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisebasus%2Farchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisebasus%2Farchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisebasus%2Farchive/lists"}