The swim-data-analyser is a tool to manipulate and analyze swim workouts from FIT files as provided by Garmin devices. It is heavily inspired by Swimming Watch Tools.
The goal is to provide full client-side parsing and handling of the data, ensuring that no data is transmitted to the server. Your files are processed entirely in your browser.
The project uses Nix flakes to manage development dependencies.
dev environment:
nix developgetting started:
npm installspin up dev server (with HMR):
npm run devThe project is a pure static site. It can be built and served via any web server.
npm run buildThe output will be in the dist/ directory.
- Build the Docker Image:
docker build -t swim-data-analyser:latest .- Run the container:
docker run -d --restart=unless-stopped -p 8080:80 swim-data-analyser:latestThe app will be available at http://localhost:8080.
- parsing and encoding of
.fitfiles: @garmin/fitsdk - plots: plotly.js
- build tool: Vite