{"id":13587136,"url":"https://github.com/whitfin/detox","last_synced_at":"2025-04-19T14:09:05.254Z","repository":{"id":48777307,"uuid":"183709324","full_name":"whitfin/detox","owner":"whitfin","description":"Quickly clean up your development directories before backups","archived":false,"fork":false,"pushed_at":"2022-07-12T19:45:08.000Z","size":21,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-14T00:53:59.600Z","etag":null,"topics":["cleaning","filesystem","utilities"],"latest_commit_sha":null,"homepage":null,"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/whitfin.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}},"created_at":"2019-04-27T00:19:24.000Z","updated_at":"2023-10-08T11:59:36.000Z","dependencies_parsed_at":"2022-08-26T23:10:17.394Z","dependency_job_id":null,"html_url":"https://github.com/whitfin/detox","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitfin%2Fdetox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitfin%2Fdetox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitfin%2Fdetox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitfin%2Fdetox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitfin","download_url":"https://codeload.github.com/whitfin/detox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249709406,"owners_count":21313948,"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","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":["cleaning","filesystem","utilities"],"created_at":"2024-08-01T15:06:02.491Z","updated_at":"2025-04-19T14:09:05.211Z","avatar_url":"https://github.com/whitfin.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Detox\n[![Crates.io](https://img.shields.io/crates/v/detox.svg)](https://crates.io/crates/detox)\n[![Build Status](https://img.shields.io/github/workflow/status/whitfin/detox/CI)](https://github.com/whitfin/detox/actions)\n\nDetox is a very small CLI tool used to clean up development directories to\nsave disk space. This is particularly handy to use prior to backing up your\ndevelopment machine. It was written as a personal tool, but figured it might\nbe useful to others.\n\nThe main aim is to reduce the amount of space in project directories without\nspecifically altering the projects. This pretty much means the basics, such\nas removing target directories, dependency directories, compressing version\ncontrol trees, etc.\n\nThe list of structures supported is as below. If you want to add support for\na new structure, feel free; the initial list is pretty much based on what I\nhave on my development machines on a daily basis.\n\n* Cargo (Rust)\n* Git\n* Gradle (Java)\n* Maven (Java)\n* Mix (Elixir)\n* Node.js\n\nIf this is the first time you have run this tool, please do read the source\nto validate that it's not going to wipe something important. It should be\nfairly safe given that it only looks at build files etc, but know that you\nare running it at your own risk!\n\n## Installation\n\nDetox is written in Rust, and is available for download via the repository\non [crates.io](https://crates.io/crates/detox). The easiest way to get this\nat this point is to install it via Cargo:\n\n```shell\n$ cargo install detox\n```\n\n## Usage\n\nThe CLI is tiny and instructions are provided via the documentation:\n\n```shell\n$ detox -h\n$ detox \u003clocation\u003e\n```\n\nLocations are checked recursively for files which might signal a development\ndirectory. Various files which are \"unnecessary\" will then be stripped away,\nand the output will tell you how much space you saved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitfin%2Fdetox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitfin%2Fdetox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitfin%2Fdetox/lists"}