{"id":36482157,"url":"https://github.com/spectronp/sizr","last_synced_at":"2026-01-12T01:02:59.860Z","repository":{"id":254785217,"uuid":"847107626","full_name":"spectronp/sizr","owner":"spectronp","description":"A tool that recursively calculates the removable size of packages","archived":false,"fork":false,"pushed_at":"2025-02-15T04:48:36.000Z","size":50,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T05:23:52.459Z","etag":null,"topics":["cli","disk","disk-usage","go","package-manager","packages","size","size-calculation","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spectronp.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}},"created_at":"2024-08-24T21:44:59.000Z","updated_at":"2025-02-15T04:48:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a7c7471-0606-4375-952f-7936c1ab9498","html_url":"https://github.com/spectronp/sizr","commit_stats":null,"previous_names":["spectronp/sizr"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/spectronp/sizr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectronp%2Fsizr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectronp%2Fsizr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectronp%2Fsizr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectronp%2Fsizr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spectronp","download_url":"https://codeload.github.com/spectronp/sizr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectronp%2Fsizr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28330166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cli","disk","disk-usage","go","package-manager","packages","size","size-calculation","utility"],"created_at":"2026-01-12T01:02:59.280Z","updated_at":"2026-01-12T01:02:59.853Z","avatar_url":"https://github.com/spectronp.png","language":"Go","readme":"# sizr\n\n\u003e A tool that recursively calculates the removable size of packages\n\nIt will sum the size of every dependency that will no longer be required if the target package is deleted.\n\nBy default, **sizr** will display the packages of higher sizes in decrescent order.\n\n## How to use\n\nThe first time you run **sizr**, it will load all the packages installed on your system ( This might take a minute, but only on the first time ).\nAfter, it will display a list ( 30, by default ) of the packages with higher calculated sizes. The number of packages can be changed with `-n` or `--limit` flags.\n\n### Usage\n\n```\nsizr [-n | --limit] ( Default: 30 )\nsizr -v | --version\nsizr -h | --help\n\nOptions:\n  -n --limit\tSet the limit of packages to show (Default: 30)\n  -h --help\tShow this help message\n  -v --version\tShow sizr version\n```\n\n## How to install\n\n```\ngit clone https://github.com/spectronp/sizr\ncd sizr\nmake\nmake install\n```\n\u003e [!IMPORTANT]\n\u003e The user needs to be in the `wheel` group to use the database file\n\nAdd current user to `wheel`:\n\n```\nsudo usermod -a -G wheel $USER\n```\n\n### Dependencies\n\nThe only dependency **sizr** has is [jq](https://jqlang.github.io/jq/). You can easily install it with:\n\n```\nsudo pacman -S jq\n\n# or using an AUR helper ( I think you know how to do it 🙂 )\n```\n\n### How to uninstall\n\nRun inside the repository:\n\n```\nmake uninstall\n```\n\n## How to run tests\n\nRun the default test command:\n\n```\nmake test\n```\n\nYou can pass arguments and flags to `go test` command running the `wrap.sh` script:\n\n```\n./test/wrap.sh ARGS_FLAGS_HERE\n\n# Example\n./test/wrap.sh -v -failfast\n```\n\n## Package Managers Supported\n\n- [x] Pacman\n- [ ] Apt ( Planned in the near future )\n\n## Roadmap\n\n- [ ] Support more Package Managers\n- [ ] Config\n- [ ] Overall Optimization\n- [ ] More info about packages\n- [x] CLI\n  - [x] List report\n  - [ ] Single package\n  - [ ] Merge mode ( calculate more than 1 package )\n  - [ ] Utility flags\n  - [ ] Log\n  - [ ] Benchmark\n- [ ] TUI\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectronp%2Fsizr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectronp%2Fsizr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectronp%2Fsizr/lists"}