Hi everyone. I am an upcoming Computer Scientist with a bachelor’s in computer science provided by The Interamerican University in Puerto Rico.
Recently, due to the scarcity of Job Opportunities for people like me who has no specific work experience in their field, and the unfortunate incident of being unable to get even the limited opportunities to give a chance to the little people, I determined I would use the little free time I have to achieve my dreams by my own hands.
Since I was Young, I was always interested in creating an OS by myself but never knew where to start. I observed the Open-Source community and fell in love with the idea of creating software available to the world for free to those who needed it.
As such I started implementing several individual projects that are currently under development.
One of the first steps to achieving my dreams was to help others, as well as myself, to create a task manager like the one in windows and bring it to Linux. Not only that, but I also wanted to provide additional data and functionality, as well as more graphical representations of such data.
To achieve this, we require a library that has access to such resources. I noticed that there was realistically no readily available for C++ that I could find with all the functionality required to achieve this. That’s why I deemed it necessary to create PCInsight.
Now I wanted to make sure that this project would not die with me, and as such, I made an organization on GitHub so that others with more experience could contribute and help maintain the repository.
Now what exactly is PCInsight?
Well, PCInsight is an SDK That gives direct access to the data required to monitor the CPU, Memory, Disk, Network and GPU usage in real time. It also provides data on performance, app history, startup apps, and more.
Not only that, but the plan is also that in future iterations it can provide much, much, more.
Creating such a library is incredibly difficult. There is no single book or comprehensive documentation that I could find that would simply tell me, “Start here”.
Due to this I was forced to do something I originally viewed as negative, which was using AI.
Now my outlook with AI has changed overtime thanks to this project. This project required critical thinking that I could provide, but also in-depth technical knowledge of how a modern PC communicates and operates, which AI could help me access, use and implement to achieve our purpose.
Currently, the AI used for the project is Codex by OpenAI.
The responsibilities I assumed during its development included designing the project, creatively finding ways to overcome the limitations of using available data due to different distros not having the same file organization or data availability, determining the proper path to take, and designing an additional project (ImGui Studio) to allow the creation of the future task manager for testing the SDK and making the task manager available for public use.
While using AI, I found that it consumes a considerable amount of resources and time, and that the AI did not have an automatic way of reporting its progress. Even worse, it did not keep a record of what I was asking for and which of those requests had already been properly implemented.
Also, the AI normally doesn't document anything unless specifically asked to do so in a particular way.
Now, human review is indispensable precisely because the machine can and will make errors that I myself am unable to verify due to a lack of knowledge and time.
Now, this in itself, as well as other reasons, proves that AI, while an incredible asset, does not eliminate the need to learn and comprehend how to code.
PCInsight is currently in its pre-alpha 0.2.0 version, awaiting assistance in identifying and verifying errors on NVIDIA, Intel, and ARM GPUs and CPUs.
For those wondering, the project currently has an MIT license and mainly works on the Linux platform, with future plans for macOS and Windows (although this can wait for the moment).
It is currently well documented in Spanish and English for those interested in contributing to the project, and right now, it does not require a GUI (there are future plans for CLI compatibility).
Now, what makes PCInsight different from other projects? One of the things I noticed while researching was that most of the projects I could find were designed for other programming languages, particularly Python. The few C++ alternatives I found did not provide all the functionality I was looking for. This is understandable, considering that many of these projects are developed by individuals who dedicate their limited free time to open-source development, just like myself.
Another important aspect of PCInsight is its approach to obtaining system information. One of my original design requirements was to obtain as much information as possible from firmware and hardware sources rather than relying exclusively on distribution-specific implementations.
Several years ago, I attempted to implement a similar solution myself. However, I encountered difficulties obtaining accurate and consistent information due to differences in how Linux distributions expose certain system resources. At the time, my limited experience with C++ and system-level programming made it difficult to overcome these challenges, and I eventually abandoned that implementation.
With the development of PCInsight, my intention was to establish a more flexible approach to data acquisition. Whenever information cannot be obtained from firmware or hardware-specific sources, the SDK should be capable of utilizing the interfaces provided by the operating system, drivers, and available vendor-specific technologies. The objective is not to eliminate communication with the operating system, but rather to reduce unnecessary dependencies on distribution-specific implementations whenever possible.
Another important design principle is that unavailable information should not be misrepresented. If a particular metric cannot be obtained, it should be treated as unknown rather than automatically represented as zero. There is a significant difference between a component having zero utilization and the SDK being unable to determine its utilization.
PCInsight is also designed to remain independent of any graphical user interface. Developers should be able to decide how they want to represent the information provided by the SDK without being restricted to a particular graphical framework or application design. Ultimately, I want PCInsight to become a centralized and reliable solution for accessing system information in C++, allowing developers to dedicate more time to designing their applications instead of having to independently implement the same complex data acquisition mechanisms.
Developing a library of this magnitude from scratch could take years, particularly for an individual working with limited time and resources. Unfortunately, that is a luxury that neither I nor many other independent developers can afford. AI has allowed me to accelerate the initial development process, but that does not eliminate the time and effort required to verify the resulting implementation.
This is precisely why I am looking for people who are willing to contribute to the project. Whether it is through code review, debugging, hardware compatibility testing, performance optimization, cybersecurity auditing, or simply sharing their technical knowledge, any of these contributions could help move the project forward.
Cybersecurity is particularly important to me. PCInsight is intended to provide access to system information, and I want to ensure that this information is handled responsibly. I do not want the SDK to unintentionally expose sensitive information, introduce unnecessary network exposure, or create vulnerabilities in the applications that depend on it. As cybersecurity is not my area of expertise, assistance from experienced professionals in this field would be greatly appreciated.
One of the reasons I made sure that the project was documented was to make it easier for contributors to understand its architecture and implementation without having to spend unnecessary amounts of time investigating the codebase independently.
Contributions assisted by AI are also welcome. However, as I mentioned before, human review and verification are indispensable. If AI identifies a potential problem or proposes a solution, I expect the contributor to independently verify its findings and provide technical evidence supporting the proposed changes. I cannot simply accept changes into the main branch because an AI claims that they are correct.
I had to start this project on my own because I did not know anyone who could help me develop it. However, now that the project exists, I hope that others will be willing to help verify and improve what has already been implemented. I believe that through collaboration, we can significantly accelerate the process of reaching a reliable alpha release while also creating an environment where people, including myself, can learn from one another.
As I mentioned at the beginning of this article, one of my dreams has always been to create my own operating system. PCInsight is only a small part of that much larger project that I have been planning for years.
One of my goals is to use PCInsight as the foundation for a comprehensive task manager that anyone can use across different Linux distributions.
One of the things I love about Linux is the freedom it provides. You can modify your system, customize your experience, and make things work the way you want them to. However, there is also something I appreciate about Windows, and that is standardization.
I believe that freedom of customization and standardization do not necessarily have to contradict one another. Having an established standard does not mean that everyone must follow it. It simply provides a starting point for those who need it, while allowing those who wish to deviate from it to do so.
Those who are new to Linux and do not have extensive technical knowledge should have access to a comprehensive and familiar system monitoring experience, while those who wish to create their own solutions should have the resources necessary to do so.
That is ultimately what I hope to achieve with PCInsight.
I started this project because I wanted to create something that would help me achieve my own dreams, but I also wanted to create something that could help others achieve theirs.
If you are interested in contributing, reviewing the code, testing the SDK, sharing your knowledge, or simply following its development, you are more than welcome to visit the GitHub repository.
https://github.com/OpenAPI-Lab/PCInsight
Thank you for taking the time to read about my project.
Backend
Source:https://dev.to/dummytitan/building-pcinsight-a-c-library-that-helps-in-creating-system-monitoring-applications-1ec4
Building PCInsight: A C++ Library That Helps in Creating System Monitoring Applications
dev.to OpenSource0 views
PreviousSelf-Hosted File Sharing with Expiring Links: 6 Options ComparedNextStructural Mechanics and Creep Compliance of Monolithic Kraft Paperboard: Engineering Zero-Plastic Apparel Display Hardware
Related posts
Engineering a Zero-Backend Multiplayer Party Game with Local-First State
0dev.to
iOS 27 AI Integration: On-Device vs PCC vs Third-Party Models (good for search)
0dev.to
How a Rust civ sim stays deterministic with WebAssembly SIMD and threads
0dev.to
ScamShield
0dev.to
Our tracking page was down for fifty one minutes and the blackbox alert never fired because it was watching up
0dev.to
Fix "Setting up fake worker failed" in PDF.js
0dev.to