{"id":28758626,"url":"https://github.com/samirpaulb/txt-compressor","last_synced_at":"2025-06-17T04:09:03.612Z","repository":{"id":298661272,"uuid":"501322165","full_name":"SamirPaulb/txt-compressor","owner":"SamirPaulb","description":"An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression. ","archived":false,"fork":false,"pushed_at":"2023-10-27T10:29:38.000Z","size":36134,"stargazers_count":33,"open_issues_count":0,"forks_count":32,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-12T07:55:46.714Z","etag":null,"topics":["css","encoder","encoding","file-compression","html","huffman","huffman-coding","huffman-compression-algorithm","huffman-decoder","huffman-encoder","huffman-encoding","javascript","lossless-compression","lossless-compression-algorithm","lossless-data-compression","online-file-compressor","txt","txt-compressor","txt-decode","txt-encode"],"latest_commit_sha":null,"homepage":"https://samirpaulb.github.io/txt-compressor/","language":"JavaScript","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/SamirPaulb.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,"zenodo":null}},"created_at":"2022-06-08T16:06:50.000Z","updated_at":"2025-04-29T21:00:30.000Z","dependencies_parsed_at":"2025-06-12T08:05:51.206Z","dependency_job_id":null,"html_url":"https://github.com/SamirPaulb/txt-compressor","commit_stats":null,"previous_names":["samirpaulb/txt-compressor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamirPaulb/txt-compressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamirPaulb%2Ftxt-compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamirPaulb%2Ftxt-compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamirPaulb%2Ftxt-compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamirPaulb%2Ftxt-compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamirPaulb","download_url":"https://codeload.github.com/SamirPaulb/txt-compressor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamirPaulb%2Ftxt-compressor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260288443,"owners_count":22986668,"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":["css","encoder","encoding","file-compression","html","huffman","huffman-coding","huffman-compression-algorithm","huffman-decoder","huffman-encoder","huffman-encoding","javascript","lossless-compression","lossless-compression-algorithm","lossless-data-compression","online-file-compressor","txt","txt-compressor","txt-decode","txt-encode"],"created_at":"2025-06-17T04:09:00.172Z","updated_at":"2025-06-17T04:09:03.602Z","avatar_url":"https://github.com/SamirPaulb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Author : Samir Paul --\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e Text File Compressor De-compressor Web App\u003c/h1\u003e\n\u003c/div\u003e\n\n\n- This webapp uses Huffman Coding for Text Compression and De-compression.\n- Made with JavaScript, HTML5 and CSS3.\n- Live Demo:👇\n\n- [x] [samirpaulb.github.io/txt-compressor](https://samirpaulb.github.io/txt-compressor/)\n\n- [x] [txt-compressor.vercel.app](https://txt-compressor.vercel.app/)\n\n\n## About this application:\n\n* This website performs Lossless data compression and decompression of text(.txt) files using Huffman Algorithm.\n* In this algorithm, a variable-length code is assigned to input different characters. The code length is related to how frequently characters are used. Most frequent characters have the smallest codes and longer codes for least frequent characters.\n* A Huffman code is a tree, built bottom up, starting with the list of different characters appearing in a text and their frequency. \n* Compression ratio usually improves as the file size increases.\n* The website is made responsive (with HTML and CSS ) and interactive (with JavaScript ) .\n* An [Info page](https://samirpaulb.github.io/txt-compressor/info.html) is added to give more information about tecnique of **Lossless Data Compression** with Huffman coding.\n\n\n\n\n## Video\nhttps://user-images.githubusercontent.com/77569653/172716965-50560f4a-2acf-4013-ae87-8b474b2a09e3.mp4\n\n\n\n- [x] Landing Page:\n\n\u003ca href=\"#\"\u003e ![screenshot](images/readme-images/landing-page.png) \u003c/a\u003e\n\n- [x] Upload File\n\n\u003ca href=\"#\"\u003e ![step1](images/readme-images/step1.png) \u003c/a\u003e\n\n\n- [x] Select Action (Compress / De-compress)\n\n\u003ca href=\"#\"\u003e ![step2](images/readme-images/step2.png) \u003c/a\u003e\n\n\n- [x] Wait for File Download\n    * File gets downloaded automatically when selected process is complete.\n\n    * Compression - Compression Ratio is also displayed \n\n    \u003ca href=\"#\"\u003e ![compression](images/readme-images/step3.png) \u003c/a\u003e\n    \n    * De-compression\n\n    \u003ca href=\"#\"\u003e ![decompression](images/readme-images/decompression.png) \u003c/a\u003e\n\n* Additional Instructions and Warnings are provided if the above steps are not followed correctly\n\n\u003ca href=\"#\"\u003e ![noFile](images/readme-images/nofile.png) \u003c/a\u003e\n\n\u003ca href=\"#\"\u003e ![smallFile](images/readme-images/verysmallfile.png)  \u003c/a\u003e\n\n\n\n* About the tecnique of Lossless Data Compression with Huffman coding.\n\n\u003ca href=\"#\"\u003e ![info1](images/readme-images/info.jpeg) \u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamirpaulb%2Ftxt-compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamirpaulb%2Ftxt-compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamirpaulb%2Ftxt-compressor/lists"}