Skip to content

Commit 90b94b2

Browse files
committed
Mobile readability overhaul. New blog Post
1 parent 42c3a85 commit 90b94b2

17 files changed

Lines changed: 784 additions & 242 deletions

File tree

src/_includes/base.njk

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
45
<title>{{ title | default("Aryan Gupta - Portfolio") }}</title>
56
<link rel="stylesheet" href="/css/okaidia.css">
67
<link rel="stylesheet" href="/css/base.css">
@@ -16,12 +17,40 @@
1617
<header>
1718
<nav>
1819
<div class="logo"><a href="/">AG</a></div>
20+
<button class="mobile-nav-toggle" aria-label="Open navigation menu" aria-expanded="false">
21+
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="hamburger-svg-icon">
22+
<path class="line-top" d="M5 7H19" stroke="#000000" stroke-width="2" stroke-linecap="round"/>
23+
<path class="line-middle" d="M5 12H19" stroke="#000000" stroke-width="2" stroke-linecap="round"/>
24+
<path class="line-bottom" d="M5 17H19" stroke="#000000" stroke-width="2" stroke-linecap="round"/>
25+
</svg>
26+
</button>
1927
<ul class="nav-links">
20-
<li><a href="/#about"><i class="fa-solid fa-user"></i> About</a></li>
21-
<li><a href="/#projects"><i class="fa-solid fa-diagram-project"></i> Projects</a></li>
22-
<li><a href="/vce/"><i class="fa-solid fa-book-open"></i> VCE Resources</a></li>
23-
<li><a href="/#contact"><i class="fa-solid fa-envelope"></i> Contact</a></li>
24-
<li><a href="/blog/"><i class="fa-solid fa-blog"></i> Blogs</a></li>
28+
<li>
29+
<a href="/index.html#about">
30+
<svg viewBox="0 0 24 24" class="nav-icon" xmlns="http://www.w3.org/2000/svg">
31+
<path d="M12,11A5,5,0,1,0,7,6,5.006,5.006,0,0,0,12,11Zm0-8A3,3,0,1,1,9,6,3,3,0,0,1,12,3ZM3,22a9,9,0,0,1,18,0,1,1,0,0,1-2,0A7,7,0,0,0,5,22a1,1,0,0,1-2,0Z"/>
32+
</svg>
33+
About
34+
</a>
35+
</li>
36+
<li>
37+
<a href="/vce/">
38+
<svg viewBox="0 0 24 24" class="nav-icon" xmlns="http://www.w3.org/2000/svg">
39+
<path d="M12 10.4V20M12 10.4C12 8.15979 12 7.03969 11.564 6.18404C11.1805 5.43139 10.5686 4.81947 9.81596 4.43597C8.96031 4 7.84021 4 5.6 4H4.6C4.03995 4 3.75992 4 3.54601 4.10899C3.35785 4.20487 3.20487 4.35785 3.10899 4.54601C3 4.75992 3 5.03995 3 5.6V16.4C3 16.9601 3 17.2401 3.10899 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.75992 18 4.03995 18 4.6 18H7.54668C8.08687 18 8.35696 18 8.61814 18.0466C8.84995 18.0879 9.0761 18.1563 9.29191 18.2506C9.53504 18.3567 9.75977 18.5065 10.2092 18.8062L12 20M12 10.4C12 8.15979 12 7.03969 12.436 6.18404C12.8195 5.43139 13.4314 4.81947 14.184 4.43597C15.0397 4 16.1598 4 18.4 4H19.4C19.9601 4 20.2401 4 20.454 4.10899C20.6422 4.20487 20.7951 4.35785 20.891 4.54601C21 4.75992 21 5.03995 21 5.6V16.4C21 16.9601 21 17.2401 20.891 17.454C20.7951 17.6422 20.6422 17.7951 20.454 17.891C20.2401 18 19.9601 18 19.4 18H16.4533C15.9131 18 15.643 18 15.3819 18.0466C15.15 18.0879 14.9239 18.1563 14.7081 18.2506C14.465 18.3567 14.2402 18.5065 13.7908 18.8062L12 20"/>
40+
</svg>
41+
VCE Resources
42+
</a>
43+
</li>
44+
<li>
45+
<a href="#">
46+
<svg class="nav-icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
47+
48+
<path d="M6 3v1.5c1.469 0 2.85 0.572 3.889 1.611s1.611 2.42 1.611 3.889h1.5c0-3.866-3.134-7-7-7z"></path>
49+
<path d="M7.5 6l-1 1-3.5 1-3 6.5 0.396 0.396 3.638-3.638c-0.022-0.083-0.034-0.169-0.034-0.259 0-0.552 0.448-1 1-1s1 0.448 1 1-0.448 1-1 1c-0.090 0-0.176-0.012-0.259-0.034l-3.638 3.638 0.396 0.396 6.5-3 1-3.5 1-1-2.5-2.5z"></path>
50+
</svg>
51+
Blogs
52+
</a>
53+
</li>
2554
</ul>
2655
</nav>
2756
</header>

