#cleaner #cargo #cli #command-line #unity #disk-space #linux #user-interface

app kondo

kondo is a filesystem cleaning tool that recursively searches directories for known project structures and determines how much space you could save by deleting the unnecessary files

4 releases (breaking)

0.4.0 Jul 31, 2020
0.3.0 Mar 15, 2020
0.2.0 Feb 23, 2020
0.1.0 Jan 27, 2020

#1155 in Command line utilities

Download history 32/week @ 2022-10-18 30/week @ 2022-10-25 32/week @ 2022-11-01 26/week @ 2022-11-08 21/week @ 2022-11-15 14/week @ 2022-11-22 24/week @ 2022-11-29 24/week @ 2022-12-06 22/week @ 2022-12-13 18/week @ 2022-12-20 8/week @ 2022-12-27 16/week @ 2023-01-03 14/week @ 2023-01-10 16/week @ 2023-01-17 25/week @ 2023-01-24 20/week @ 2023-01-31

84 downloads per month

MIT license

5KB
110 lines

Kondo ๐Ÿงน

Kondo Lints

Cleans unneeded directories and files from your system.

kondo gui

kondo command line

It will identify the disk space savings you would get from deleting temporary/unnecessary files from project directories, such as target from Cargo projects and node_modules from Node projects.

Supports:

Installation

Graphic User Interface

Windows and Mac builds are available on the Releases page as kondo-ui.

You can install kondo-ui via Cargo with cargo install kondo-ui. Note you'll still need druid's platform specific dependencies on mac and linux.

Command line

Windows, Mac, and Linux builds are available on the Releases page as kondo.

You can install kondo via Cargo with cargo install kondo.

Operation

Graphic User Interface

Launch kondo-ui, select a directory to be scanned, evaluate & clean directories as needed.

Command Line Interface

Running kondo without a directory specified will run in the current directory.

$ kondo

Supplying a path will tell kondo where to start. Multiple paths are supported.

$ kondo code/my_project code/my_project_2

Example Output

$ kondo ~/code
/Users/choc/code/unity Cargo project
  โ””โ”€ target (489.1KiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): y
  deleted 489.1KiB

/Users/choc/code/multiplayer-kit/generator Cargo project
  โ””โ”€ target (874.3KiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): n

/Users/choc/code/chat Cargo project
  โ””โ”€ target (37.2MiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): q

Total bytes deleted: 489.1KiB

Building/Development

To build kondo you can run cargo build from the projects root directory.

To build kondo-ui you must first navigate into the kondo-ui directory, then you can run cargo build.

Similar Projects

Dependencies

~1.8โ€“2.5MB
~45K SLoC