Repository navigation
OMG 0.1.0
OMG (Oh My Gigabytes) 0.1.0: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new since beta 2
- Much wider detection. Build output of more ecosystems (Swift, Flutter, CMake, Zig, Haskell, Elixir, monorepo packages, an absolute
CARGO_TARGET_DIR), about 20 more tool caches, Xcode data, downloaded ML models, old toolchain, JetBrains and editor extension versions, old installers in Downloads, older copies of build folders, logs and temp files on macOS and Windows, and unused Docker data removed through Docker itself. - Old Git clones are judged by Git's own index. A clone is offered only when every tracked file still matches
.git/indexexactly, to the nanosecond, and nothing is local: no unpushed branch, stash, local tag or later change. - AI coding tool sessions. Old transcripts of Claude Code, Pi, Codex, Copilot CLI, Cursor CLI and Gemini CLI, which can be deleted together.
- Explains what it does not know.
omg unexplainedshows big folders no finding covers,omg grewshows what grew since the last scan, andomg catalog draft PATHturns an unknown store into a rule draft. - Interface. Auto, dark and light themes; a Deleted view that keeps 20 days of what omg removed;
Uclears a list; a whole selection is deleted around protected items inside it. - Scripts and schedules.
omg clean --category ...lists a category and deletes exactly that list after--confirm FINGERPRINT;omg schedule enableruns a daily scan-only job on macOS and Windows. - Safer. Locked items and cloud placeholders are refused before the question; names that APFS folds to a protected name are protected; deletes are refused when the home folder is empty, relative or the filesystem root.
Install
npm install --global oh-my-gigabytes
omgNeeds Node 22 or newer. The first run scans your home folder (omg scan --root ~/code scans any other folder). Press 1 to 5 to switch views, ? for all keys, q to quit.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
These exact signed packages were installed and tested by hand on an Apple silicon Mac (with and without Full Disk Access), a Windows 11 PC and Ubuntu 24.04 under WSL2, including a delete in a throwaway folder and a tampered binary being refused. Every target also runs the full test suite on hosted runners. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.1.0.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.1.0.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.1.0.tgz and oh-my-gigabytes-<target>-0.1.0.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Not in this release
Moving to the system trash (delete is permanent, with no undo), a background service on macOS or Windows (a daily scan-only job is available), Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm and musl Linux.
Known issues
omg treeon an excluded folder itself (such as~/.sshorOneDrive) prints 0 bytes instead of unknown. The listing of its parent folder shows it correctly as not scanned.- On Linux, the message for a link given as the scan root lists several causes instead of saying it is a link.
- A scan's progress estimate counts the whole volume, not only the folder being scanned.
- Freed space can be less than shown when hard links, APFS clones or snapshots share data. "Unused for 5 months" goes by when files last changed, not when an app was last opened.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.