frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
16•patonw•2h ago
GUI disk analyzers are great for figuring out what's filling up your laptop/desktop drive.

On containers or remote servers, the options are limited to purely text based utilities (e.g. du) or list-centric TUIs (e.g. ncdu) which are usually limited to viewing one directory at a time.

I created leaves to fill that gap.

Inspired by classic utilities like WinDirStat and KDirStat, it uses a 2-dimensional treemap^1 visualization to show the entire directory hierarchy with proportionally sized rectangles.

It's performant enough to handle millions of files, thanks to Rust and multi-threading. However, block characters aren't as suited as pixels for resolving a large number of items. Leaves can show file-type summaries per directory or partition the top-level directories by extension, allowing you to see not only where space is being used, but also how.

For instance, I can see the largest chunk of my home directory is taken up by uv caches for python and old Linux ISOs that I could easily re-download if needed. Or in a particular container, +600MB is used by standard Rust documentation and tutorials, and that it is the only location with HTML/JS files, when only the libraries and build tools are needed (note to self: remember to use the minimal profile next time).

^1: https://github.com/shundhammer/qdirstat/blob/master/doc/Tree...

Comments

bescob_ar•1h ago
This looks fantastic, reminds me a lot of SpaceSniffer. The focus view or allowing for navigation through chunks is a nice essential inclusion. One desire might be quick actions. Doing size of squares based on the # of packages a dependency installation causes: Helps I guess users hellbent on having their install minimal figure out what they can afford to remove for as few packages on their system as reasonably possible.
robertclaus•54m ago
Ooh, this is nice. I loved windirstat back in the day.
sghiassy•10m ago
Really cool.

If possible, being able to “brew install” on a Mac would be killer

takencoder•2m ago
Nice! The file-type extension partitioning feature is a really smart addition to handle the limitations of block characters.

Kimi K3 is now live

https://www.kimi.com/en
486•vincent_s•3h ago•236 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
189•jervant•2h ago•48 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
94•ray__•1h ago•39 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
52•uneven9434•1h ago•20 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
56•xnx•2h ago•35 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
421•pilililo2•8h ago•235 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
102•yabones•4h ago•51 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•1h ago

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
673•mcgin•13h ago•447 comments

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
244•jorangreef•6h ago•130 comments

Immersive Linear Algebra Book with Interactive Figures

https://immersivemath.com/ila/
39•srean•2h ago•3 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

11•XiaHua•1h ago•5 comments

Someone Used AI to Write an Unauthorized Biography of Me

https://www.nytimes.com/2026/07/16/technology/ai-slop-books-biography-amazon.html
19•igonvalue•1h ago•26 comments

56,000 lines of DOOM, in a language I made up

https://betlang.dev/about/
22•ghuntley•1h ago•14 comments

Guide to data tools landscape for developers

https://sinja.io/blog/data-landscape-guide-for-developers
52•OlegWock•3h ago•12 comments

Sony deletes more movies from the accounts of people who ‘bought’ them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
386•nekusar•6h ago•228 comments

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
33•zhinit•3h ago•25 comments

Ente – Opening Our Books

https://ente.com/open/
167•Sherex•7h ago•63 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
103•onatm•6h ago•16 comments

GC shape stenciling in Go generics

https://rednafi.com/go/gc-shape-stenciling/
31•ingve•4d ago•5 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
16•patonw•2h ago•4 comments

Agent-talk: Enabling coding agents to work together

https://github.com/xhluca/agent-talk
14•xhluca•2h ago•4 comments

Cottage Computer Programming (1984)

https://www.atariarchives.org/deli/cottage_computer_programming.php
8•lioeters•4d ago•1 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

17•tmzt•1h ago•2 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
7•partialsolve•1h ago•1 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
212•gslin•15h ago•39 comments

Teardown: A Generic 7-Port USB 3.0 Hub That Wasn't

https://goughlui.com/2026/07/09/teardown-a-generic-7-port-usb-3-0-hub-that-wasnt/
179•speckx•4d ago•83 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
33•caminanteblanco•2d ago•6 comments

Photos of items from families in different countries with different incomes

https://www.gapminder.org/dollar-street
61•uneven9434•1h ago•24 comments

42% of adults rely on their parents for financial support

https://www.cnbc.com/2026/07/16/42percent-of-adults-rely-on-their-parents-for-financial-supportth...
23•root-parent•1h ago•6 comments