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.
- Host: GitHub
- URL: https://github.com/junsious/mypc
- Owner: Junsious
- License: gpl-3.0
- Created: 2024-09-17T06:17:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T06:58:52.000Z (8 months ago)
- Last Synced: 2025-04-05T11:01:37.392Z (2 months ago)
- Topics: pc, rust, utilities
- Language: Rust
- Homepage:
- Size: 24.4 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyPC Information Tool
**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!