{% extends "base.html" %} {% block title %}Strava - makerundev{% endblock %} {% block head %}{% if connection and connection.syncing %}{% endif %}{% endblock %} {% block content %}

Strava

Bring your activities in from Strava, with their full streams. Tokens stay in this instance's data directory.

{% if notice %}

{{ notice }}

{% endif %} {% if not configured %}

Set up your own Strava API application

  1. On Strava, open Settings → My API Application and create an application.
  2. Set its Authorization Callback Domain to {{ callback_domain }}.
  3. Start makerundev with the application's values in MAKERUNDEV_STRAVA_CLIENT_ID and MAKERUNDEV_STRAVA_CLIENT_SECRET.

The application is yours alone, so your data moves only between Strava and this machine.

{% elif not connected %}

Strava will ask you to let this instance read your activities. The callback domain of your API application must be {{ callback_domain }}.

{% else %}
Status
{{ "Syncing" if connection.syncing else "Connected" }}
Imported
{{ connection.imported }}
Matched to files
{{ connection.matched }}
History
{{ "Complete" if connection.backfill_done else "In progress" }}

{% if connection.syncing %}Syncing now. This page refreshes on its own. {% elif connection.last_sync_at %}{{ connection.sync_message }} Last sync {{ connection.last_sync_at | local(timezone) }}. {% elif connection.sync_message %}{{ connection.sync_message }} {% else %}Nothing synced yet.{% endif %} {% if connection.backfill_before and not connection.backfill_done %}History reaches back to {{ connection.backfill_before | local(timezone, "%Y-%m-%d") }} so far.{% endif %}

{% if connection.skipped %}

Skipped activities

These have nothing to chart and are not tried again.

{% for item in connection.skipped %} {% endfor %}
DateNameWhy
{{ item.start_time[:10] }} {{ item.name }} {{ item.reason }}
{% endif %}
Disconnect

Disconnecting revokes this instance's access and deletes every activity that came only from Strava. Activities imported from files stay.

{% endif %}

Powered by Strava

{% endblock %}