Skip to content

A cleaner tool to removing deps directories of archived projects to save some storage space, written in Rust.

Notifications You must be signed in to change notification settings

maiquealmeida/project-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Cleaner

Static Badge Static Badge Static Badge


🇧🇷🇧🇷 Clique aqui para ler em PTBR 🇧🇷🇧🇷


A CLI tool for cleaning up dependency directories, helping you free up storage space. Use this on projects you're not actively working on but need to keep the codebase on your computer.

🚨 PAY ATTENTION YOUNG PADAWAN: This is not your usual blah-blah-blah!

This project is part of a study suite I'm developing about Rust, and I decided to make it public before completion. That means: some things might not be 100% ready! So:

  • 😬 Use at your own risk. Suggestions and contributions are always welcome!
  • 📖 Read the code keeping in your mind that I'm learning!
  • ❤️‍🔥 Suggestions and contribuitons are welcome. Always!
  • 🙋‍♂️ I'm here if you need ask anything!

Compatible with projects:

  • Javascript (dependencies inside ./node_modules)
  • Python (dependencies inside ./.venv)
  • PHP (dependencies inside ./vendor)

How to use

  1. Install the project:
cargo install --path .
  1. Run the command:
project-cleaner [DIRECTORY]

Dependencies

  • clap: For CLI argument parsing
  • thiserror: For error handling
  • anyhow: For generic errors
  • walkdir: For directory traversal
  • rayon: For parallelism
  • indicatif: For progress bars

TODO's

  • Automated test pipeline
  • Downloadable binaries
  • Publish to package managers
    • Brew (MacOS / Linux)
    • Chocolatey (Windows)
    • WinGet (Windows)
    • apt-get (Debian Linux)
    • pacman (Arch Linux)

License

MIT © Maique Almeida

About

A cleaner tool to removing deps directories of archived projects to save some storage space, written in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages