{"id":15132861,"url":"https://github.com/yashkathe/raspberrypi-sys-info-library","last_synced_at":"2026-02-16T00:02:47.197Z","repository":{"id":244314562,"uuid":"813771112","full_name":"yashkathe/RaspberryPI-Sys-Info-Library","owner":"yashkathe","description":"A Node.js library to retrieve system information (temperature, memory usage, disk activity, etc.) from a Raspberry Pi.  This library wraps system calls in Node.js using Typescript for easy access to Raspberry Pi's hardware stats","archived":false,"fork":false,"pushed_at":"2024-06-15T22:07:35.000Z","size":192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T16:26:10.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/raspberrypi-sys-info","language":"TypeScript","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/yashkathe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-06-11T17:57:40.000Z","updated_at":"2024-10-07T16:55:25.000Z","dependencies_parsed_at":"2024-06-14T01:18:26.937Z","dependency_job_id":"ac90d4a3-61fd-4bc3-8bdb-0d6f22a12970","html_url":"https://github.com/yashkathe/RaspberryPI-Sys-Info-Library","commit_stats":null,"previous_names":["yashkathe/raspberrypi-sys-info-library"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/yashkathe/RaspberryPI-Sys-Info-Library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FRaspberryPI-Sys-Info-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FRaspberryPI-Sys-Info-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FRaspberryPI-Sys-Info-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FRaspberryPI-Sys-Info-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashkathe","download_url":"https://codeload.github.com/yashkathe/RaspberryPI-Sys-Info-Library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FRaspberryPI-Sys-Info-Library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278854215,"owners_count":26057418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-09-26T04:40:53.120Z","updated_at":"2025-10-07T21:45:31.305Z","avatar_url":"https://github.com/yashkathe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry PI Sys \n\nThis project is an npm library for extracting various metrics from Raspberry Pi.\n\n## Table of Contents\n- [Installation](#installation)\n- [Usage](#usage)\n- [Functions](#functions)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nTo use this library in your project, you need to install it via npm. Make sure you have Node.js and npm installed.\n\n```bash\nnpm i raspberrypi-sys-info\n```\n\n## Usage\n\nBelow is an example of how to use the library to fetch and display various metrics from a Raspberry Pi.\n\n### Example Code\n\n```typescript\nimport { getCpuTemperature, getGpuTemperature } from 'raspberrypi-sys-info';\n\nasync function displaySystemInfo() {\n    try {\n        const cpuTemp = await getCpuTemperature();\n        console.log(`CPU Temperature: ${cpuTemp}°C`);\n\n        const gpuTemp = await getGpuTemperature();\n        console.log(`GPU Temperature: ${gpuTemp}°C`);\n\n    } catch (error) {\n        console.error(error.message);\n    }\n}\n\ndisplaySystemInfo();\n```\n\n## Functions\n\n### `getCPUTemperature()`\nReturns the CPU temperature in degrees Celsius.\n\n### `getGpuTemperature()`\nReturns the GPU temperature in degrees Celsius.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes.\n4. Commit your changes (`git commit -m 'Add some feature'`).\n5. Push to the branch (`git push origin feature-branch`).\n6. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashkathe%2Fraspberrypi-sys-info-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashkathe%2Fraspberrypi-sys-info-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashkathe%2Fraspberrypi-sys-info-library/lists"}