https://github.com/seanpray/rfetch
cli sysinfo
https://github.com/seanpray/rfetch
command-line distro rust screenshot script
Last synced: about 1 month ago
JSON representation
cli sysinfo
- Host: GitHub
- URL: https://github.com/seanpray/rfetch
- Owner: seanpray
- License: gpl-3.0
- Created: 2021-12-20T06:54:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T23:06:52.000Z (about 3 years ago)
- Last Synced: 2025-03-29T02:52:20.331Z (about 2 months ago)
- Topics: command-line, distro, rust, screenshot, script
- Language: Rust
- Homepage:
- Size: 1.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cli sys-info tool written in rust 🚀
In all honesty, you should use [neofetch](https://github.com/dylanaraps/neofetch) or [pfetch](https://github.com/dylanaraps/pfetch) rather than this, in it's current state this works but it lacks a lot of things others have to offer.
Due to it's simple nature, this is in turn very hackable, it pulls most of the info from the [sysinfo](https://docs.rs/sysinfo/0.22.3/sysinfo/index.html) crate, in the future this could be replaced with only pulling info from the kernel.
In reality, rust is not a good language for something like this. However, it's my favorite to write in.
Only tested on Linux and likely works on \*nix systems, a file called rfetch.txt must be placed in the `~/.config/` folder for an ascii logo
#### installation
It is recommended you have [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) installed
For the last copy command, anywhere in the path will work in place of `/usr/bin`
```
$ git clone https://github.com/NotCreative21/rfetch
$ cd rfetch
$ cargo build --release
$ sudo cp target/release/rfetch /usr/bin/
```#### future improvements
* alternate way to detect WM/DE
* color display
* terminal detection
* gpu detection
* gtk theme/icon theme### credit
No code was directly copied from any of these, after all, this is written in a different language, however tools like these inspired me to make this.
* [pfetch](https://github.com/dylanaraps/pfetch)
* [ufetch](https://gitlab.com/jschx/ufetch)
* [neofetch](https://github.com/dylanaraps/neofetch)