{"id":29603507,"url":"https://github.com/zogir01/pcmonitorsuite","last_synced_at":"2026-04-29T21:03:22.644Z","repository":{"id":302426294,"uuid":"989547655","full_name":"Zogir01/PCMonitorSuite","owner":"Zogir01","description":"System for monitoring a computer's hardware diagnostics. Project for university.","archived":false,"fork":false,"pushed_at":"2025-07-02T09:45:26.000Z","size":926,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T08:52:43.289Z","etag":null,"topics":["chartjs","csharp","css","h2-database","hibernate","hibernate-jpa","html","jakartaee","java","javascript","librehardwaremonitorlib","net-framework-472"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zogir01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-24T10:19:31.000Z","updated_at":"2025-10-01T00:37:13.000Z","dependencies_parsed_at":"2025-07-02T10:44:51.414Z","dependency_job_id":"770979e7-691b-4403-b78a-7a6a0b1b7d8a","html_url":"https://github.com/Zogir01/PCMonitorSuite","commit_stats":null,"previous_names":["zogir01/pcmonitorsuite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zogir01/PCMonitorSuite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zogir01%2FPCMonitorSuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zogir01%2FPCMonitorSuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zogir01%2FPCMonitorSuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zogir01%2FPCMonitorSuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zogir01","download_url":"https://codeload.github.com/Zogir01/PCMonitorSuite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zogir01%2FPCMonitorSuite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chartjs","csharp","css","h2-database","hibernate","hibernate-jpa","html","jakartaee","java","javascript","librehardwaremonitorlib","net-framework-472"],"created_at":"2025-07-20T14:37:38.204Z","updated_at":"2026-04-29T21:03:22.615Z","avatar_url":"https://github.com/Zogir01.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PCMonitorSuite\n\n**PCMonitorSuite** is a system for monitoring a computer's hardware diagnostics (temperatures, CPU/GPU usage, memory, etc.), loading data locally and periodically sending it to a REST API server. The project consists of two three components: a Windows application - PCMonitorClient, backend REST API server - PCMonitorServer and html/js web dashboard.\n\n---\n\n## System Architecture\n\n![Component Diagram](docs/diagrams/diagram-component.png)\n\n### Client Application – `PCMonitorClient`\n- Written in **C#** (.NET)\n- Graphical User Interface made using Windows.Forms libraries\n- Runs in the background as a tray icon on the taskbar\n- Viewing diagnostics in a separate window\n- Local logging to .log file\n- Automatic data collection every 10 seconds (using LibreHardwareMonitor),\n- Automatic sending JSON data every 10 seconds to PCMonitorServer\n\n### REST API Server – `PCMonitorServer`\n- REST API written in **Java (Jakarta EE)**\n- Receives diagnostic data in JSON format\n- Storing data in h2 database\n- Provides simple endpoints:\n  - `POST /api/data` – receive diagnostic data from the PCMonitorClient\n  - `GET /api/data` – get latest data that came to the server\n  - `GET /api/data/computers` - get all computers\n  - `GET /api/data/sensor` - get all sensors\n  - `GET /api/data/history?computerId=xx\u0026sensorId=xx` - get sensor readings history by computerId and sensorId\n\n### Web Dashboard\n- Written in html/js\n- Selection of computer and sensor for analysis\n- Displaying the history of readings of the selected sensor in table, chart format\n- Pie chart and bar chart made in chart.js\n\n## Screenshots\n\n### Diagnostic Data view (on PCMonitorClient)\n![diagnostic-data](docs/gui-images/diagnostic-data.png)\n\n### Tray Icon view (on PCMonitorClient)\n![tray-icon](docs/gui-images/tray-icon.png)\n\n### Web Dashboard view\n![web-dashboard](docs/gui-images/web-dashboard.png)\n\n---\n\n## Requirements\nTo build from source, make sure you have the following:\n\n### PCMonitorClient (desktop application)\n- Windows 10/11 (x64)\n- Visual Studio 2019 or newer\n- .NET Framework 4.7.2 or higher\n- LibreHardwareMonitorLib.0.9.4\n- HidSharp.2.1.0\n- Newtonsoft.Json.13.0.3\n- System.CodeDom.9.0.0\n- System.Management.9.0.0\n\n### PCMonitorServer (backend)\n- Java 11+\n- Apache NetBeans (or any IDE with Jakarta EE support)\n- Maven\n- REST API deployed on local or remote server (e.g., Tomcat)\n- jakartaee 10.0.0\n- hibernate 5.2.10.Final\n- h2database 1.4.193\n- javax.xml.bind 2.3.0\n- com.google.code.gson\n\n---\n\n## Build and run\n\n### Diagnostic Client\n1. Open the `PCMonitorClient.sln` in Visual Studio.\n2. Install required dependencies listed \"Requirements\" section (for example by NUGet packages in Visual Studio)\n3. Build the PCMonitorClient project (`Ctrl + Shift + B`).\n4. Run `PCMonitor.exe` from `bin/Debug` or `bin/Release`.\n\n### Server\n1. Open the `PCMonitorServer` project in Apache NetBeans.\n2. Run it on a Java EE server (for example: Apache Tomcat 10.1 configured in Apache Netbeans).\n3. Ensure the `/PCMonitorClient endpoint is available at `http://localhost:8080/PCMonitorClient`.\n\n---\n\n## Security (TODO)\n- No authentication \n- No encryption \n\n---\n\n## Planned Features\n- Export data to CSV\n- System notifications\n- Client-server authentication\n- Additional configurations in diagnostic client (PCMonitorClient)\n- Improvement of web dashboard: add more options for better data visualisation\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\nSee the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzogir01%2Fpcmonitorsuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzogir01%2Fpcmonitorsuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzogir01%2Fpcmonitorsuite/lists"}