r/MacOS • • 6d ago

Apps XNK Disk: a free disk space usage scanner

Post image

You have to compile it, but it's free and open source: https://github.com/jefflunt/xnk-disk - I'm sure if you have an AI agent you could ask it to download and compile it for you.

Tried to make the design look like a macOS app. Let me know if there are feature requests.

Will always be free. I don't think that this kind of disk utility should have to cost money.

If it turns out to get an interested user base then maybe I'll put it on the App Store (still for free).

0 Upvotes

10 comments sorted by

4

u/Are-We-Clean-Yet 6d ago

Welcome to Are We Clean Yet?, a new catalog of the many disk storage management apps! I added XNK Disk to our list of macOS disk space visualizers (298 apps and growing quickly).

Fun fact: you're the second icicle-style map we've seen. hoardmap shipped a treemap/icicle/largest-files combo for macOS last month (Rust, never deletes anything), and cleanzo is the only other Go-backend-plus-webview in the catalog, though it's a whole cleaner suite rather than a focused analyzer.

Among the mature apps, GrandPerspective has been free and open source since 2005, so they agree with you that it "shouldn't cost money." DaisyDisk is the paid incumbent everyone measures against.

Good luck with XNK Disk!

1

u/promo-guard 6d ago

🎉 Welcome to Developer Saturday, u/jefflunt! Your project is now live for the community to check out. Upvote, give feedback, and show some love to your fellow devs! 🚀

-1

u/jefflunt 6d ago

Thanks for the welcome!

1

u/Are-We-Clean-Yet 6d ago

GitHub reports the repo jefflunt/xnk-disk is 404. Is there a typo, or did you change your mind?

-1

u/jefflunt 6d ago

Oops! It was private. I've made it public.

1

u/qupit 6d ago

Feature request: label developer caches by name, because that's where a lot of hidden space goes on a dev Mac. To see how big Xcode's build cache is on yours:

du -sh ~/Library/Developer/Xcode/DerivedData

The same goes for old iOS simulators in ~/Library/Developer/CoreSimulator and stray node_modules folders. A tag next to each item saying "rebuilds itself" or "may hold your data" would make it much easier to decide what's safe to delete.

1

u/jefflunt 6d ago edited 6d ago

^Some deletable folders (green)

Added:

  • There's a number of built-in, well know folders that can be deleted/rebuilt, but you can also right-click and select "Marks as 'Rebuilds itself'" to mark any folder as being a member of this category, so you can customize it. You can also remove this mark
  • Rebuildable folders are highlighted in green now. There's also a toggle to highlight only rebuildable folders.
  • Added two-finger zoom to vertically expand/collapse the height of the folders
  • Toggle to hide free space -- once you clean up your disk and you have a ton of free space, it's nicer to just hide it.

I'm going to tweak the UI design a little bit -- there's a mix of clickable toggles that don't look like toggles, checkboxes that are more obviously toggles by don't look like proper macos toggles, and other small inconsistencies in the layout and UI component choices, but wanted to get the functionality updated first.

1

u/jefflunt 6d ago

I also had the app rewritten in a native macos stack. The previous version was a WebKit app that ran its own little web server with an API, which ... was an interesting choice and was fine for a quick prototype, and for parallelism / separating the UI from the backend scanner, but there's no reason to run all that memory-heavy nonsense for a single-user native application.

1

u/jefflunt 6d ago

Made a number multi-threaded an UI-blocking updates to the native app to make it a little snappier while avoiding prevent the scanning threads and the UI-updating threads from getting in each other's way (was seeing some spinning pinwheel action in some cases, previously).

XNK Disk now also supports multiple independent windows that you can use to monitor multiple disk, such as if you have attached storage or network disks you want to manage.

1

u/jefflunt 5d ago

The purgeable folders are now toggle-able before you purge. This lets you review the list before you do it just in case there's something there you'd rather not delete. Toggling something off leaves if off until you turn it back on.