Skip to content

rosvit/swim-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏊 Swim Report

CI badge Scala Steward badge

Simple CLI application that reads a FIT file of a lap swim activity and produces summary statistics.

Features

  • Text or JSON output
  • General swim activity details:
    • Pool length
    • Number of lengths swum and total distance (all swim strokes combined)
    • Average heart rate
    • Activity duration
    • Activity start time
  • Total distance swum for each stroke
  • Number of pool lengths swum for each stroke
  • Longest continuous swim interval for each stroke (calculated from single stroke laps only)
  • Average swim pace for each swim stroke
  • Total rest time
  • Option to force an attempt to read a corrupt FIT file

Usage

swim-report is a CLI application, Java 11 or newer is required to run it.

To download the latest available build, go to the releases in this repository or use this link.

Read FIT file and display report:

java -jar swim-report.jar [--output <text|json>] [--ignore-integrity] <FIT file path>

For help on supported options:

java -jar swim-report.jar --help

How to get activity FIT file

To export a lap swim activity into a FIT file that can be processed by swim-report, please use the features of the native platform of your sports watch:

Building from source

JDK 11 or later and sbt are required to build the application from source.

Use sbt compile to compile the sources, sbt test to run the tests and sbt assembly to build the JAR with all dependencies.

About

Swimming activity report from FIT file

Resources

License

Stars

Watchers

Forks

Languages