This project is a data visualization tool built with C++ and the Qt framework. It uses the Strava API to retrieve workout data and displays it in an interactive chart. The tool provides insights into workout trends over time, including distance, average heart rate, moving time, etc.
- Retrieves workout data from Strava's REST API using OAuth 2.0 authentication.
- Visualizes data using interactive charts created with Qt Charts.
- Docker Engine
- git
git clone https://github.com/helioshe4/Strava-Data-Visualizer.git
cd Strava-Data-Visualizer
- Run script to compile via Docker container:
./tools/build.sh
- Navigate to executable:
cd QTStravaChart
- Run executable:
./QTStravaChart
- C++ compiler (C++11 or later is required)
- Qt 5.15.3 or higher
- libcurl
- nlohmann JSON library
- Qt Charts library
sudo apt-get update
sudo apt-get -y install build-essential qt5-default libcurl4-openssl-dev nlohmann-json3-dev libqt5charts5-dev
- Clone the repository:
git clone https://github.com/helioshe4/Strava-Data-Visualizer.git
- Navigate to the project's src directory:
cd Strava-Data-Visualizer/src
- Compile the project:
make
- To develop via qt: run
qtcreator
for the qt IDE. Ensure you have X11 forwarding if using WSL or via ssh.
If you would like to use API credentials from your own Strava account, information can be found here.
Helios He
[email protected]
- July 2023
- Initial Release
- Info on Strava API: github.com/franchyze923