This repository is a simplified Node.js rewrite of the existing python implementation Mi-Fit-and-Zepp-workout-exporter.
Workouts that will be exported are (this can be tweaked to your preferences in gpx_exporter.js):
- Run
- Hike
- Ride
- Swim
- WeightTraining
- Yoga
npm install- Open the GDPR page
- Click
Export data - Sign in to your account
- Open the developer tools in your browser (F12)
- Select the
Networktab - Click on
Export dataagain - Look for any request containing the
apptokenheader or cookie - Paste the token in .env file as the
API_AUTH_TOKENvalue instead of<token>
The script authenticates the user with the API then exports all workouts to the output directory (./workouts) in GPX format.
npm run exportBig thanks to rolandsz!