{"id":15726338,"url":"https://github.com/aashrafh/enwik8","last_synced_at":"2025-04-23T19:02:38.945Z","repository":{"id":122911424,"uuid":"266200771","full_name":"aashrafh/enwik8","owner":"aashrafh","description":"An attempt to compress the enwik8 file","archived":false,"fork":false,"pushed_at":"2020-06-04T21:22:24.000Z","size":437,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T02:33:28.053Z","etag":null,"topics":["bwt","bwtool","compression","compression-application","enwik8","huffman","linked-list","lzw","mtf","multimedia","text-compression","variable-length"],"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/aashrafh.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":"2020-05-22T20:25:39.000Z","updated_at":"2021-01-14T09:38:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"5df2de45-4d38-490f-91d1-6b7f201834e4","html_url":"https://github.com/aashrafh/enwik8","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/aashrafh%2Fenwik8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fenwik8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fenwik8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fenwik8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aashrafh","download_url":"https://codeload.github.com/aashrafh/enwik8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250496977,"owners_count":21440231,"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":["bwt","bwtool","compression","compression-application","enwik8","huffman","linked-list","lzw","mtf","multimedia","text-compression","variable-length"],"created_at":"2024-10-03T22:26:49.385Z","updated_at":"2025-04-23T19:02:38.926Z","avatar_url":"https://github.com/aashrafh.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nAn attempt to compress the first 100 MB of Wikipedia which is called [enwik8](https://en.wikipedia.org/wiki/Hutter_Prize) using LZW(Lempel–Ziv–Welch) and BZip2-Like algorithms with variable length encoding.\n\n# Results\n* \u003cstrong\u003eLZW\u003c/strong\u003e:\n  * Compression ratio: \u003cstrong\u003e2.905\u003c/strong\u003e\n  * Compressed file size: \u003cstrong\u003e32 MB\u003c/strong\u003e\n* \u003cstrong\u003eBZip2-Like\u003c/strong\u003e:\n  * Compression ratio: \u003cstrong\u003e3.855\u003c/strong\u003e\n  * Compressed file size: \u003cstrong\u003e24 MB\u003c/strong\u003e\n# How to run\n* \u003cstrong\u003eCompression\u003c/strong\u003e\n   1. Open a terminal on the directory containing the code\n   2. Generate the binary file using command: ```g++ -o encoder.exe encoder.cpp```\n   3. Run the binary file: ```./encoder.exe```\n* \u003cstrong\u003eDecompression\u003c/strong\u003e\n  1. Open a terminal on the directory containing the code\n  2. Generate the binary file using command: ```g++ -o decoder.exe decoder.cpp```\n  3. Run the binary file: ```./decoder.exe```\n\n# To Do\n- [ ] A Decoder for the BZip2-Like algorithm\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Fenwik8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faashrafh%2Fenwik8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Fenwik8/lists"}