dwipe

Crates.iodwipe
lib.rsdwipe
version
sourcesrc
created_at2025-03-22 06:18:07.753436+00
updated_at2025-04-04 17:23:27.591443+00
descriptionFast, cross-platform disk cleanup tool with interactive UI
homepagehttps://trinhminhtriet.com
repositoryhttps://github.com/trinhminhtriet/dwipe
max_upload_size
id1601571
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Triet Trinh (trinhminhtriet)

documentation

README

๐Ÿš€ dwipe

     _          _
  __| |_      _(_)_ __   ___
 / _` \ \ /\ / / | '_ \ / _ \
| (_| |\ V  V /| | |_) |  __/
 \__,_| \_/\_/ |_| .__/ \___|
                 |_|

๐Ÿงน Fast, cross-platform disk cleanup tool with interactive UI for easy directory size visualization.

โœจ Features

  • Blazing Fast โšก โ€“ Efficiently scans directories and subdirectories to provide accurate size metrics in seconds.
  • Cross-Platform ๐ŸŒ โ€“ Works seamlessly on Linux, Windows, and macOS.
  • User-Friendly Output ๐Ÿ“Š โ€“ Presents results in a clear and readable format.
  • Intuitive Sorting ๐Ÿ” โ€“ Easily identify the largest folders consuming your disk space.
  • Lightweight & Portable ๐Ÿ— โ€“ Built in Rust for minimal resource usage and fast execution.
  • Customizable Filters ๐ŸŽฏ โ€“ Exclude specific directories or set size thresholds for better insights.

๐Ÿš€ Installation

To install dwipe, simply clone the repository and follow the instructions below:

git clone git@github.com:trinhminhtriet/dwipe.git
cd dwipe

cargo build --release
cp ./target/release/dwipe /usr/local/bin/
dwipe --version
dwipe --help

Running the below command will globally install the dwipe binary.

cargo install dwipe

Optionally, you can add ~/.cargo/bin to your PATH if it's not already there

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

๐Ÿ’ก Usage

Run in current dir

dwipe

Run in specific dir

dwipe [PATH]

vie Docker

with Docker Hub

docker pull trinhminhtriet/dwipe
docker run --rm -v "${PWD}":/workdir trinhminhtriet/dwipe .

Keybindings

  • jk/โ†“โ†‘ - Navigate up/down
  • l/โ†’/Enter - Navigate into folder
  • h/โ†/Backspace - Navigate to parent
  • d - Delete file/folder. First hit - selects entry. Second hit - confirms deletion.
  • s - Toggle sorting (Title / Size)
  • c - Toggle coloring. When enabled - shows space usage with gradient
  • t - Toggle trash. When enabled - removed content goes to Trash bin.
  • q - Quit

๐Ÿค How to contribute

We welcome contributions!

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m "feat: my new feature";
  • Push to your branch: git push origin my-feature.

Once your pull request has been merged, you can delete your branch.

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 0

cargo fmt