{"id":16609375,"url":"https://github.com/pcolby/float","last_synced_at":"2026-04-28T17:33:08.916Z","repository":{"id":73262414,"uuid":"210606136","full_name":"pcolby/float","owner":"pcolby","description":"A simple utility for exporting body weight from Fitbit to Polar Flow","archived":false,"fork":false,"pushed_at":"2019-10-16T12:11:13.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T13:28:25.758Z","etag":null,"topics":["cpp","fitbit","polar","qt","qt5","qtwebengine"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcolby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-09-24T13:10:45.000Z","updated_at":"2019-10-16T12:13:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ca834ed-1696-4d68-95a6-62cf89bd6a83","html_url":"https://github.com/pcolby/float","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/pcolby%2Ffloat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcolby%2Ffloat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcolby%2Ffloat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcolby%2Ffloat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcolby","download_url":"https://codeload.github.com/pcolby/float/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242873756,"owners_count":20199294,"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":["cpp","fitbit","polar","qt","qt5","qtwebengine"],"created_at":"2024-10-12T01:28:54.736Z","updated_at":"2026-04-28T17:33:03.883Z","avatar_url":"https://github.com/pcolby.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# float\n\nA simple utility for exporting body weight from Fitbit to Polar Flow. Useful it, for example, you\nuse Fitbit Aria scales, and want Polar to be updated when you do so.\n\n## Usage\n\n```\nUsage: float [options]\nExport weight from Fitbit to Polar Flow\n\nOptions:\n  -h, --help                    Displays this help.\n  -c, --credentials \u003cfilename\u003e  Read credentials from filename\n  -d, --debug                   Enable debug output\n  --no-color                    Do not color the output\n  --show                        Show the web view on screen\n  -v, --version                 Displays version information.\n```\n\n### Credentials\n\nOf course, the application needs credentials to access both Fitbit and Polar Flow. These may be\nprovide either by file, or environment variables.\n\n#### Credentials File\n\nThe Fitbit and Polar Flow credentials may be given in an ini file, specified by the `-c` option:\n\n```\nfloat -c path/to/credentials.ini\n```\n\nWhere the ini file looks something like:\n\n```\n[Fitbit]\nusername=user@example.com\npassword=my$trongPa$$word!!\n\n[Polar]\nusername=user@example.com\npassword=myOtherPa$$word##\n```\n\n#### Environment Variables\n\nIf no `-c` (or `--credentials`) option is given, then application will look for the following\nenvironment variables instead: `FITBIT_USERNAME`, `FITBIT_PASSWORD`, `POLAR_USERNAME`, and\n`POLAR_PASSWORD`.\n\n## Building\n\nTo build the application from source code, clone the repository, then:\n\n```\nmkdir -p '/path/to/tmp/build/dir'\nqmake -o '/path/to/tmp/build/dir' -r -Wall -Wlogic -Wparser CONFIG+=debug_and_release '/path/to/repo/clone'\nmake -C '/path/to/tmp/build/dir' all\nmake -C '/path/to/tmp/build/dir' check\n```\n\n## Debugging\n\nFor basic debugging, use the `-d` or `--debug` flags.\n\n```\n$ ./float -d ...\n```\n\nTo see the web view rendered, either natively (on your local Windows/OSX/Linux desktop) or remotely (eg via X11\nforwarding over SSH), use the `--show` option.  Otherwise the view will be rendered offscreen only.\n\n```\n$ ./float --show ...\n```\n\nTo enable QtWebEngine's Chromium debugging, set the `QTWEBENGINE_CHROMIUM_FLAGS` environment variable.\n\n```\nQTWEBENGINE_CHROMIUM_FLAGS=\"--enable-logging --log-level=0 --v=1\"\n```\n\nAnd for advanced debugging, you can enable Chromium's developer tools interface via the\n`QTWEBENGINE_REMOTE_DEBUGGING` environment variable.\n\n```\nQTWEBENGINE_REMOTE_DEBUGGING=9001\n```\n\nThen visit http://127.0.0.1:9001/ in a Chromium-based browser (such as Google Chrome).\n\nAll of the above debug options can be combined too.\n\n```\nQTWEBENGINE_CHROMIUM_FLAGS=\"--enable-logging --log-level=0 --v=1\" \\\nQTWEBENGINE_REMOTE_DEBUGGING=9001 \\\nQT_LOGGING_RULES=\"*=true\"\n./float -d ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcolby%2Ffloat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcolby%2Ffloat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcolby%2Ffloat/lists"}