{"id":22895081,"url":"https://github.com/ibnzuk/weather-vs-cpu","last_synced_at":"2026-04-13T18:02:45.697Z","repository":{"id":127389504,"uuid":"376767003","full_name":"ibnzUK/Weather-vs-CPU","owner":"ibnzUK","description":"Electron, React, JavaScript desktop application to monitor and display current, local weather and computers CPU temperature","archived":false,"fork":false,"pushed_at":"2021-06-17T09:08:25.000Z","size":5043,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T22:46:52.219Z","etag":null,"topics":["application","cpu","cpu-monitoring","cpu-temperature","desktop","electron","electronjs","ibnz","ibnz-developers","ibnzuk","javascript","local-weather","openhardwaremonitor","openweathermap-api","react","software-engineering","temperature","weather"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibnzUK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-06-14T09:18:21.000Z","updated_at":"2024-04-16T01:14:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e3c0b8c-938e-44d0-9ec9-2f32f44c621a","html_url":"https://github.com/ibnzUK/Weather-vs-CPU","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ibnzUK/Weather-vs-CPU","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnzUK%2FWeather-vs-CPU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnzUK%2FWeather-vs-CPU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnzUK%2FWeather-vs-CPU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnzUK%2FWeather-vs-CPU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibnzUK","download_url":"https://codeload.github.com/ibnzUK/Weather-vs-CPU/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnzUK%2FWeather-vs-CPU/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["application","cpu","cpu-monitoring","cpu-temperature","desktop","electron","electronjs","ibnz","ibnz-developers","ibnzuk","javascript","local-weather","openhardwaremonitor","openweathermap-api","react","software-engineering","temperature","weather"],"created_at":"2024-12-13T23:28:12.431Z","updated_at":"2026-04-13T18:02:45.680Z","avatar_url":"https://github.com/ibnzUK.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather vs CPU \u003ch1\u003e\n\n\n#### Electron, React application to display current, local weather and computers CPU temperature \u003ch6\u003e\n\n\n![Preview](src/assets/screenshot.png)\n- \n## Changes\n\nVersion 0.01\n- [x] README boilerplate added\n- [x] Basic project structure created\n- [x] Initialised basic dependencies \n- [x] React with electron integrated\n- [x] Added UI waves\n- [x] Icon designed and added\n- [x] Added application grid and some dummy data\n* \nVersion 0.02\n- [x] Project structure optimised \n- [x] Added OpenWeatherMap API \n- [x] Implemented ability to pass Location data as props\n- [x] Obtained API Keys, Stored and Secured\n- [x] Added ability to read API from pc data\n\n* \nVersion 0.03\n- [x] Project structure and size reduced\n- [x] Added ability for front-end to communicate with backend \n- [x] Added Bat script to read the temperature on Windows (need admin rights)\n- [x] Added Custom Menu, submenu options\n- [x] Added Shortcuts for menu items\n- [x] Added Ability to package the application for production\n- [x] Added Openhardwaremonitor https://github.com/openhardwaremonitor/openhardwaremonitor\n* \nVersion 0.04\n- [x] CPU Temperature Monitoring function added\n- [x] Added Start and Stop auto-monitoring from the main menu\n- [x] Added ability to stop monitoring from app\n- [x] Add ability to identify and quit running processes \n\n* \nThings to do\n\n- [-] Add ability to identify processors cores\n- [-] Add ability to Change town or get location data (store in config)\n- [-] Add support for React dev tools\n- [-] Optimise for different OS (MacOS, Linux)\n- [-] Collected data need to be pushed to db (or on users machine as app logs)\n- [-] Load and Display collected data side by side for (visual representation)\n- [-] Add Notifications for CPU Temperature Warnings, Errors\n\n\n## Running instructions\n* Copy project to your directory ( `git clone https://github.com/ibnzUK/weather-vs-cpu` )\n* If you are Running a Windows Subsystem for Linux (WSL), it is recommended to install the project using PowerShell, GitBash or Command Prompt terminal (Concurrently dependency related) \n* Make sure to have Node.js Version \u003e= 12.13.0. For Electron Forge \n* Install project packages (`npm install`)\n* Get your API key from https://openweathermap.org/api\n* create .env file in root directory and store your API key:\n```\nBROWSER=none\nREACT_APP_API_KEY=Your_OpenWeatherMap_API_Key\n``` \n* BROWSER=none option is for not opening the application in a browser window\n* To Start electron application project (`npm run dev`)\n* Default weather location is set to UK London, you can change it in `src/components/UI/Card.js ln:10  myTown = 'London'`\n   \n* To Package application for distribution (`npm run make`)  (NOTE: Make sure to rename application and lose '-' dash symbols, because of File Naming Conventions)\n\n## Known Issues\n* Not optimised for Mac or Linux OS (feel free to contribute)\n* OpenHardwareMonitor software requires Administrator rights\n* If CPU temperature is not displayed, check current date log file saved in `scripts/OpenHardwareMonitorLog-XXXX-XX-XX.csv` and get required column name for cpu temperature stats, for example column for 'CPU Package' has a name of  '/intelcpu/0/temperature/4' this value is than imported in `scripts/tempChecker.js ln:7  optionFromCSV = '/intelcpu/0/temperature/4';`\n![Logs](src/assets/logs.png)\n* If Log File is open, OpenHardwareMonitor software throws an error for not being able to update logs\n* If OpenWeatherMap application is not killed after the process is stopped, change `scripts/stop.js ln:40  'TSKILL' to  'TASKKILL /PID' `\n \n## Resources used \n   \n* Open Weather Map API  - https://openweathermap.org/api\n*  OpenHardwareMonitor (Windows) - https://github.com/openhardwaremonitor/openhardwaremonitor","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnzuk%2Fweather-vs-cpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibnzuk%2Fweather-vs-cpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnzuk%2Fweather-vs-cpu/lists"}