All Projects → pranshuchittora → Autarky

pranshuchittora / Autarky

Licence: mit
Liberating disk space from 📁 node_modules

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Autarky

Fselect
Find files with SQL-like queries
Stars: ✭ 3,103 (+1428.57%)
Mutual labels:  cli, hacktoberfest, filesystem
S5cmd
Parallel S3 and local filesystem execution tool.
Stars: ✭ 565 (+178.33%)
Mutual labels:  cli, storage, filesystem
Wsend
wsend: The opposite of wget
Stars: ✭ 64 (-68.47%)
Mutual labels:  cli, hacktoberfest, storage
Sharesniffer
Network share sniffer and auto-mounter for crawling remote file systems
Stars: ✭ 168 (-17.24%)
Mutual labels:  storage, filesystem
Pully
A simple CLI and library for downloading high quality YouTube videos!
Stars: ✭ 153 (-24.63%)
Mutual labels:  cli, hacktoberfest
Uptoc
A static file deployment tool that supports multiple platforms./ 一个支持多家云厂商的静态文件部署工具
Stars: ✭ 159 (-21.67%)
Mutual labels:  cli, storage
Xcv
✂️ Cut, Copy and Paste files with Bash
Stars: ✭ 144 (-29.06%)
Mutual labels:  cli, filesystem
Cloudexplorer
Cloud Explorer
Stars: ✭ 170 (-16.26%)
Mutual labels:  cli, storage
Maya
Manage Container Attached Storage (CAS) - Data Engines in Kubernetes
Stars: ✭ 169 (-16.75%)
Mutual labels:  hacktoberfest, storage
Tus Ruby Server
Ruby server for tus resumable upload protocol
Stars: ✭ 172 (-15.27%)
Mutual labels:  storage, filesystem
Aaru
Aaru Data Preservation Suite
Stars: ✭ 193 (-4.93%)
Mutual labels:  hacktoberfest, filesystem
Simplesh
🐧 Quick installation for Ubuntu terminal.
Stars: ✭ 152 (-25.12%)
Mutual labels:  cli, hacktoberfest
Tox
Command line driven CI frontend and development task automation tool.
Stars: ✭ 2,523 (+1142.86%)
Mutual labels:  cli, hacktoberfest
Fileicon
macOS CLI for managing custom icons for files and folders
Stars: ✭ 196 (-3.45%)
Mutual labels:  cli, filesystem
Command
A library to build command line applications using PHP
Stars: ✭ 164 (-19.21%)
Mutual labels:  cli, filesystem
Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+866.5%)
Mutual labels:  storage, filesystem
Fpl
An asynchronous Python wrapper for the Fantasy Premier League API.
Stars: ✭ 169 (-16.75%)
Mutual labels:  cli, hacktoberfest
Grank
Github 项目活跃度分析工具
Stars: ✭ 199 (-1.97%)
Mutual labels:  cli, hacktoberfest
Plugin Installation Manager Tool
Plugin Manager CLI tool for Jenkins
Stars: ✭ 138 (-32.02%)
Mutual labels:  cli, hacktoberfest
Alienfx
AlienFX is a CLI and GUI utility to control the lighting effects of your Alienware computer.
Stars: ✭ 140 (-31.03%)
Mutual labels:  cli, hacktoberfest

npm downloads NPM Dependabot Maintainability GitHub stars


Installation

# npm
npm i -g autarky

#yarn
yarn global add autarky

Usage

$> autarky

Why autarky

In today's world storage is comparatively costlier than compute. Majority of devs uses MacBooks and sadly MacBooks have pretty low storage (for base models). Hence filling up storage is quite often and we spend a lot of time picking stuff to be deleted.

Motivation

It's 2019 and I got ran out of storage in my laptop after a thorough analysis I found out that the majority of the storage is occupied by node_modules. As each project have a separate node_modules (duplication despite the same version).

I also have a few projects which I touch once in a blue moon, hence they end up eating a lot of space. On the other hand, picking & removing node_modules manually is a tedious process. So I thought why not automate it.

How it works

Autarky works by traversing all the child directories recursively relative to the current working directory (the place where you are executing autarky).

  1. Enter the time in months. Node modules older than the given time will be shown.
  2. Select the node_modules which you want to delete.
  3. Confirm deletion.
  4. Done! (No need to pay for more storage.)

Internals

Autarky is built with the latest open source technologies.

  1. UI - The user interface is written in React. Using the Ink's reconciler for rendering the react components.
  2. State Management - The challenge of sharing data b/w UI and the process is achieved using Redux.
  3. Heavy Computation - Large data crunching is done on child processes.

Building Blocks


Read CONTRIBUTING Guide

License MIT

Author: Pranshu Chittora

Github Twitter LinkedIn

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].