An open API service indexing awesome lists of open source software.

https://github.com/junsious/mypc

MyPC is a Rust utility designed to collect and display information about your computer's hardware components. The program retrieves data about the CPU, motherboard, GPU, RAM, and disks.
https://github.com/junsious/mypc

pc rust utilities

Last synced: about 1 month ago
JSON representation

MyPC is a Rust utility designed to collect and display information about your computer's hardware components. The program retrieves data about the CPU, motherboard, GPU, RAM, and disks.

Awesome Lists containing this project

README

        

# MyPC Information Tool
![111](https://github.com/user-attachments/assets/0bc87049-eceb-46eb-8152-53c90f2d6cba)

**MyPC** is a Rust utility designed to collect and display information about your computer's hardware components. The program retrieves data about the CPU, motherboard, GPU, RAM, and disks.

## Features

The program displays the following information:

- **CPU**:
- Processor Name
- Maximum Clock Speed

- **Motherboard**:
- Manufacturer
- Model
- Serial Number

- **GPU**:
- GPU Name
- Video Memory Size

- **RAM**:
- Manufacturer
- Speed
- Total Memory

- **Disks**:
- Disk Model
- Disk Size (in gigabytes)

## Installation and Running

### Requirements

- **Rust**: Make sure you have [Rust](https://www.rust-lang.org/) installed (you can install it via [rustup](https://rustup.rs/)).

### Steps to Run

1. Clone the repository to your computer:

```bash
git clone https://github.com/Junsious/MyPC.git
```

2. Navigate to the project directory:

```bash
cd MyPC
```

3. Build and run the program:

```bash
cargo run
```

## How It Works

The program uses `powershell` to extract system information via WMI (Windows Management Instrumentation) commands. Data about the CPU, motherboard, GPU, RAM, and disks are processed and formatted before being displayed on the screen.

## Example Output

Here is an example of the program's output:

=== CPU Information ===

MaxClockSpeed : 3200
Name : AMD Ryzen 7 2700 Eight-Core Processor

=== Motherboard Information ===

Manufacturer : ASRock
SerialNumber : M80-D5019002318
Product : B450 Steel Legend

=== GPU Information ===

Name : NVIDIA GeForce RTX 3050
AdapterRAM : 4293918720

=== Memory (RAM) Information ===

Speed : 2400 MHz
Manufacturer : Kingston
Total Memory : 48.00 GB

=== Disk Information ===

Model : Samsung SSD 980 500GB
Size : 465.76 GB
Model : WDC WD10EZEX-00BBHA0
Size : 931.51 GB

## License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.

## Contributors

If you would like to make changes or improvements to the project, feel free to create pull requests or open issues.

---

Feel free to reach out if you have any questions or suggestions!