File Compressor System 🗜️

High-performance lossless compression system using C++ backend and JavaScript frontend

University Project | Data Structures & Algorithms

Introduction

The File Compressor System is a hybrid application designed to efficiently compress and decompress files using classical lossless compression techniques. It combines a JavaScript-based user interface with a high-performance C++ backend integrated through the Molybden framework.

The system focuses on optimizing storage efficiency while maintaining data integrity, achieving strong compression ratios using well-established algorithms.

Problem Statement

  • Large file sizes increase storage and transfer costs
  • Existing tools lack optimized algorithm-level control
  • Need for lightweight and fast compression systems
  • Limited educational implementations of compression algorithms

Key Features

  • Lossless file compression and decompression
  • Web-based interactive user interface
  • High-performance C++ backend processing
  • Supports multiple file formats
  • Efficient memory usage and optimized execution

Core Algorithms

Huffman Coding

A lossless compression algorithm that assigns variable-length codes to characters based on frequency, significantly reducing file size.

Run-Length Encoding (RLE)

A simple compression technique that replaces repeated characters with a single value and count, making it efficient for repetitive data.

Tech Stack

JavaScriptC++Molybden FrameworkAlgorithmsHuffman CodingRun-Length Encoding

Results

The system achieved up to 34% compression efficiency depending on file type, demonstrating strong performance and a strong understanding of algorithm optimization.

Impact

This project highlights practical implementation of classic compression algorithms and demonstrates the ability to design and integrate a full-stack system combining frontend usability with backend performance engineering.

GitHub