Simple CLI application that reads a FIT file of a lap swim activity and produces summary statistics.
- 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
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
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:
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.