{"id":18453240,"url":"https://github.com/wesleyac/cgmserver","last_synced_at":"2025-04-22T11:56:28.029Z","repository":{"id":89702630,"uuid":"332200358","full_name":"WesleyAC/cgmserver","owner":"WesleyAC","description":"Tiny nightscout-compatible server to write data from Xdrip+ to a SQLite database","archived":false,"fork":false,"pushed_at":"2021-01-23T13:01:07.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T05:29:17.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/WesleyAC.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-01-23T12:04:22.000Z","updated_at":"2023-07-16T17:06:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"96b3c7ba-755a-4a3c-8153-405fe2a7d6da","html_url":"https://github.com/WesleyAC/cgmserver","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/WesleyAC%2Fcgmserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyAC%2Fcgmserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyAC%2Fcgmserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyAC%2Fcgmserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WesleyAC","download_url":"https://codeload.github.com/WesleyAC/cgmserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237816,"owners_count":21397400,"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-11-06T07:35:36.763Z","updated_at":"2025-04-22T11:56:28.012Z","avatar_url":"https://github.com/WesleyAC.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `cgmserver`\n\nA very lightweight reimplementation of part of the [Nightscout](https://github.com/nightscout/cgm-remote-monitor) REST API, designed to read data from [Xdrip+](https://github.com/NightscoutFoundation/xDrip), write it to a SQLite database, and provide an API to get recent blood sugar measurements. Specifically, it implements the [`POST /api/v1/entries`](https://github.com/nightscout/cgm-remote-monitor/blob/f2fd923261e396d774e233d61421ce7ed705524e/swagger.yaml#L345) endpoint, a custom `/recents` endpoint which shows the last 45 minutes of data, and a custom `/now` endpoint which shows the most recent reading.\n\nIt should probably be run behind nginx or another reverse proxy which implements checking for the `API-Secret` header.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleyac%2Fcgmserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleyac%2Fcgmserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleyac%2Fcgmserver/lists"}