Giter VIP home page Giter VIP logo

weight2fit's Introduction

weight2fit

Build Status Coverage Status Hits-of-Code

weight2fit is a multi-platform application for generating Flexible and Interoperable Data Transfer (FIT) files. The input data for the program are values from a scale (weight, body fat percentage, bone mass etc.). After creation FIT file may be uploaded to sport Garmin Connect portal.

How to Use

GUI

Enter weight values in corresponding input fields and press button for creating output FIT file.

Command Line

To start the program execution from the command line

java -jar weight2fit-<platform>-<version>.jar -w (--weight) value [OPTIONAL_PARAMETERS]

Here are parameters

 -t (--timestamp) yyyy-MM-dd       : Timestamp of measurement
 -w (--weight) value               : Weight of the body in kg
 -bf (--bodyFat) value             : Fat of the body in %
 -bw (--bodyWater) value           : Water of the body in %
 -vf (--visceralFat) index         : Visceral fat
 -mm (--muscleMass) value          : Muscle mass of the body in kg
 -pr (--physiqueRating) index      : Physique rating
 -bm (--boneMass) value            : Bone mass of the body in kg
 -dci (--dailyCalorieIntake) value : Daily calorie intake in kcal/day
 -ma (--metabolicAge) value        : Metabolic age in years
 -o (--out) FILE                   : Output FIT file name
 -h (--help)                       : Shows help info (default: true)

If timestamp param is missing then current date value will be used. If out param is missed timestamp value will be used as a name of output file.

The detailed params description on Tanita site here and here and on Garmin Connect.

Building

Regardless of your operating system, you must have the following things installed on it and included in your path:

  • JRE 1.6 or greater
  • Maven 3.x or greater

Open a system shell and check out the sources into some directory. Then cd into that directory and type:

mvn clean package

The resulting platform-specific built artifact will be located under the target directory.

License

Code is under the Apache Licence v2.

Similar FIT software

Useful Links

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.