Utility to apply ATA TRIM to unused portions of HFS volumes
Star History
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#258
MOST-STARRED C
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
hfs_trim gained 10 stars in the last 30 days, about 1 a day, and now has 4. It is about 17 years old and has averaged roughly 0 stars a year. It ranks #258 among C repositories and #10,323 across all languages on GitHubRepo.
Trending Record
1
DAYS ON TRENDING
#10500
BEST RANK
Sep 28, 2026
FIRST APPEARANCE
Active
STATUS TODAY
hfs_trim has maintained a continuous presence across global trending indexes, peaking at #10500. Below is the 30-day activity profile:
💡 Overview
hfs_trim is an open-source project written in C: Utility to apply ATA TRIM to unused portions of HFS volumes.
Engineered for speed, consistency, and developer ease, it solves common hurdles in C. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in C for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/lgerbarg/hfs_trim.git
cd hfs_trim
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
C99 or C11 compiler with CMake / make
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
hfs_trim coordinates its core functionality through a modular C pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed hfs_trim into C backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open Apache-2.0 license.
🚀 Getting Started
Install hfs_trim using your package manager: `git clone https://github.com/lgerbarg/hfs_trim.git`
Initialize your project workspace or configuration file for hfs_trim.
Import hfs_trim into your codebase or invoke it directly from your terminal.
Execute your test suite or run `hfs_trim --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with C, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
lgerbarg/hfs_trim is currently ranked #10,323 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #9,987 | jferris/sauce | — | ★ 5 | Compare ↗ |
| #9,987 | druewilding/right_now_search | PHP | ★ 5 | Compare ↗ |
| #9,987 | wtanaka/airhook | C | ★ 5 | Compare ↗ |
| #9,987 | edsu/lochief | — | ★ 5 | Compare ↗ |
| #9,987 | jonifreeman/spmd | Scala | ★ 5 | Compare ↗ |
| #10,323 | lgerbarg/hfs_trim This Project | C | ★ 4 | |
| #10,323 | adelcambre/textilizefu | Ruby | ★ 4 | Compare ↗ |
| #10,323 | anaisbetts/yikes | C | ★ 4 | Compare ↗ |
| #10,323 | sudachen/python-tool-legacy | C | ★ 4 | Compare ↗ |
| #10,323 | crafterm/piccr | Ruby | ★ 4 | Compare ↗ |
| #10,323 | ebassi/talk | Python | ★ 4 | Compare ↗ |
Frequently Asked Questions
What does hfs_trim do? +
Utility to apply ATA TRIM to unused portions of HFS volumes
What language is hfs_trim written in? +
The primary language is C. Topics include: software.
Is hfs_trim actively maintained? +
Yes, the last recorded push was on Oct 10, 2017 with 1 open issues being tracked.
How many stars does hfs_trim have? +
hfs_trim has 4 stars and 1 forks on GitHub.
How does hfs_trim rank among GitHub repositories? +
With 4 stars, lgerbarg/hfs_trim is ranked #10,323 globally across all repositories tracked on GitHubRepo and #258 among C projects.
What license is hfs_trim distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.