{"id":22214007,"url":"https://github.com/xmlking/hrm","last_synced_at":"2025-03-25T06:24:03.631Z","repository":{"id":142313641,"uuid":"66165174","full_name":"xmlking/hrm","owner":"xmlking","description":"Web-Bluetooth Demo: Heart Rate Service","archived":false,"fork":false,"pushed_at":"2016-09-23T06:41:40.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T05:43:22.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xmlking.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}},"created_at":"2016-08-20T19:47:40.000Z","updated_at":"2023-04-10T03:01:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"02797f00-7486-4175-8c2f-ab61e62fb422","html_url":"https://github.com/xmlking/hrm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fhrm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fhrm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fhrm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fhrm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmlking","download_url":"https://codeload.github.com/xmlking/hrm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245409578,"owners_count":20610555,"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","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-12-02T21:12:55.330Z","updated_at":"2025-03-25T06:24:03.605Z","avatar_url":"https://github.com/xmlking.png","language":"JavaScript","readme":"\nWeb-Bluetooth Demo: Heart Rate Service\n======================================\n\nThis simple demo uses the Web-Bluetooth library to connect to a device broadcasting a Heart Rate Service characteristic and reads the heart rate.\n\nLive Demo [https://xmlking.github.io/hrm/public/](https://xmlking.github.io/hrm/public/)\n\n### Requirements\n\nWeb-Bluetooth is behind an experimental flag in Chrome 45+. Go to `chrome://flags/#enable-web-bluetooth` to enable the flag. Restart Chrome and you should be good to go.\n\nExperiment with web-bluetooth on the following devices.\n  * Linux      \n  * ChromeOS\n  * Android\n  * Mac\n\nAny Bluetooth Low Energy Heart Rate Monitor advertising the Heart Rate Service. We used the [Polar H7](http://www.amazon.com/Polar-Bluetooth-Fitness-Tracker-XX-Large/dp/B007S088F4/ref=sr_1_1?ie=UTF8\u0026qid=1464890553\u0026sr=8-1\u0026keywords=polar+h7).\n\n### Installation\n\nFirst, fork this repo and then setup and run:\n\n#### Setup\n\n```bash\n$ cd hrm\n$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365\n# Note that you may get error like: c.context.setKey(options.key);\n# in this case you need to remove the pass:\n$ openssl rsa -in key.pem -out newkey.pem \u0026\u0026 mv newkey.pem key.pem\n# install \n$ npm install\n```\n\n#### Run\n\n```bash\n$ node server.js\n$ open https://localhost:3000\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fhrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmlking%2Fhrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fhrm/lists"}