https://github.com/trinhminhtriet/dwipe
๐งน Fast, cross-platform disk cleanup tool with interactive UI for easy directory size visualization.
https://github.com/trinhminhtriet/dwipe
cli cross-platform disk-analyzer disk-cleanup file-management filesystem rust system-utilities terminal-ui tui
Last synced: 2 months ago
JSON representation
๐งน Fast, cross-platform disk cleanup tool with interactive UI for easy directory size visualization.
- Host: GitHub
- URL: https://github.com/trinhminhtriet/dwipe
- Owner: trinhminhtriet
- License: mit
- Created: 2025-03-22T05:44:05.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-03-22T06:31:43.000Z (2 months ago)
- Last Synced: 2025-03-22T06:35:17.671Z (2 months ago)
- Topics: cli, cross-platform, disk-analyzer, disk-cleanup, file-management, filesystem, rust, system-utilities, terminal-ui, tui
- Language: Rust
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ dwipe
```text
_ _
__| |_ _(_)_ __ ___
/ _` \ \ /\ / / | '_ \ / _ \
| (_| |\ 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:
```bash
git clone [email protected]:trinhminhtriet/dwipe.git
cd dwipecargo build --release
cp ./target/release/dwipe /usr/local/bin/
dwipe --version
dwipe --help
```Running the below command will globally install the `dwipe` binary.
```bash
cargo install dwipe
```Optionally, you can add `~/.cargo/bin` to your PATH if it's not already there
```bash
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```## ๐ก Usage
#### Run in current dir
`dwipe`
#### Run in specific dir
`dwipe [PATH]`
## 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## ๐๏ธ Uninstallation
Running the below command will globally uninstall the `dwipe` binary.
```bash
cargo uninstall dwipe
```Remove the project repo
```bash
rm -rf /path/to/git/clone/dwipe
```## ๐ค 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](LICENSE) file for details.