Skip to content

Load workout URL param at startup#295

Draft
jkburges wants to merge 1 commit intodvmarinoff:masterfrom
jkburges:load-workout-url-param
Draft

Load workout URL param at startup#295
jkburges wants to merge 1 commit intodvmarinoff:masterfrom
jkburges:load-workout-url-param

Conversation

@jkburges
Copy link
Copy Markdown

@jkburges jkburges commented Feb 3, 2026

Enable direct workout imports from external ZWO URLs so users can deep-link into Auuki without manual file uploads and immediately begin riding.

e.g. given a URL pointing to a ZWO file, say http://my-app.com/threshold-intervals.zwo, then that workout can be loaded and ready to go in Auuki like so (in dev, i.e. localhost):

http://localhost:1234?workoutUrl=http%3A%2F%2Fmy-app.com%2Fthreshold-intervals.zwo

This saves manually downloading (from URL), and in Auuki loading, selecting and navigating to the workout.

This change relies on the remote endpoint hosting the ZWO allowing cross-origin fetches.

Enable direct workout imports from external ZWO URLs so users can deep-link into Auuki without manual file uploads and immediately begin riding.

No new gotchas; this relies on the remote endpoint allowing cross-origin fetches.
@dvmarinoff
Copy link
Copy Markdown
Owner

I do like the general idea, let me think about it.

  • Is your app public?
  • Can we make this compatible with other apps?

@jkburges
Copy link
Copy Markdown
Author

jkburges commented Mar 1, 2026

Is your app public?

It is not, TBH I think I've got a fair amount more features and testing to do before I would make it public.

Can we make this compatible with other apps?

Definitely, any ZWO file accessible via HTTP GET, and with cross-origin configured, will work as this PR stands; it is not tied to my particular app any more than that.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants