馃Ч Dependency Scanner and Pruner
go
dependency
dependencies
1
2# 🧹 Deppa
3
4> Dependency scanner and pruner
5
6Deppa finds and deletes dependency and build output directories (`node_modules`, `target`, `.next`, etc.) that accumulate across your projects and silently consume disk space.
7
8Deppa is written in [Go](https://go.dev) and uses [Bubble Tea](https://github.com/charmbracelet/bubbletea) for its terminal interface.
9
10<p align="center">
11 <img src="./assets/example_screenshot.png" alt="Example Screenshot">
12</p>
13
14## Usage
15
16```bash
17deppa # Scan from the current directory
18deppa ~/Developer # Scan from a specific path
19```
20
21## Installation
22
23```bash
24go install github.com/Fuwn/deppa@latest
25```
26
27Or build from source:
28
29```bash
30git clone https://github.com/Fuwn/deppa.git
31cd deppa
32task build
33task install
34```
35
36## Keybindings
37
38| Key | Action |
39|-----|--------|
40| `j/k` | Navigate down/up |
41| `space` | Toggle selection |
42| `a` | Toggle all |
43| `enter` | Delete selected |
44| `q` | Quit |
45
46## Detected Directories
47
48`node_modules`, `target`, `.next`, `.nuxt`, `__pycache__`, `.venv`, `venv`, `.gradle`, `Pods`, `.zig-cache`, `zig-cache`, `zig-out`, `_build`, `.dart_tool`
49
50Want to add a new detected or ignored directory? Open a PR to [`scanner.go`](https://github.com/Fuwn/deppa/blob/main/scanner.go) after testing.
51
52## Licence
53
54Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
55[MIT license](LICENSE-MIT) at your option.
56
57Unless you explicitly state otherwise, any contribution intentionally submitted
58for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
59be dual licensed as above, without any additional terms or conditions.