Skip to content

Arch Linux Pacman Optimizer: Your Arch Linux is too fat, lets make it lightweight

License

Notifications You must be signed in to change notification settings

juancarlospaco/nim-chonker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chonker

  • Arch Linux Pacman Optimizer: Your Arch Linux is too fat, lets make it lightweight...
  • 1 File, 0 Dependency, 99Kb, no config, no setup, 15 lines of code, wont run scripts, does NOT overwrite any config.

Use

$ chonker
  • Reply n or y. Output is only 1 INI file.

Install

$ nimble install chonker

Download

Compile

$ git clone https://github.com/juancarlospaco/nim-chonker.git
$ cd nim-chonker/src/
$ nim c chonker.nim
  • Force writing /etc/pacman.d/chonker.conf with -d:overwrite. Your Arch should have /etc/pacman.d/ or create it.

Uninstall

  • If you want to undo the changes, delete /etc/pacman.d/chonker.conf and force an upgrade with pacman.

Why

People nowadays checks documentation online, so theres no point on shipping it with the packages, some packages even have images, photos, PDFs, CSS and JS frameworks for HTML documentations, but Docker image file size and SSD free space on VPS or Cloud is always a cool feature, I got approx half the size on the Docker Arch image with this trick. YAGNI.

Requisites

  • Arch Linux, know how to use pacman. For Docker apply the config before image build. Dont need Nim after compile.

Contribute without Coding

The core is 1 JSON file, so you can contribute or customize it without even knowing Nim nor programming.

Stars

Star nim-chonker on GitHub