Citch is a small and fastsystem fetch tool written fully in C++
. If you're familiar with nitch (btw written in Nim
), Citch is essentially its C++ version.
Why C++? Well, because I started learning C++ and couldn’t think of anything else, lmao
If you are using Arch Linux or an Arch-based distribution, you can download citch
from AUR:
yay -S citch
If you are not using an Arch-based distribution:
git clone https://github.com/xeyossr/citch.git
cd citch
mkdir -p build && cd build
cmake ..
make
sudo cp build/citch /usr/bin/citch
citch
flags:
-gc --gen-config | generate config file
Before doing these, you need to create a configuration file with the
--gen-config
flag.
{
"modules": {
"banner": true,
"colors": true,
"distro": true,
"hostname": true,
"kernel": true,
"memory": true,
"packages": true,
"shell": true,
"uptime": true,
"username": true
}
}
git clone https://github.com/xeyossr/citch
cd citch
g++ citch.cpp -o citch
citch
├── citch.cpp
├── dist
│ └── citch
├── install.sh
├── LICENSE
├── modules
│ ├── banners.cpp
│ ├── fetch.h
│ └── json.hpp
└── README.md
3 directories, 8 files