{"id":22155281,"url":"https://github.com/bdeering1/polykill","last_synced_at":"2025-07-26T06:33:01.842Z","repository":{"id":160723735,"uuid":"627219280","full_name":"Bdeering1/polykill","owner":"Bdeering1","description":"Remove dependencies and build artifacts from unused local projects.","archived":false,"fork":false,"pushed_at":"2025-05-26T01:48:42.000Z","size":118,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T17:51:05.796Z","etag":null,"topics":["cargo","cli","dotnet","filesystem","gradle","mix","node","tools"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/polykill","language":"Rust","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/Bdeering1.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":"2023-04-13T02:49:58.000Z","updated_at":"2025-05-26T01:44:25.000Z","dependencies_parsed_at":"2023-11-17T00:10:39.575Z","dependency_job_id":"e6003fd0-8c4d-485b-a731-63cffadec8b1","html_url":"https://github.com/Bdeering1/polykill","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/Bdeering1/polykill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bdeering1%2Fpolykill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bdeering1%2Fpolykill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bdeering1%2Fpolykill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bdeering1%2Fpolykill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bdeering1","download_url":"https://codeload.github.com/Bdeering1/polykill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bdeering1%2Fpolykill/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267130140,"owners_count":24040405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cargo","cli","dotnet","filesystem","gradle","mix","node","tools"],"created_at":"2024-12-02T02:15:58.697Z","updated_at":"2025-07-26T06:33:01.834Z","avatar_url":"https://github.com/Bdeering1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polykill\n\n[![Crates.io](https://img.shields.io/crates/v/polykill?style=flat-square\u0026color=peru)](https://crates.io/crates/polykill)\n[![Crates.io (Downloads)](https://img.shields.io/crates/d/polykill?style=flat-square\u0026color=mediumseagreen)](https://crates.io/crates/polykill)\n[![Crates.io Size](https://img.shields.io/crates/size/polykill?style=flat-square\u0026color=steelblue)](https://crates.io/crates/polykill)\n\n*Like [polyfill](https://developer.mozilla.org/en-US/docs/Glossary/Polyfill) - but more violent*\n\nLightweight command line utility for removing unwanted dependencies and build artifacts from local projects. Inspired by [npkill](https://www.npmjs.com/package/npkill).\n\nSupported project types:\n- Node\n- Cargo\n- .NET\n- Go\n- Gradle\n- Mix\n- Composer\n- Misc. (see \"Additional Information\")\n\n## Installation\n\n```sh\ncargo install polykill\n```\n\n## Usage\n\n```sh\npolykill [OPTIONS] [DIR]\n```\n\nPolykill will recursively search for projects in the provided directory and output a list of all projects found. If no directory is provided, the current directory will be searched.\n\nWhen the search has completed, navigate the menu using the following controls:\n\n| Key Bind   | Action           |\n| ---------- | ---------------- |\n| ↓, ↑, ←, →, h, j, k, l | select project |\n| enter, del | remove artifacts |\n| esc, q     | exit             |\n\n**Warning for Node projects:** Some Node applications need their node_modules directory to work and deleting it may break them.\n\n## Options\n\n| Argument         | Description                                   |\n| ---------------- | --------------------------------------------- |\n| -v, --verbose    | Verbose output                                |\n| -s, --skip-empty | Hide projects with zero possible disk savings |\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;--no-vcs | Include projects without version control (will slow down search) |\n| -u, --unsorted   | Don't sort projects                           |\n| -h, --help       | Print help                                    |\n| -V, --version    | Print version                                 |\n\n*supported version control systems are: git, svn, and mercurial\n\n## Additional Information\n\nHow projects are identified and which files or directories will be removed:\n\n| Type      | Identifier(s)      | Artifacts        |\n| --------- | ------------------ | ---------------- |\n| Node      | package.json       | node_modules     |\n| Cargo     | cargo.toml         | target           |\n| .NET      | .csproj            | bin, obj         |\n| Go        | go.mod             | dir(.exe), dir.test(.exe) |\n| Gradle    | build.gradle(.kts) | build            |\n| Mix       | mix.exs            | _build, deps     |\n| Composer  | composer.json      | vendor           |\n| Misc.     | bin, build, dist   | bin, build, dist |\n\n*dir for go projects is the name of the project directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdeering1%2Fpolykill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdeering1%2Fpolykill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdeering1%2Fpolykill/lists"}