mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-24 23:40:39 +01:00
[v0.96] Improve README with badges and ToC
This commit is contained in:
84
README.md
84
README.md
@@ -1,9 +1,42 @@
|
|||||||
# cpufetch
|
<p align="center"><img width=60% src="./pictures/cpufetch.png"></p>
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
<h3 align="center">Simplistic yet fancy CPU architecture fetching tool</h3>
|
||||||
|
|
||||||
Simplistic yet fancy CPU architecture fetching tool
|
|
||||||

|

|
||||||
|
|
||||||
### Platforms
|
</div>
|
||||||
|
|
||||||
|
**Table of Contents**
|
||||||
|
<!-- UPDATE with: doctoc --notitle README.md -->
|
||||||
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||||
|
|
||||||
|
|
||||||
|
- [1. Support](#1-support)
|
||||||
|
- [2. Installation](#2-installation)
|
||||||
|
- [2.1 Building from source](#21-building-from-source)
|
||||||
|
- [2.2 Linux](#22-linux)
|
||||||
|
- [2.2 Windows](#22-windows)
|
||||||
|
- [2.3 macOS](#23-macos)
|
||||||
|
- [2.4 Android](#24-android)
|
||||||
|
- [3. Examples](#3-examples)
|
||||||
|
- [3.1 x86_64 CPUs](#31-x86_64-cpus)
|
||||||
|
- [3.2 ARM CPUs](#32-arm-cpus)
|
||||||
|
- [4. Colors and style](#4-colors-and-style)
|
||||||
|
- [5. Implementation](#5-implementation)
|
||||||
|
- [6. Bugs or improvements](#6-bugs-or-improvements)
|
||||||
|
|
||||||
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
|
||||||
|
# 1. Support
|
||||||
cpufetch currently supports x86_64 CPUs (both Intel and AMD) and ARM.
|
cpufetch currently supports x86_64 CPUs (both Intel and AMD) and ARM.
|
||||||
|
|
||||||
| Platform | x86_64 | ARM | Notes |
|
| Platform | x86_64 | ARM | Notes |
|
||||||
@@ -20,16 +53,8 @@ cpufetch currently supports x86_64 CPUs (both Intel and AMD) and ARM.
|
|||||||
|:heavy_exclamation_mark: | Not tested |
|
|:heavy_exclamation_mark: | Not tested |
|
||||||
|
|
||||||
|
|
||||||
### Usage and installation
|
# 2. Installation
|
||||||
#### Linux
|
## 2.1 Building from source
|
||||||
There is a cpufetch package available in Arch Linux ([cpufetch-git](https://aur.archlinux.org/packages/cpufetch-git)).
|
|
||||||
|
|
||||||
If you are in another distro, you can build `cpufetch` from source (see below)
|
|
||||||
|
|
||||||
#### Windows
|
|
||||||
In the [releases](https://github.com/Dr-Noob/cpufetch/releases) section you will find some cpufetch executables compiled for Windows. Just download and run it from Windows CMD.
|
|
||||||
|
|
||||||
#### Building from source
|
|
||||||
Just clone the repo and use `make` to compile it
|
Just clone the repo and use `make` to compile it
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -39,24 +64,42 @@ make
|
|||||||
./cpufetch
|
./cpufetch
|
||||||
```
|
```
|
||||||
|
|
||||||
The Makefile is designed to work on both Linux and Windows.
|
The Makefile is designed to work on Linux, Windows and macOS.
|
||||||
|
|
||||||
### Examples
|
## 2.2 Linux
|
||||||
|
There is a cpufetch package available in Arch Linux ([cpufetch-git](https://aur.archlinux.org/packages/cpufetch-git)). If you are in another distribution, you can build `cpufetch` from source.
|
||||||
|
|
||||||
|
## 2.2 Windows
|
||||||
|
In the [releases](https://github.com/Dr-Noob/cpufetch/releases) section you will find some cpufetch executables compiled for Windows. Just download and run it from Windows CMD. You can also build `cpufetch` from source.
|
||||||
|
|
||||||
|
## 2.3 macOS
|
||||||
|
You need to build `cpufetch` from source.
|
||||||
|
|
||||||
|
## 2.4 Android
|
||||||
|
1. Install `termux` app (terminal emulator)
|
||||||
|
2. Run `pkg install -y git make clang` inside termux.
|
||||||
|
3. Build from source normally:
|
||||||
|
- git clone https://github.com/Dr-Noob/cpufetch
|
||||||
|
- cd cpufetch
|
||||||
|
- make
|
||||||
|
- ./cpufetch
|
||||||
|
|
||||||
|
# 3. Examples
|
||||||
Here are more examples of how `cpufetch` looks on different CPUs.
|
Here are more examples of how `cpufetch` looks on different CPUs.
|
||||||
|
|
||||||
##### x86_64 CPUs
|
## 3.1 x86_64 CPUs
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### ARM CPUs
|
## 3.2 ARM CPUs
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Colors and style
|
# 4. Colors and style
|
||||||
By default, `cpufetch` will print the CPU art with the system colorscheme. However, you can always set a custom color scheme, either
|
By default, `cpufetch` will print the CPU art with the system colorscheme. However, you can always set a custom color scheme, either
|
||||||
specifying Intel or AMD, or specifying the colors in RGB format:
|
specifying Intel or AMD, or specifying the colors in RGB format:
|
||||||
|
|
||||||
@@ -68,12 +111,11 @@ specifying Intel or AMD, or specifying the colors in RGB format:
|
|||||||
|
|
||||||
In the case of setting the colors using RGB, 4 colors must be given in with the format: ``[R,G,B:R,G,B:R,G,B:R,G,B]``. These colors correspond to CPU art color (2 colors) and for the text colors (following 2). Thus, you can customize all the colors.
|
In the case of setting the colors using RGB, 4 colors must be given in with the format: ``[R,G,B:R,G,B:R,G,B:R,G,B]``. These colors correspond to CPU art color (2 colors) and for the text colors (following 2). Thus, you can customize all the colors.
|
||||||
|
|
||||||
### Implementation
|
# 5. Implementation
|
||||||
|
|
||||||
See [cpufetch programming documentation](https://github.com/Dr-Noob/cpufetch/blob/master/doc/README.md).
|
See [cpufetch programming documentation](https://github.com/Dr-Noob/cpufetch/blob/master/doc/README.md).
|
||||||
|
|
||||||
### Bugs or improvements
|
# 6. Bugs or improvements
|
||||||
There are many open issues in github (see [issues](https://github.com/Dr-Noob/cpufetch/issues)). Feel free to open a new one report an issue or propose any improvement in `cpufetch`
|
There are many open issues in github (see [issues](https://github.com/Dr-Noob/cpufetch/issues)). Feel free to open a new one report an issue or propose any improvement in `cpufetch`
|
||||||
|
|
||||||
### Testing
|
|
||||||
I would like to thank [Gonzalocl](https://github.com/Gonzalocl) and [OdnetninI](https://github.com/OdnetninI) for their help, running `cpufetch` in many different CPUs they have access to, which makes it easier to debug and check the correctness of `cpufetch`.
|
I would like to thank [Gonzalocl](https://github.com/Gonzalocl) and [OdnetninI](https://github.com/OdnetninI) for their help, running `cpufetch` in many different CPUs they have access to, which makes it easier to debug and check the correctness of `cpufetch`.
|
||||||
|
|||||||
BIN
pictures/cpufetch.png
Normal file
BIN
pictures/cpufetch.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Reference in New Issue
Block a user