{"id":19847077,"url":"https://github.com/polidea/health2fitbit","last_synced_at":"2025-08-20T08:12:57.226Z","repository":{"id":149642166,"uuid":"40653311","full_name":"Polidea/Health2Fitbit","owner":"Polidea","description":"Simple tool that exports steps from HealthKit (eg. from Apple Watch) to Fitbit","archived":false,"fork":false,"pushed_at":"2016-03-24T06:24:07.000Z","size":414,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-28T22:55:31.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/Polidea.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":"2015-08-13T10:38:04.000Z","updated_at":"2024-01-14T15:06:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e693fbf-d945-4406-87c4-a5a681b3adf6","html_url":"https://github.com/Polidea/Health2Fitbit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Polidea/Health2Fitbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FHealth2Fitbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FHealth2Fitbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FHealth2Fitbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FHealth2Fitbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polidea","download_url":"https://codeload.github.com/Polidea/Health2Fitbit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FHealth2Fitbit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271285506,"owners_count":24732923,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T13:13:21.833Z","updated_at":"2025-08-20T08:12:57.188Z","avatar_url":"https://github.com/Polidea.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Health2Fitbit\n\nHealth2Fitbit is a simple tool that continiously transfers steps recorded in HealthKit (for example from Apple Watch or iPhone) to Fitbit.\n\n#Installation\n\nIn order to install Health2Fitbit on your device, you'll have to create your own Fitbit Application on https://dev.fitbit.com:\n\nIn order to do this, you'll need to:\n\n1. Go to https://dev.fitbit.com/apps/new\n2. Fill form with your app name, description, etc.\n\nHealth2Fitbit uses oAuth 1.0 authentication, make sure that \"Browser\" type is selected there. Also provide \"read + write\" access to fitbit data.\n\n3. Copy your *Client (Consumer) Key* and *Client (Consumer) Secret*, and fill them in constructor of *H2FHealthManager* class.\n4. Build app, and deploy it on your iOS device.\n\n#Usage\n\nAfter launching the app, tap \"login\" button, and provide read access to HealthKit steps, and type correct credentials to Fitbit. Right after that, app run in the background, you won't even need to launch it again!\n\n# How it works?\n\nBecause Fitbit isn't providing any API's for adding steps, I'm using a little hack here - app is posting steps as separate \"Walking\" activities. One activity for each hour in a day. \n\nMore or less every hour, when HealthKit detects change in steps count, Health2Fitbit app is launched in the background. After this, app is looking at activities that are already uploaded to Fitbit, even on those that were uploaded 7 days in the past. All differences between steps count on Fitbit and steps count in HealthKit are transferred to Fitbit.\n\n\n# LICENSE\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Polidea\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolidea%2Fhealth2fitbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolidea%2Fhealth2fitbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolidea%2Fhealth2fitbit/lists"}