# Rsftch
##### _Lightning fast hardware fetch written in rust._
### Screenshots



### Supported distros
- Arch Linux
- Debian
- Fedora
- Endeavour OS
- Void Linux
- Ubuntu
- OpenSuse
- Raspbian
- Linux Mint
- MX Linux
- Gentoo
- Slackware
- NixOS
- Kali Linux
- CachyOS
- FreeBSD
- NetBSD
* Other distros wont have a custom title, only "Rust Fetch"
### Dependencies
- `pciutils`
### Installation
#### Cargo
`cargo install rsftch`
#### Source
```
git clone https://github.com/charklie/rsftch.git ~/rsftch/`
cd ~/rsftch/
cargo install --path .
```
Add this to your .bashrc / .zshrc if you already dont:
`export PATH="/home/$USER/.cargo/bin:$PATH"`
If you're using fish, run this command if you already haven't:
`set -U fish_user_paths ~/.cargo/bin/ $fish_user_paths`
#### NetBSD
If you're on NetBSD or, any supported pkgsrc platform, a pre-compiled binary is available from the official repositories.
To install it, simply run:
`pkgin install rsftch`
Or, if you prefer to build it from source:
```
cd /usr/pkgsrc/sysutils/rsftch
make install
```
### Usage
```
Usage: rsftch [OPTION...] [OVERRIDE]
-h, --help, --usage Bring up this menu
<<<<<<< HEAD
=======
--no-color, --no-formatting
-nc, -nf Remove icons, colors and such.
>>>>>>> f5f69f6 (re-add -nc option, change some if statements to match for some added speed, revamped variable declaration and make uptime more prettier, release 0.3.6)
-o, --override Override distribution, changes ASCII.
```
### Time comparison
- Rsftch: 19.72 milliseconds
- Neofetch: 284.03 milliseconds
- Screeenfetch: 832.59 milliseconds
- Hyfetch: 1.82 seconds (💀)
### Compatability
Currently Rsftch only works on GNU/Linux, (most) BSD distributions and (probably) Mac OS, although windows support is planned.
#### Todo
- [ ] Add more distros
- [ ] Rewrite memory function to rid of libmacchina dep.