↓ Skip to main content

v-tree: Go & Web Windows Disk Space Visualizer and Fast Scanner

v-tree
See where your disk space went at a glance. v-tree is a lightweight local disk space analyzer for Windows from vtoollab.com, built for tracking down full C: drives, spotting oversized caches, cleaning up redundant files, and running routine storage checks.

Written in pure Go with an embedded Web UI compiled into a single executable (zero external dependencies), v-tree scans directories concurrently or enumerates NTFS MFT records in the background, aggregates folder sizes and file counts bottom-up in real time, and renders an interactive Canvas treemap alongside a proportional breakdown sidebar. It also supports point-and-click drive and folder selection, one-click Windows UAC elevation, opening or selecting items in File Explorer, and instant bilingual switching between Chinese and English.

Key Features
#

  • Dual Scan Engine (Concurrent Walk + NTFS MFT Enumeration): Uses multi-Goroutine concurrent directory traversal by default, and enumerates MFT records via FSCTL_ENUM_USN_DATA when scanning an elevated NTFS drive root—automatically falling back to concurrent scanning if unsupported or unsuccessful.
  • 100% Local Privacy (Zero Upload): All directory scans, size aggregations, and visualizations run locally over loopback HTTP; local paths and directory structures never leave your machine.
  • Size & File Count Tracking: Tracks both byte usage and bottom-up file counts, making it easy to spot directories filled with tens of thousands of small files even when total size looks modest.
  • Live Progress & Real-Time Aggregation: A top progress bar and status strip continuously update scanned items, directory/file counts, throughput, elapsed time, and aggregated size while the treemap and sidebar update live.
  • Point-and-Click Drive & Folder Selection: Quick drive buttons and a Browse modal let you click through drives and subfolders step by step without typing long paths manually.
  • One-Click UAC Admin Elevation: Detects elevated privileges automatically; clicking Run as Admin launches an elevated instance via ShellExecute (runas) and redirects automatically for broader access to protected system folders.
  • Open in File Explorer: Every row in the sidebar includes an Open action that opens folders directly in File Explorer or highlights specific files.
  • Built-in Bilingual UI (EN / Simplified Chinese): Switch UI labels and status text between English and Simplified Chinese anytime from the top bar, with your preference saved in localStorage.
  • Single-File Zero Dependency: Embeds the frontend directly into v-tree.exe via //go:embed with no runtime or external library setup required, opening your default browser automatically on launch.

How to Use
#

  1. Download the archive below and extract v-tree.exe.
  2. Run v-tree.exe (double-click or launch from a terminal with flags) to start the local web server and open the dashboard automatically.
  3. Pick a drive or folder: Click a drive button (such as C:\ or D:\) in the top bar, or click Browse to navigate subfolders by mouse and click Scan Folder.
  4. Elevate & locate: Click Run as Admin and approve the UAC prompt if needed; click any directory block or row to drill down, filter by name, or click Open to open the folder or select the file in File Explorer.

Layout & Aggregation Workflow
#

Dashboard Layout:

+-------------------------------------------------------------------+
| Breadcrumbs  [C:\] [D:\] [Browse] [Filter name...] [Run as Admin] |
+-------------------------------------------------------------------+
| Progress | Status | Current Total | Files | Scanned | Speed | Time |
+-----------------------------------------------+-------------------+
|                                               | [DIR] Users       |
|                                               | 128,450 files     |
|              Canvas Treemap                   | 84.20 GB   62.4%  |
|    Hover for path, size, share & file count   | [DIR] ProgramData |
|    Click a directory block to drill down      | 49,120 files      |
|                                               | 31.80 GB   23.6%  |
+-----------------------------------------------+-------------------+

Scan & Aggregation Pipeline:

Selected Root Path (Drive or Folder)
           ↓
Elevated NTFS drive root?
   ├── Yes → Try FSCTL_ENUM_USN_DATA MFT scan (fallback to walk on error)
   └── No  → Multi-worker concurrent directory walk & file stat
           ↓
Propagate TreeSize & FileCount bottom-up along parent chain
           ↓
Poll /api/node to update Canvas treemap, bars & breadcrumbs

Typical Workflow
#

Launch v-tree.exe and open the local web dashboard
           ↓
Click a drive button or browse subfolders in the Browse modal
           ↓
(Optional) Click "Run as Admin" to restart with UAC elevation
           ↓
Watch live progress, scanned items, file counts, and sizes
           ↓
Drill into large blocks/folders and filter names to pinpoint bloat
           ↓
Click "Open" to open a directory or select a file in File Explorer

Use Cases
#

  • Diagnosing a full C:\ drive by quickly spotting large AppData, build/package caches, or heavy folders
  • Checking both file count and total size before cleaning directories packed with small cache or log files
  • Browsing folders by mouse and jumping straight to File Explorer without copying and pasting long paths
  • Switching between English and Chinese interfaces in bilingual or personal dev environments

Single-File Architecture
#

                   v-tree.exe
                        │
        ┌───────────────┼───────────────┐
        │               │               │
   Embedded Web UI    Scan & Index Engine   Windows APIs
  (Canvas / EN-ZH)  (Walk / NTFS MFT)  (UAC / Drives / Explorer)
        │               │               │
        └───────────────┼───────────────┘
                        │
                Local Loopback HTTP
             (/api/node, /api/scan,
          /api/subdirs, /api/open, /api/elevate)

The Go backend handles:

Multi-Goroutine concurrent directory traversal and file attribute lookup
NTFS MFT enumeration via USN/MFT control codes with automatic walk fallback
Flat in-memory node tree with real-time bottom-up size and file count rollup
Drive enumeration, subfolder browsing, and UAC self-elevation restart
File Explorer folder launch and file selection integration

The embedded frontend delivers a clean, zero-setup bilingual interface right in the browser.

⬇️ Download v-tree.zip
#

Version: 1.0.0 | Platform: Windows (x64) | License: Free Local Edition

There are no articles to list here yet.