{"id":48832144,"url":"https://github.com/mathieumarthy/bonsize","last_synced_at":"2026-04-14T21:00:58.960Z","repository":{"id":344266441,"uuid":"1167512000","full_name":"MathieuMarthy/bonsize","owner":"MathieuMarthy","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-14T13:08:30.000Z","size":694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T13:33:22.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathieuMarthy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-26T11:24:53.000Z","updated_at":"2026-03-13T18:22:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5dfc95c-74d7-4be3-b593-a1ef9cabd050","html_url":"https://github.com/MathieuMarthy/bonsize","commit_stats":null,"previous_names":["mathieumarthy/bonsize"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/MathieuMarthy/bonsize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuMarthy%2Fbonsize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuMarthy%2Fbonsize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuMarthy%2Fbonsize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuMarthy%2Fbonsize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathieuMarthy","download_url":"https://codeload.github.com/MathieuMarthy/bonsize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuMarthy%2Fbonsize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31815080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-14T21:00:40.894Z","updated_at":"2026-04-14T21:00:58.954Z","avatar_url":"https://github.com/MathieuMarthy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bonsize 🐢\n\nA CLI tool to display directory tree sizes.\n\n## Description\n\n`bonsize` allows you to quickly analyze and display the size of directories and files in a tree structure, making it easy to identify which files and folders are taking up the most disk space.\n\n\n## Usage\n\n```bash\nbonsize [OPTIONS] [PATH]\n```\n\n### Arguments\n\n- `[PATH]` - The directory path to analyze (default: current directory `.`)\n\n### Options\n\n- `-F, --file` - Show files in the output\n- `-D, --directory` - Show only directories\n- `-d, --depth \u003cMAX_DEPTH\u003e` - Maximum depth to traverse\n- `-s, --sorted [\u003cSORT\u003e]` - Sort output (possible values: `asc`, `desc`)\n- `--csv [\u003cCSV\u003e]` - Export results to CSV format\n- `-c, --cache` - Use caching for improved performance\n- `-q, --quiet` - Suppress non-essential output\n- `-h, --help` - Print help information\n- `-V, --version` - Print version information\n\n### Examples\n\n```bash\n$ bonsize /folder\n📂 - folder 109.15MB\n  📂 - folder/videos 104.79MB\n    📂 - folder/videos/2026 87.19MB\n      📄 - folder/videos/2026/vacation_2026_02.mp4 87.19MB\n    📂 - folder/videos/2025 17.60MB\n      📄 - folder/videos/2025/Replay_2026-03-12_20-05-46.mp4 17.60MB\n  📂 - folder/turtle pictures 4.36MB\n    📄 - folder/turtle pictures/image_2.png 4.32MB\n    📄 - folder/turtle pictures/image_1.jpg 40.00KB\n  📄 - folder/letter.txt 4.00KB\n```\n\n```bash\n# Show only directories, sorted by size\n$ bonsize -D -s desc\n\n# Limit depth and use cache\n$ bonsize -d 3 -c\n```\n\n\n## Installation\n\n### Windows\n\nDownload the Windows installer (`.exe`) from the [GitHub releases](https://github.com/MathieuMarthy/bonsize/releases).\n\n### Debian/Ubuntu\n\nDownload the `.deb` package from the [GitHub releases](https://github.com/MathieuMarthy/bonsize/releases) and install it:\n\n```bash\nsudo dpkg -i bonsize_*.deb\n```\n\n### From source\n\nIf you have Rust installed, you can compile from source:\n\n```bash\ncargo install --path .\n```\n\n\n## License\n\nThis project is licensed under the WTFPL, see the [license file](./LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieumarthy%2Fbonsize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieumarthy%2Fbonsize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieumarthy%2Fbonsize/lists"}