MCPcopy Index your code
hub / github.com/bastengao/gncdu

github.com/bastengao/gncdu @v0.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.0 ↗ · + Follow
53 symbols 121 edges 11 files 0 documented · 0% updated 2y agov0.7.0 · 2023-06-27★ 447 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

gncdu

gncdu implements NCurses Disk Usage(ncdu) with golang, and is at leaset twice faster as ncdu.

Install

Binaries

macOS (Apple Silicon)

wget -O https://github.com/bastengao/gncdu/releases/download/v0.7.0/gncdu-darwin-arm64 && chmod +x /usr/local/bin/gncdu

Linux (amd64)

wget -O /usr/local/bin/gncdu https://github.com/bastengao/gncdu/releases/download/v0.7.0/gncdu-linux-amd64 && chmod +x /usr/local/bin/gncdu

Or download executable file from releases page.

Install from source

go install github.com/bastengao/gncdu

Usage

gncdu [path]

screenshot

Extension points exported contracts — how you extend this code

Page (Interface)
(no doc)
ui/pages.go

Core symbols most depended-on inside this repo

Size
called by 10
scan/file_data.go
Push
called by 6
ui/navigator.go
Path
called by 6
scan/file_data.go
Root
called by 5
scan/file_data.go
ToHumanSize
called by 5
scan/human_size.go
Count
called by 4
scan/file_data.go
NewResultPage
called by 3
ui/pages.go
newInfoView
called by 3
ui/ui.go

Shape

Method 24
Function 21
Struct 7
Interface 1

Languages

Go100%

Modules by API surface

ui/pages.go25 symbols
scan/file_data.go12 symbols
ui/ui.go3 symbols
ui/navigator.go3 symbols
scan/scan.go3 symbols
scan/print.go2 symbols
debug/logger.go2 symbols
scan/human_size_test.go1 symbols
scan/human_size.go1 symbols
main.go1 symbols

For agents

$ claude mcp add gncdu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page