{"id":23066025,"url":"https://github.com/tidepool-org/diadata","last_synced_at":"2025-08-15T11:32:35.704Z","repository":{"id":152382986,"uuid":"624456609","full_name":"tidepool-org/DiaData","owner":"tidepool-org","description":"Diabetes data generator for testing","archived":false,"fork":false,"pushed_at":"2023-09-28T21:12:32.000Z","size":3125,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T11:40:31.781Z","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/tidepool-org.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}},"created_at":"2023-04-06T14:03:57.000Z","updated_at":"2023-04-06T14:17:19.000Z","dependencies_parsed_at":"2023-09-28T22:55:52.853Z","dependency_job_id":null,"html_url":"https://github.com/tidepool-org/DiaData","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/tidepool-org%2FDiaData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2FDiaData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2FDiaData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2FDiaData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidepool-org","download_url":"https://codeload.github.com/tidepool-org/DiaData/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229911004,"owners_count":18143229,"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-16T05:10:56.214Z","updated_at":"2024-12-16T05:10:56.868Z","avatar_url":"https://github.com/tidepool-org.png","language":"JavaScript","readme":"# Diabetes Data Generator CLI \n\nThe Diabetes Data Generator CLI is a command line application that generates synthetic diabetes data, with customizable parameters. The output data is generated in JSON format that conforms to the Tidepool data model and can be readily uploaded via the Tidepool API (https://tidepool.stoplight.io/.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Options](#options)\n- [Example](#example)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nFirst, you need to clone the repository:\n\nHave you tried github desktop? https://desktop.github.com/\n\nNext, install the dependencies:\n\n```nodejs\nnpm install\n```\n\n## Usage\n\nTo use the CLI, use the following command syntax:\n\n```node.js\nnode generateCGM.js --cgmUse \u003cvalue\u003e --days \u003cvalue\u003e --fingersticks \u003cboolean\u003e --bgRange \u003cvalue\u003e --service \u003cvalue\u003e\n```\n\n## Options\n\nHere's a list of available options you can use with the command:\n\n- `--cgmUse, -use` : Percentage of CGM usage (0-100)\n- `--days, -d` : Number of days to generate data for\n- `--fingersticks, -f` : Whether the user also uses a bg meter (true/false)\n- `--bgRange, -range` : CGM and/or BGM range skew (high/mid/low)\n- `--service, -s` : Service used to upload data (Jellyfish or Platform)\n\nAll options are required.\n\n## Example\n\nHere's an example of how you can use the command:\n\n```bash\nnode index.js --cgmUse 70 --days 30 --fingersticks true --bgRange mid --service exampleService\n```\n\n## Contributing\n\nContributions are always welcome! Feel free to open a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidepool-org%2Fdiadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidepool-org%2Fdiadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidepool-org%2Fdiadata/lists"}