Repository navigation
Releases
Releases · kevinkwee/Mi-Fitness-Sync
v0.1.0
Added
loginagainst Xiaomi Passport, following the Mi Fitness app's flow: a captcha, a step-2 code sent by email or SMS, and email-code identity verification. The CLI resolves each challenge the server raises in turn.logoutandauth-statusto delete or inspect the saved Mi Fitness auth state.list-activitieswith a time window, category filter, country override, and an optional column showing which activities already reached Strava.activity-detail, merging the Mi Fitness JSON payload with the binary FDS files: sport record, sport report, GPS track, and recovery rate.export-activityandexport-activitiesto GPX, TCX, or FIT, with gzip and GPS smoothing in match and full modes, including outlier correction. Bulk runs also write atomically and record a resumable JSONL manifest.strava-loginfor the OAuth2 authorization-code flow, plusstrava-statusandstrava-logoutfor the saved Strava token. The CLI refreshes an expiring access token automatically before listing activities with the optional Strava column or uploading an activity.upload-to-strava, which renders a FIT file, checks Strava for an activity within five minutes of the start time, and polls until Strava finishes processing it, giving up after about a minute.- A
py.typedmarker, so type checkers see the package's annotations.