Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueokiris/fetch-rs
Fetch CPU, GPU, OS info, etc and display it to terminal with a nice distro-dependent graphic.
https://github.com/blueokiris/fetch-rs
cpu fedora fetch gpu info kernel neofetch nix rs rust script terminal text tui
Last synced: about 1 month ago
JSON representation
Fetch CPU, GPU, OS info, etc and display it to terminal with a nice distro-dependent graphic.
- Host: GitHub
- URL: https://github.com/blueokiris/fetch-rs
- Owner: blueOkiris
- License: gpl-3.0
- Created: 2024-05-02T15:00:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T11:20:56.000Z (5 months ago)
- Last Synced: 2024-09-30T05:03:49.989Z (about 2 months ago)
- Topics: cpu, fedora, fetch, gpu, info, kernel, neofetch, nix, rs, rust, script, terminal, text, tui
- Language: Rust
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fetch-rs
![screenshot](./screenshot.png)
## Description
Fetch CPU, GPU, OS info, etc and display it to terminal with a nice distro-dependent graphic.
Features different from other fetch scripts:
- Single binary (assuming no plugins)
- Compiled and fast
- Asynchronous to look up information
- Plugin support## Documentation
To change from default settings, run once to generate default configuration file then edit it: `~/.config/fetch-rs/config.json`
Supports:
- Detecting distro and drawing its logo (enabled by default via `"show_distro": true`)
+ Terminal Colors in those Logos (see `distro-logos/*.txt` for how to put them in a logo):
* Normal Colors:
- NBLK - "Normal" Black
- NRED - Normal Red
- NGRN - "" Green
- NYLW - Yellow
- NBLU - Blue
- NMAG - Magenta
- NCYN - Cyan
- NWHT - White
* Bright Colors
- BBLK - "Bright" Black
- BRED - Bright Red
- BGRN - "" Green
- BYLW - Yellow
- BBLU - Blue
- BMAG - Magenta
- BCYN - Cyan
- BWHT - White
- OS information (enabled by default via `"show_os": true`):
+ Distro
+ Distro Release Version
+ Distro Nickname
+ Architecture
- Host
- Kernel
- UptimeTODO:
- Packages (def)
- Shell (def)
- Resolution (def)
- DE (def)
- WM (def)
- WM Theme (def)
- Theme (def)
- Icons (def)
- Terminal (def)
- Terminal Font (def)
- CPU (def)
- GPU (def)
- Memory (def)
- CPU Usage (not def)
- Disk (not def)
- Battery (not def)
- Font (not def)
- Song (not def)
- Local IP (not def)
- Public IP (not def)
- Users (not def)
- Birthday (not def)
- Colors (def)You can also add custom plugins. Create a program that supports a C ABI function with this function signature: `const char *int_output(void)`
Compile a `.so` and place it in `~/.config/fetch-rs/plugins/`
It's `int_output` function will print after the built-in outputs