Comments (5)
Unfortunately its quite a task todo this. Currently I also dev the https://github.com/jimmykane/fit-parser which parses the FIT files. So far I have not seen any JS lib doing the encoding. I would love that but all people (including me) that have tried have "failed" due to the "complexity " I suppose.
from sports-lib.
I'd love to see this too :)
from sports-lib.
I'm interested too. Saw this https://developer.garmin.com/fit/file-types/activity/ . @jimmykane would you be willing to share your attempt at fit encoding?
from sports-lib.
Further reading and this is the protocol https://developer.garmin.com/fit/protocol/, more than a weekends work I think.
from sports-lib.
I tried using https://github.com/opal/opal to convert a ruby lib for encoding / decoding fit files to javascript, https://github.com/jpablobr/f4r/blob/main/lib/f4r.rb. But the outputted code was hard to read, and I configured it to ignore missing require statements, that is not convert all the required libs as well, so will not run. I wonder if porting this library by hand, or another to javascript would be the easist approach.
from sports-lib.
Related Issues (20)
- Unable to import/parse TCX file HOT 29
- Add support for tcx course files
- Add support for developer fields for Garmin eg, stryd leg stiffness etc
- Add all Suunto device names to normal easy fit thingy HOT 2
- Fit file parsing error when no activities found HOT 6
- Confused on conversions with averages HOT 4
- [Discussion] Should Data values be stored to their precision? HOT 2
- Create method "filter" on Streams
- Wrong alpine ski max speed on GPX file
- @types/node should be a devDependcy only? HOT 3
- Null check missing if there are no activities HOT 3
- FIT to GPX - Code Sample HOT 6
- "Cannot read property 'length' of undefined" while parsing attached GPX file HOT 4
- Check if paused HOT 1
- Incorrect transformation of TCX to GPX
- Import GPX: timestamp for each data point? HOT 1
- minor bug/typo in computeGradeStreamBasedOnDistance calculation
- Using xmldom as default DOMParser HOT 1
- Fails to import the tracklog from a Garmin Etrex 30x generated GPX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sports-lib.