{"id":19624822,"url":"https://github.com/coko7/monirasp-api","last_synced_at":"2026-04-04T22:32:19.540Z","repository":{"id":175272123,"uuid":"460949066","full_name":"coko7/monirasp-api","owner":"coko7","description":"A simple API to monitor a Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2025-10-13T07:49:52.000Z","size":54,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-04T17:11:49.750Z","etag":null,"topics":["api","bash","expressjs","monitoring","nodejs","raspberry-pi","raspbian","temperature-monitoring","typescript"],"latest_commit_sha":null,"homepage":"","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/coko7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-02-18T17:41:14.000Z","updated_at":"2025-10-13T07:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ee856c3-f6bc-455a-b62e-885504022381","html_url":"https://github.com/coko7/monirasp-api","commit_stats":null,"previous_names":["coko7/monirasp-api"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coko7/monirasp-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coko7%2Fmonirasp-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coko7%2Fmonirasp-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coko7%2Fmonirasp-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coko7%2Fmonirasp-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coko7","download_url":"https://codeload.github.com/coko7/monirasp-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coko7%2Fmonirasp-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["api","bash","expressjs","monitoring","nodejs","raspberry-pi","raspbian","temperature-monitoring","typescript"],"created_at":"2024-11-11T11:39:07.922Z","updated_at":"2026-04-04T22:32:19.513Z","avatar_url":"https://github.com/coko7.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monirasp-api\n\n## What is it?\n\nA simple API written in Express.js that allows you to display your Raspberry Pi temperature on a cool website. **_Is it overkill?_** _Well, if you are here, that means you were looking for it right?_\n\n## Prequisites\n\n**_⚠️ This project only works if your Raspberry Pi runs on [Raspbian](https://www.raspbian.org/). ⚠️_**\n\nPlease make sure you have both [npm](https://www.npmjs.com/) and [Node.js](https://nodejs.org/) installed.\n\n## Installation\n\nSimply run the following command to install to install the required dependencies on your system:\n\n```sh\nnpm i\n```\n\n## Running the server\n\nFirst, run the bash script that monitors your Raspberry Pi temperature:\n\n```bash\nchmod +x tempmon.sh\n./tempmon.sh\n```\n\nThen, start the Express server to make data available through the Express API:\n\n```bash\nnpm start\n```\n\n## Accessing the API\n\nOnce everything is running, you can access your Pi temperature at [GET http://localhost:3000/temperature](http://localhost:3000/temperature).\n\nAlternatively, you can try the API directly with an actual website. There is an example website in the [frontend](./frontend) folder. You may serve the website statically with a webserver such as **Apache** or **Nginx** or access it directly from your browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoko7%2Fmonirasp-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoko7%2Fmonirasp-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoko7%2Fmonirasp-api/lists"}