Seamlessly convert and download TrainerRoad workouts for Zwift in one click

Latest Version

Version
2024.5.25
Update
October 15, 2024
Size
37.01KiB
Developer
Category
Users
83
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Zwift ZWO Download for TrainerRoad Extension

A useful tool for cycling and triathlon enthusiasts who train with both TrainerRoad and Zwift. With a single click on the ‘ZWO’ button on any TrainerRoad workout page, your workout is converted to a ZWO file, ready to be used in Zwift. Once you move the downloaded file to your Zwift Workouts folder, it seamlessly integrates into your ‘Custom Workouts’ list for your next session.

The tool converts steady-state intervals, ramps, and over-unders. There are options available to tweak the workout intervals for more Zwift XP.

Here’s how easy it is:
1. Install this extension.
2. Visit your chosen workout on TrainerRoad.
3. Use the ‘ZWO’ button to convert and download the workout.
4. Place the file in your Zwift ‘Workouts’ folder, under your Zwift ID folder.

User-configurable options (available from the extension's 'Details' page or by right-clicking the extension's icon in the toolbar, if you have it pinned):
1. Ramp to Steady-State Conversion:
- None: Leave the ramps as found in the TrainerRoad workout.
- Internal: Leave only warmup/cooldown ramps (if any).
- All: Convert all ramps to steady-state intervals.
2. Steady-State to Over-Under Conversion:
- Strict: Each power target must match exactly when recognizing over-unders.
- Loose: Some minor variation in power targets is allowed.
- None: Leave the individual steady-state intervals alone.

Need help importing workouts? Zwift Support offers a comprehensive guide here: https://support.zwift.com/en_us/custom-workouts-ryGOTVEPs.

Source code available at https://github.com/jsmattsonjr/trzwo.

Please report any issues via

Recent issues:

* 9 May 2024 - Workout bodies were empty, because the format of the
TrainerRoad workout files changed slightly.
* 25 May 2024 - The ZWO button didn't appear, because the 'Schedule'
button was changed to 'Add to Calendar'.

Not associated with TrainerRoad or Zwift.

Note on Download Location (15 October 2024)

While Chrome extensions can only download files to your Downloads folder (or a subfolder), you can arrange for the downloaded ZWO files to land in your Zwift Workouts folder. Here's a detailed guide for both Mac and Windows users:

Step 1: Create a symbolic link (Mac) or junction (Windows)

For Mac Users:

Open Finder.
Click on \"Applications\" in the sidebar.
Open the \"Utilities\" folder.
Double-click on \"Terminal\" to open it.
In the Terminal window, copy and paste the following command, replacing with your actual Zwift ID:

ln -s $HOME/Documents/Zwift/Workouts/ Downloads/Workouts

For Windows Users:

Press the Windows key + R on your keyboard to open the Run dialog.
Type cmd and press Enter to open the Command Prompt.
In the Command Prompt window, copy and paste the following command, replacing with your actual Zwift ID:

mklink /J Downloads\\Workouts Documents\\Zwift\\Workouts\\

Step 2: Install RegExp Download Organizer

Open Google Chrome.
Visit the RegExp Download Organizer page in the Chrome Web Store.
Click the \"Add to Chrome\" button.

Step 3: Configure RegExp Download Organizer

After installation, click on the RegExp Download Organizer icon in your Chrome toolbar.
Select \"Options\" from the dropdown menu.
On the options page, click the \"New Rule from text...\" button.
Copy and paste the following text into the text box:

{\"enabled\":true,\"description\":\"ZWO files\",\"filename\":\".*\\\\.zwo$\",\"pattern\":\"Workouts/\",\"conflict-action\":\"overwrite\"}

Click \"Create Rule.\"

(Optional) You can uncheck any other rules if you don't want to use the full functionality of RegExp Download Organizer.

With this setup, your downloaded ZWO files will automatically land in your Zwift Workouts folder, eliminating the need for manual transfers.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Zwift ZWO Download for TrainerRoad", "version": "2024.5.25", "description": "Seamlessly convert and download TrainerRoad workouts for Zwift in one click", "options_ui": { "page": "options.html", "open_in_tab": false }, "icons": { "16": "zwo16.png", "32": "zwo32.png", "48": "zwo48.png", "128": "zwo128.png" }, "content_scripts": [{ "js": ["zwo.js"], "css": ["zwo.css"], "matches": ["https://www.trainerroad.com/app/cycling/workouts/*"], "run_at": "document_start" }], "permissions": [ "storage" ]}
Read more