src/blog/compact-gui-deep-dive.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
---
2+
title: "Exploring Compact-GUI: A Tool for Reclaiming Disk Space"
3+
date: 2025-05-26 # Update with today's date or your preferred publish date
4+
tags:
5+
- post
6+
- software
7+
- utility
8+
- windows
9+
layout: layouts/post.njk
10+
excerpt: "A look into Compact-GUI, an open-source application that utilizes Windows' CompactOS feature to help reduce the disk space occupied by games and programs. This post covers its functionality, my experience, and how to use it."
11+
permalink: "/blog/{{ page.date.getFullYear() }}/{{ page.fileSlug }}/"
12+
# featureImage: "/images/blog/2025/05-26/compact-gui-banner.png" # Uncomment if you have one
13+
# featureImageAlt: "Compact-GUI interface showing compression results"
14+
---
15+
16+
## Introduction: The Challenge of Disk Space Management
17+
18+
As software and game installations continue to grow in size, managing available disk space has become an increasingly important consideration for many users. Finding effective ways to reduce the storage footprint of these programs without significantly impacting performance can be highly beneficial. This post explores an open-source tool called Compact-GUI, which aims to address this challenge.
19+
20+
We will look at what Compact-GUI is, the underlying technology it uses, my personal experience with the tool, and a brief guide on how to use it.
21+
22+
## What is Compact-GUI?
23+
24+
Compact-GUI is a graphical user interface for a built-in Windows feature known as CompactOS. The CompactOS functionality allows the operating system to compress files and folders, including those belonging to installed applications and games. This compression is transparent to the user, meaning that the files remain directly accessible and executable without a manual decompression step, while occupying less physical disk space.
25+
26+
Compact-GUI simplifies the process of applying and managing this compression, making it more accessible than using the command-line `compact.exe` tool directly. You can find the project and download it from its **[official GitHub repository](https://github.com/IridiumIO/CompactGUI)**.
27+
28+
![Compact-GUI Main Interface](/images/blog/2025/05-25/compact-gui-main.png)
29+
30+
## How Does It Work?
31+
32+
Compact-GUI leverages various compression algorithms provided by the Windows CompactOS functionality, such as XPRESS4K, XPRESS8K, XPRESS16K, and LZX. These algorithms are designed to balance compression ratios with the potential performance overhead.
33+
34+
* **Lossless Compression:** The compression applied is lossless, ensuring that no data is discarded or altered. Files are merely stored in a more space-efficient manner.
35+
* **CPU Overhead:** Accessing compressed files incurs a minor CPU overhead as they are decompressed into memory in real-time. On modern systems, this impact is often negligible for many applications. Once data is accessed and cached, subsequent reads are typically unaffected.
36+
37+
The tool allows users to:
38+
1. Select specific folders for compression.
39+
2. Choose from the available compression algorithms.
40+
3. Analyze folders to estimate potential space savings.
41+
4. Apply or remove compression as needed.
42+
43+
## My Experience with Compact-GUI
44+
45+
I decided to test Compact-GUI on several large game installations and software applications to assess its effectiveness.
46+
47+
**Test Case 1: Valorant**
48+
* **Original Size:** 57.4 GB
49+
* **Size after Compact-GUI (Algorithm: X16):** 31 GB
50+
* **Space Saved:** 26.4 GB (46%)
51+
* **Performance Impact Noted:** A marginal increase in initial load time was observed, but general usability remained unaffected.
52+
53+
![Valorant Compression Results](/images/blog/2025/05-25/val-results.png)
54+
55+
**Test Case 2: Aimlabs**
56+
* **Original Size:** 16.2 GB
57+
* **Size after Compact-GUI (Algorithm: X16):** 9.4 GB
58+
* **Space Saved:** 6.8 GB (42%)
59+
* **Performance Impact Noted:** No noticeable difference in loading times or in-application performance.
60+
61+
![Aimlabs Compression Results](/images/blog/2025/05-25/aimlabs-results.png)
62+
63+
**Test Case 3: Adobe Lightroom CC**
64+
* **Original Size:** 2.3 GB
65+
* **Size after Compact-GUI (Algorithm: LZX):** 1.5 GB
66+
* **Space Saved:** 0.8 GB (35%)
67+
* **Performance Impact Noted:** No noticeable difference in loading times or in-application performance.
68+
69+
![Aimlabs Compression Results](/images/blog/2025/05-25/lightroomcc-results.png)
70+
71+
My overall experience was positive. Significant disk space was reclaimed, particularly with applications containing a large number of uncompressed assets. The performance impact was generally minimal in most of my test cases.
72+
73+
## Pros and Cons
74+
75+
Here is a summary of the advantages and potential drawbacks observed:
76+
77+
**Pros:**
78+
* **Significant Disk Space Reduction:** Capable of freeing up substantial amounts of storage.
79+
* **User-Friendly Interface:** Simplifies the use of the underlying CompactOS feature.
80+
* **Transparent File Access:** Compressed files and applications function normally.
81+
* **Choice of Compression Algorithms:** Allows users to select an algorithm based on their needs.
82+
* **Open Source:** Available for free, with its source code accessible for review. The project can be found on **[GitHub](https://github.com/IridiumIO/CompactGUI)**.
83+
* **Generally Low Performance Overhead:** Minimal impact on modern hardware for many use cases.
84+
85+
**Cons:**
86+
* **CPU Usage for Decompression:** Some CPU resources are used during on-the-fly decompression, which could be a factor on older or less powerful systems, or with highly I/O-bound applications.
87+
* **Limited Effectiveness on Already Compressed Files:** Files that are already efficiently compressed (e.g., JPG images, MP3 audio, most video formats) will yield little to no additional space savings. It is generally not recommended for system files or folders with very frequent write activity.
88+
* **Processing Time:** Initial compression or decompression of very large folders can take a considerable amount of time.
89+
90+
## How to Get Started
91+
92+
1. **Download:** Obtain the latest version from the official Compact-GUI GitHub repository.
93+
2. **Select Folder:** Launch Compact-GUI and choose the directory you wish to compress.
94+
3. **Analyze:** Use the analysis feature to estimate the potential disk space savings.
95+
4. **Compress:** Select your preferred compression algorithm (I find XPRESS16K offers a good balance, but you can experiment) and initiate the process.
96+
97+
## Conclusion
98+
99+
Compact-GUI is a valuable utility for users looking to optimize disk space usage, particularly for large games or applications with many compressible assets. By providing an accessible interface to a native Windows feature, it allows for notable storage gains with generally acceptable performance trade-offs.
100+
101+
As with any tool that modifies file storage, it's advisable to understand its operation and use it judiciously, avoiding critical system directories or data that is subject to constant modification. However, for its intended purpose, Compact-GUI proves to be a very effective solution.
102+
103+
---

0 commit comments

Comments
 (0)