Something went wrong. Try again.
Getǣl — Read-only macOS home directory disk usage cartography & APFS telemetry service
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327export type SizeMetric = 'physical' | 'logical';
export type FileCategory = | 'code_builds' | 'media_video' | 'models_data' | 'archives_images' | 'caches_logs' | 'apps_binaries' | 'documents' | 'other';
export type AgeBucket = | 'lt24h' | 'days1_to7' | 'days7_to30' | 'days30_to90' | 'days90_to1y' | 'years1_to3' | 'gt3y';
export type AccessStatus = 'ok' | 'permission_denied' | 'mount_boundary';export type DirectorySort = 'size' | 'name' | 'mtime' | 'count';export type HilbertColorBy = 'category' | 'age' | 'depth';
export type LensId = | 'voronoi' | 'treemap' | 'sunburst' | 'icicle' | 'scatter' | 'hilbert' | 'sankey' | 'circlepack';
export interface CategoryHistogram { code_builds: number; media_video: number; models_data: number; archives_images: number; caches_logs: number; apps_binaries: number; documents: number; other: number;}
export interface AgeHistogram { lt_24h: number; days_1_7: number; days_7_30: number; days_30_90: number; days_90_1y: number; years_1_3: number; gt_3y: number;}
export interface HealthResponse { schema_version: number; generated_at: string; status: string; platform?: 'macos' | 'linux' | 'windows' | 'unknown'; snapshots_supported?: boolean; home_display?: string; uptime_secs: number; scan_state: 'idle' | 'scanning'; scanned_dirs: number; scanned_files: number; scanned_physical_bytes: number; scanned_logical_bytes: number; inaccessible_dirs: number; fsevents_active: boolean; last_full_scan_completed_ns: number; cache_populated: boolean;}
export interface ApfsSiblingVolume { name: string; device_identifier: string; capacity_in_use: number; mount_point: string | null; roles: string[];}
export interface VolumeStats { volume_name: string; mount_point: string; device_identifier: string; container_ref: string | null; filesystem_type?: string | null; total_bytes: number; strictly_free_bytes: number; purgeable_bytes: number; important_available_bytes: number; opportunistic_available_bytes: number; sibling_volumes: ApfsSiblingVolume[];}
export interface VolumeResponse { schema_version: number; generated_at: string; volume: VolumeStats; home_scanned_physical_bytes: number; home_scanned_logical_bytes: number;}
export interface TimeMachineSnapshot { name: string; uuid: string; xid: number; xid_delta: number; timestamp_rfc3339: string | null; purgeable: boolean; limiting_container_shrink: boolean;}
export interface SnapshotInventory { mount_point: string; snapshot_count: number; any_limiting_shrink: boolean; oldest_timestamp: string | null; newest_timestamp: string | null; snapshots: TimeMachineSnapshot[];}
export interface SnapshotsResponse { schema_version: number; generated_at: string; supported?: boolean; inventory: SnapshotInventory; purgeable_pool_bytes: number;}
export interface TreeNode { path: string; name: string; bytes: number; physical_bytes: number; logical_bytes: number; file_count: number; dir_count: number; depth: number; is_hidden: boolean; is_synthetic: boolean; access_status: AccessStatus; dominant_category: FileCategory; mtime_ns: number; children: TreeNode[];}
export interface TreeResponse { schema_version: number; generated_at: string; tree: TreeNode;}
export interface DirectoryRecord { path: string; parent_path: string | null; name: string; depth: number; is_hidden: boolean; direct_physical_bytes: number; direct_logical_bytes: number; direct_file_count: number; direct_dir_count: number; dataless_count: number; dataless_logical_bytes: number; subtree_physical_bytes: number; subtree_logical_bytes: number; subtree_file_count: number; subtree_dir_count: number; inaccessible_count: number; mtime_ns: number; max_subtree_mtime_ns: number; last_scanned_ns: number; direct_categories: CategoryHistogram; subtree_categories: CategoryHistogram; direct_age_buckets: AgeHistogram; subtree_age_buckets: AgeHistogram; access_status: AccessStatus;}
export interface FileEntry { path: string; dir_path: string; name: string; extension: string; category: FileCategory; physical_bytes: number; logical_bytes: number; mtime_ns: number; is_hidden: boolean; is_dataless: boolean;}
export interface BloatHint { path: string; name: string; kind: string; physical_bytes: number; logical_bytes: number;}
export interface DirectoryResponse { schema_version: number; generated_at: string; directory: DirectoryRecord; child_dirs: DirectoryRecord[]; top_files: FileEntry[]; bloat_hints: BloatHint[];}
export interface ScatterPoint { path: string; dir_path: string; name: string; kind: 'file' | 'directory'; category: FileCategory; bytes: number; physical_bytes: number; logical_bytes: number; age_days: number; mtime_ns: number; is_hidden: boolean; is_dataless: boolean;}
export interface ScatterResponse { schema_version: number; generated_at: string; root_path: string; total_bytes: number; points: ScatterPoint[];}
export interface HilbertCell { index: number; x: number; y: number; path: string; name: string; bytes: number; category: FileCategory; age_bucket: AgeBucket; depth: number;}
export interface HilbertResponse { schema_version: number; generated_at: string; root_path: string; order: number; grid_size: number; color_by: HilbertColorBy; total_bytes: number; cells: HilbertCell[];}
export interface SankeyNode { id: string; label: string; column: number; bytes: number; path: string | null; category: FileCategory | null;}
export interface SankeyLink { source: string; target: string; bytes: number;}
export interface SankeyResponse { schema_version: number; generated_at: string; root_path: string; total_bytes: number; nodes: SankeyNode[]; links: SankeyLink[];}
export interface SearchHit { path: string; name: string; kind: 'directory' | 'file'; physical_bytes: number; logical_bytes: number; category: FileCategory | null; mtime_ns: number;}
export interface SearchResponse { schema_version: number; generated_at: string; query: string; hits: SearchHit[];}
export type EngineSseEvent = | { type: 'scan_progress'; scan_state: 'idle' | 'scanning'; progress: { scanned_dirs: number; scanned_files: number; scanned_physical_bytes: number; scanned_logical_bytes: number; inaccessible_dirs: number; }; } | { type: 'dir_updated'; path: string; delta_physical_bytes: number; delta_logical_bytes: number; } | { type: 'volume_updated'; } | { type: 'snapshots_updated'; } | { type: 'resync_required'; };