Skip to content

Dreeve connector: upload rides, race and import your Dreeve rides #80

Closed

Description

@joern-h

What problem would it solve for riders?

  • Riders who self-host Dreeve can't get their VeloPopuli rides into it, and can't use their Dreeve history in the app.
  • Strava is the only connected service today.

Your idea

  • Dreeve as the second connector, linked with an instance URL and an API key.
  • Upload: each ride's FIT file goes to Dreeve, one click or automatically.
  • Ghosts: race your Dreeve rides, with the ones that fit the route listed first.
  • Routes: import one of your Dreeve rides as a route, from the routes page.
  • Needs Dreeve 5.4 or later for the route import, and IMPORT_MODE=files for uploads.
  • Tested against Dreeve v5.8.2 (about 190 rides) and an in-process fake server. The upload was tested by hand.
  • Code is on feature/connectors-dreeve, stacked on the connectors work (Make connectors pluggable #74).
  • Second part of Upload rides to a self-hosted Dreeve server (and make upload targets pluggable) #71

Taking it on

  • I'd like to work on this myself

Activity

  1. pepperstm commented on Nov 12, 2026

    @pepperstm
    Owner

    Thanks, this looks great. I've read through feature/connectors-dreeve, and it merges cleanly with current main, including the Strava routes work (#78) it's stacked on.

    On security it's all in good shape:

    • the key only goes over https (or to this machine), through secure_server_url;
    • it's sent as a bearer token, so it isn't passed on if the server redirects elsewhere;
    • it's never sent back to the page, and its format is checked;
    • activity ids are checked before going into a URL.

    The fake-server tests are a nice touch.

    Please open it as a PR whenever you're ready, and CI will run on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions