OSpect is a high-performance versatile system diagnostics and insights tool written in Rust, designed for detailed exploration of operating system configurations, hardware components, and network status. With its focus on speed and security, OSpect is ideal for developers, system administrators, and users who want efficient and in-depth diagnostics.
- Blazing-fast Execution: Thanks to Rust’s zero-cost abstractions and memory safety.
- Detailed System Diagnostics: Get comprehensive OS, hardware, and network information.
- Customizable: Fine-tune the output for specific needs using config file.
- Cross-Platform Capabilities: Seamlessly compatible with Linux, Windows, and macOS for a unified experience across all major platforms.
- Secure: No data leakage, with all diagnostics performed locally.
- Visual Appeal: Clean and colorful output designed for readability and ease of use.
To simplify the installation process, you can use the provided install_ospect.sh
script (for Unix-based Systems) or install_ospect.bat
(for Windows Systems). This script will install Rust, clone the OSpect repository, build the project, and run OSpect along with env. variable additions.
-
Download and Run the Script:
[For
Unix-Based
Systems]curl -O https://raw.githubusercontent.com/Coder-Harshit/OSpect/main/install_ospect.sh chmod +x install_ospect.sh ./install_ospect.sh
[For
Windows
Systems]curl -O https://raw.githubusercontent.com/Coder-Harshit/OSpect/main/install_ospect.bat ./install_ospect.bat
If you prefer to manually install OSpect, follow these steps:
-
Install Rust and Cargo: If you don't have Rust and Cargo installed, you can get them from rustup.rs.
-
Clone the Repository:
git clone https://github.com/Coder-Harshit/OSpect.git cd OSpect
-
Build and Install:
cargo build --release cargo install --path .
Run OSpect to get a detailed system overview:
ospect
Command-Line Options
OSpect provides the ability to display specific system information via additional parameters. Here are some examples:
-
Show Basic System Analytics:
ospect basic
-
Show Network Analytics:
ospect network
- Show Detailed OS Analytics:
ospect os
You can configure OSpect’s output through environment variables or modify the configuration file (config.toml
). A sample config file is provided in the repository for demonstration purposes.
Example config.toml
:
[basic]
username
total_memory
[os]
hostname
kernel
OSpect is designed with a strong emphasis on security. All diagnostics are run locally, and no external connections are made, ensuring that sensitive data is not exposed.
We welcome contributions from the community! If you'd like to contribute to OSpect, please follow these steps:
-
Fork the Repository: Click the "Fork" button at the top of this page.
-
Clone Your Fork:
git clone https://github.com/<your-username>/OSpect.git cd OSpect
-
Create a Feature Branch:
git checkout -b feature-branch
-
Make Your Changes: Implement your feature or fix the bug.
-
Commit and Push:
git add . git commit -m "Description of your changes" git push origin feature-branch
-
Create a Pull Request: Open a pull request from your forked repository's feature branch to the main repository's main branch.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or feedback, please contact [email protected].
Thank you for using OSpect! We hope you find it as useful and powerful as we do.