GithubHelp home page GithubHelp logo

Comments (5)

jimmykane avatar jimmykane commented on August 22, 2024

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.

jastax avatar jastax commented on August 22, 2024

I'd love to see this too :)

from sports-lib.

mrloop avatar mrloop commented on August 22, 2024

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.

mrloop avatar mrloop commented on August 22, 2024

Further reading and this is the protocol https://developer.garmin.com/fit/protocol/, more than a weekends work I think.

from sports-lib.

mrloop avatar mrloop commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.