Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aben20807/simple-hw-info
https://github.com/aben20807/simple-hw-info
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/aben20807/simple-hw-info
- Owner: aben20807
- Created: 2024-08-13T11:24:07.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-14T10:59:04.000Z (3 months ago)
- Last Synced: 2024-08-14T16:15:14.820Z (3 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-hw-info
A lightweight tool designed to retrieve basic hardware information for both Windows and Linux systems. Some information is retrieved using [fastfetch](https://github.com/fastfetch-cli/fastfetch), so you need to install it first.
Note: This package has not been extensively tested across all environments.
## Windows (powershell)
### Dependencies
```powershell
PS> winget install fastfetch # to recover: winget uninstall fastfetch
```### Usage
Download `simple-hw-info.exe` from the [release page](https://github.com/aben20807/simple-hw-info/releases) and double-click it.
## Linux (bash)
### Dependencies
+ `>= Ubuntu 20.04`
```bash
$ wget https://github.com/fastfetch-cli/fastfetch/releases/download/2.21.1/fastfetch-linux-amd64.deb
$ sudo dpkg -i fastfetch-linux-amd64.deb # to recover: sudo apt-get remove fastfetch
```+ `< Ubuntu 20.04`
```bash
$ sudo apt install screenfetch
```### Usage
```bash
$ curl -s https://raw.githubusercontent.com/aben20807/simple-hw-info/master/simple-hw-info/simple-hw-info.py | python3 # need to install curl
```## Build the binary on Windows
```powershell
PS> pyinstaller -F -c --clean --exclude-module black,conda --icon=simple-hw-info.ico .\simple-hw-info\simple-hw-info.py
```## Icon credit
The [icon (simple-hw-info.ico)](https://icon-icons.com/icon/info/65247) is from [EpicCoders](https://icon-icons.com/users/RMlIykMNITSXD96V7ULsv/icon-sets/) who shares it under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)