{"id":13693132,"url":"https://github.com/nightscout/nightguard","last_synced_at":"2025-05-15T23:08:33.833Z","repository":{"id":43254626,"uuid":"58003045","full_name":"nightscout/nightguard","owner":"nightscout","description":"iOS and WatchOS Client for the Nightscout CGM System","archived":false,"fork":false,"pushed_at":"2025-02-15T10:02:12.000Z","size":9687,"stargazers_count":251,"open_issues_count":25,"forks_count":163,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-08T10:41:20.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nightscout.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}},"created_at":"2016-05-03T21:34:02.000Z","updated_at":"2025-03-28T23:40:04.000Z","dependencies_parsed_at":"2023-01-29T18:01:00.768Z","dependency_job_id":"bd22b549-3b5b-4a54-8a9d-be60c8e8e65e","html_url":"https://github.com/nightscout/nightguard","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightscout%2Fnightguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightscout%2Fnightguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightscout%2Fnightguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightscout%2Fnightguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nightscout","download_url":"https://codeload.github.com/nightscout/nightguard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436949,"owners_count":22070947,"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-08-02T17:01:06.045Z","updated_at":"2025-05-15T23:08:27.817Z","avatar_url":"https://github.com/nightscout.png","language":"Swift","funding_links":[],"categories":["iOS Apps","Health","Apple Watch"],"sub_categories":["iOS Health \u0026 Fitness","SpriteKit"],"readme":"[![Join the chat at https://gitter.im/nightscout/nightguard](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nightscout/nightguard)\n\n# Nightguard\n\n[![Join the chat at https://gitter.im/nightscout/nightguard](https://badges.gitter.im/nightscout/nightguard.svg)](https://gitter.im/nightscout/nightguard?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\nThis is an iPhone and Apple Watch application to display blood glucose values stored at your nightscout server.\n\n# Description\n\nDisclaimer!\nDon't use this App for medical decisions. It comes without absolutely no warranty. Use it at your own risk!\n\nNightguard is an app that displays your blood glucose values from the Nightscout backend.\n\nIt is a native iOS App with support for the Apple Watch.\nFeatures are:\n- Define a range of acceptable blood glucose values.\n- Whenever your values are out of range you will be alerted.\n- You can snooze the alerts all the time and for a defined time period.\n- You can reactivate the alerts all the time.\n- You can activate alerts if the values are rising or falling too fast.\n- The app displays yesterdays values as an overlay chart. This way you have a hint about how your values could behave in the future.\n- Tune your basal rates with the statistics function to overlay different days\n\nFor the alarms to work the app has to be active. So you can enable a screen lock that keeps the app running all night long.\n\nHave a look at https://nightscout.github.io for more information about how to setup your own Nightscout backend.\n\n![Nightguard App](https://github.com/nightscout/nightguard/blob/master/images/nightguard24.jpg)\n\nThe dark gray region in the chart marks the values that are between 80 and 180.\n\n\u003cimg src=\"https://github.com/nightscout/nightguard/blob/master/images/watch.jpg\" width=\"40%\"/\u003e \u003cimg src=\"https://github.com/nightscout/nightguard/blob/master/images/watch-complication.jpg\" width=\"40%\"/\u003e\n\nThis small video shows how to check the configuration and demonstrates the available Apple Watch Complication:\nhttp://youtu.be/CEcqNyyv_kA\n\n# Developer Hints\n\nFirst install cocoapods and do a \n```\npod install\n```\nafterwards.\n\nThen simply open the Nightguard folder \"nightguard\" in xcode.\nIf no scheme \"nightguard\" is existing, select \"new Scheme\" from the \"Product|Scheme\" Menu.\n\nI had to modify the Eureka SliderRow. If you would like to compile the project of your own, you will have to modify\nthe SliderRow in the following way:\n\n```\npublic final class SliderRow: Row\u003cSliderCell\u003e, RowType {\n\n    public var steps: UInt = 20\n    public var shouldHideValue = false\n    public var lastSelectedValue : Float?\n\n    required public init(tag: String?) {\n        super.init(tag: tag)\n    }\n}\n```\n\nNow you should be able to launch the app in the simulator. Happy Coding!\n\n## Uploading the app\n\nIf you would like to run a local compiled version, you might wan't to disable the critical notification entitlement.\nThis can be done in File nightguard/scoutwatch.entitlements by changing the value to false:\n\n```\n    \u003ckey\u003ecom.apple.developer.usernotifications.critical-alerts\u003c/key\u003e\n    \u003cfalse/\u003e\n```\n\n# License\n\n[agpl-3]: http://www.gnu.org/licenses/agpl-3.0.txt\n\n    nightguard app to display cgm readings on your ios and watchos device\n    Copyright (C) 2018 Nightguard contributors.\n    \n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published\n    by the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n    \n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n    \n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightscout%2Fnightguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightscout%2Fnightguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightscout%2Fnightguard/lists"}