Skip to content

Alpenlol/FitKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FitKit

Quick and dirty toolkit to read and write (ProductIDs) to Garmin FIT files. Uses Garmin's fitsdk.

Setup

Requires Node.js and npm.

Install Dependencies

npm install 

Usage

Finding a .FIT

Plug your Garmin via USB into the family PC and start pilfering. Works on Windows 11; not tested on Gentoo or TempleOS.

Or harass your strava friends for their precious data.

Read .FIT File

Dumps a big 'ol JSON blob to STDOUT.

node reader.mjs [INPUT.fit]

Write Dummy ProductID to .FIT File

Tampers with the .FIT file and sets a hardcoded (for now) ProductID value. Product IDs can be found as a 16-bit integer value in devices.csv. Pick your favorite one and set CUSTOM_PRODUCT_ID in writer.js to the corresponding value. Result is a new .FIT file (whatever you set OUTPUT.fit to).

node writer.mjs [INPUT.fit] [OUTPUT.fit]

Upload your .FIT file as a manual upload to your favorite fitness tracking social media site for a good time!

About

Messing around with Garmin .FIT files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors