{"id":13451246,"url":"https://github.com/viktomas/godu","last_synced_at":"2026-01-17T02:46:54.057Z","repository":{"id":15223171,"uuid":"77726201","full_name":"viktomas/godu","owner":"viktomas","description":"Simple golang utility helping to discover large files/folders.","archived":false,"fork":false,"pushed_at":"2024-05-26T12:02:18.000Z","size":245,"stargazers_count":542,"open_issues_count":14,"forks_count":24,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-23T18:40:48.553Z","etag":null,"topics":["disk-cleaner","disk-space","golang"],"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/viktomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2016-12-31T05:08:50.000Z","updated_at":"2025-03-20T12:50:04.000Z","dependencies_parsed_at":"2024-06-18T18:14:52.202Z","dependency_job_id":"f298a57b-2cb7-4f53-af8b-5c739a8aeb57","html_url":"https://github.com/viktomas/godu","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/viktomas/godu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktomas%2Fgodu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktomas%2Fgodu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktomas%2Fgodu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktomas%2Fgodu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viktomas","download_url":"https://codeload.github.com/viktomas/godu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktomas%2Fgodu/sbom","scorecard":{"id":921609,"data":{"date":"2025-08-11","repo":{"name":"github.com/viktomas/godu","commit":"54765d14f9b60603d7e3b32e686945e5ae543c5f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/24 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/viktomas/godu/test.yml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.5.2 not signed: https://api.github.com/repos/viktomas/godu/releases/156425582","Warn: release artifact v1.4.1 not signed: https://api.github.com/repos/viktomas/godu/releases/83676952","Warn: release artifact v1.4.0 not signed: https://api.github.com/repos/viktomas/godu/releases/83301705","Warn: release artifact v1.3.1 not signed: https://api.github.com/repos/viktomas/godu/releases/77449564","Warn: release artifact v1.3 not signed: https://api.github.com/repos/viktomas/godu/releases/22966199","Warn: release artifact v1.5.2 does not have provenance: https://api.github.com/repos/viktomas/godu/releases/156425582","Warn: release artifact v1.4.1 does not have provenance: https://api.github.com/repos/viktomas/godu/releases/83676952","Warn: release artifact v1.4.0 does not have provenance: https://api.github.com/repos/viktomas/godu/releases/83301705","Warn: release artifact v1.3.1 does not have provenance: https://api.github.com/repos/viktomas/godu/releases/77449564","Warn: release artifact v1.3 does not have provenance: https://api.github.com/repos/viktomas/godu/releases/22966199"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-25T03:53:16.715Z","repository_id":15223171,"created_at":"2025-08-25T03:53:16.716Z","updated_at":"2025-08-25T03:53:16.716Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"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":["disk-cleaner","disk-space","golang"],"created_at":"2024-07-31T07:00:50.515Z","updated_at":"2026-01-17T02:46:54.040Z","avatar_url":"https://github.com/viktomas.png","language":"Go","readme":"# godu\n\n[![Build Status](https://travis-ci.org/viktomas/godu.svg?branch=master)](https://travis-ci.org/viktomas/godu)\n[![codecov](https://codecov.io/gh/viktomas/godu/branch/master/graph/badge.svg)](https://codecov.io/gh/viktomas/godu)\n[![Go Report Card](https://goreportcard.com/badge/github.com/viktomas/godu)](https://goreportcard.com/report/github.com/viktomas/godu)\n[![Gitter chat](https://badges.gitter.im/viktomas-godu.png)](https://gitter.im/viktomas-godu)\n\nFind the files that are taking up your space.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/1079718/54609718-cf2bb580-4a53-11e9-8cd0-2272278597b6.gif\" width=\"100%\" /\u003e\n\nTired of looking like a noob with [Disk Inventory X](http://www.derlien.com/), [Daisy Disk](https://daisydiskapp.com/) or SpaceMonger? Do you want something that:\n\n* can do the job\n* scans your drive blazingly fast\n* works in terminal\n* makes you look cool\n* is written in Golang\n* you can contribute to\n\n??\n\nWell then **look no more** and try out the godu.\n\n## Installation\n\nWith `homebrew`:\n\n```sh\nbrew tap viktomas/taps\nbrew install godu\n```\n\nWith `go`:\n\n```sh\ngo install github.com/viktomas/godu@latest\n```\n\nOr grab a [Released binary](https://github.com/viktomas/godu/releases/latest) for your OS and architecture, extract it and put it on your `$PATH` e.g. `/usr/local/bin`.\n\n## Configuration\n\nYou can specify names of ignored folders in `.goduignore` in your home directory:\n\n```sh\n\u003e cat ~/.goduignore\nnode_modules\n\u003e\n```\n\nI found that I could reduce time it took to crawl through the whole drive to 25% when I started ignoring all `node_modules` which cumulatively contain gigabytes of small text files.\n\nThe `.goduignore` is currently only supporting whole folder names. PR that will make it work like `.gitignore` is welcomed.\n\n## Usage\n\n```sh\ngodu ~\ngodu -l 100 / # walks the whole root but shows only files larger than 100MB\n# godu -print0 ~ | xargs -0 rm # use with caution! Will delete all marked files!\n```\n\n## Favourite aliases\n\n```bash\n# After you exit godu, all selected files get deleted\nalias gd=\"godu -print0 | xargs -0 rm -rf\"\n# Usage gm ~/destination/folder\n# After you exit godu, all selected files get moved to ~/destination/folder\nalias gm=\"godu -print0 | xargs -0 -I _ mv _ \"\n```\n\nThe currently selected file/folder can be marked/unmarked with the space key. Upon exiting, godu prints all marked files/folders to stdout. You can further process them with commands like xargs.\n\nMind you `-l  \u003csize_limit_in_mb\u003e` option is not speeding up the walking process, it just allows you to filter small files you are not interested in from the output. **The default limit is 10MB**.\n\nUse arrows (or `hjkl`) to move around, space to select a file / folder, `ESC`, `q` or `CTRL+C` to quit\n","funding_links":[],"categories":["Go","Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktomas%2Fgodu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviktomas%2Fgodu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktomas%2Fgodu/lists"}