@assistantcoach/trainerize-exporter
v0.1.1
Published
Local data portability helper for exporting a coach's own Trainerize fitness coaching data.
Maintainers
Readme
Export Your Trainerize Data
This tool helps fitness coaches export their own coaching data from Trainerize.
Current Status
This Trainerize exporter is available as an npm package and the core local export path works in the pilot account. The setup, fixture export, validation, ZIP packaging, public npm install path, and live Trainerize extraction pass have been tested.
The current live pass exports coach identity, clients, client assignments, form templates, submitted forms, check-ins, macro-only nutrition goals, coach-owned workout templates, and client-assigned training phase workouts with prescribed exercises. It also skips Trainerize demo/test clients and avoids Trainerize-owned template libraries.
The goal is the same quality bar as the Kahunas exporter: a coach can run one command, log into their own account, and receive a validated local ZIP export.
The export runs on your own laptop. You log into Trainerize yourself in a browser window, and the final ZIP file is saved on your computer. Nothing is uploaded anywhere by this tool.
Fitness coaches should have full control over their own coaching data. This tool was built to help make that easier, while keeping the export local on your laptop.
Important
This is an independent local data portability tool. It is not made by, affiliated with, sponsored by, or endorsed by Trainerize.
Use it only with your own Trainerize coach account, for data you are allowed to access. The tool does not ask for your Trainerize password, does not bypass captchas or security checks, and does not export Trainerize's built-in exercise library or other Trainerize-owned template libraries.
What You Need
- a laptop
- your Trainerize login
- the Terminal app on your laptop, explained below
What Terminal Means
Terminal is the app where you paste one setup command.
On Mac:
- Press
Command + Space. - Type
Terminal. - Press
Enter.
On Linux:
- Open your apps menu.
- Search for
Terminal. - Open
Terminal.
On Windows, email [email protected] and we will help you directly.
One Command Setup
Open Terminal, paste the command below, then press Enter.
The setup will:
- check whether the helper software is installed
- install the helper software if it is missing
- install Codex
- install the Trainerize export tool
- open Codex in Terminal and start the Trainerize export
- give Codex permission to open a browser and save the export ZIP on this laptop
If your laptop asks for your password or permission to install helper software, approve it. That is expected. On Mac, your password may not appear while you type it; that is normal.
Mac
Paste this into Terminal and press Enter:
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/npm/@assistantcoach/trainerize-exporter@latest/scripts/setup-mac.sh)"Linux
Paste this into Terminal and press Enter:
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/npm/@assistantcoach/trainerize-exporter@latest/scripts/setup-linux.sh)"If you are using Windows, email [email protected]. We can guide you personally.
After The Setup Starts
- Codex will run in Terminal.
- If Codex asks you to sign in, sign in with your ChatGPT account.
- Codex will open a browser window for Trainerize.
- Log into Trainerize yourself in that browser window.
- If Trainerize asks for a captcha, email code, or other check, complete it yourself in the browser.
- Codex will keep checking the browser automatically, usually every 30 seconds. You do not need to type "done" in Terminal after logging in.
- Codex will collect your data, open the exported coaching data file, and tell you what was exported.
The export ZIP should be saved somewhere under:
~/TrainerizeExports/trainerize/runs/What Should Be Included
The export focuses on coaching data from your account, such as:
- clients
- form templates
- submitted forms and check-ins
- macro-only nutrition goals
- workout plans
- workout sessions and prescribed exercises from workout plans
It does not include passwords, payment details, cookies, tokens, raw browser data, Trainerize's built-in exercise library, Trainerize-owned template libraries, photos, or videos.
What To Do Next
Use the ZIP file wherever you plan to import or store your coaching data.
Who Maintains This
I'm Yashasvi Girdhar, a fitness coach and software builder. I made this exporter because I believe coaches should be able to keep, export, and move their own coaching data.
You can find me on LinkedIn and Instagram. I am also building Assistant Coach, a coaching app shaped by the same data-control principle.
You do not need to use Assistant Coach to use this exporter.
If The One Command Does Not Work
Try running the same command once more. If it still fails, email [email protected] and include a screenshot or copy of the last few lines shown in Terminal.
Common things that can happen:
- Your laptop asks for permission to install helper software. Approve it.
- Codex asks you to sign in. Sign in with your ChatGPT account and continue.
- Trainerize asks for a captcha, email code, or other security check. Complete it yourself in the browser.
- The export finishes with warnings. Read the summary first. Some warnings may simply mean photos, videos, or unsupported items were not included.
Use this only if the one-command setup does not work.
- Install the helper software if the setup says it is missing. Its technical name is Node.js, and it includes the installer tool used by this exporter.
Mac:
open https://nodejs.org/en/download- Install Codex:
npm install -g @openai/codex- Install the Trainerize export tool:
npx --yes @assistantcoach/trainerize-exporter- Open Codex:
codex- Paste this message into Codex:
Use the Trainerize export skill to export my Trainerize coaching data into a local coaching data package.
Please treat me like a busy nontechnical fitness coach. Keep every instruction simple, friendly, and practical. Do not ask me to type messages in Terminal unless there is no other option.
Open the Trainerize browser window and wait while I log in. Check the browser every 30 seconds to see whether I am logged in instead of asking me to tell you. If Trainerize asks for a captcha, code, payment/security check, or anything only I can complete, explain simply what I should do in the browser and then keep checking again.
Keep reassuring me throughout the run that my data is staying on this laptop. Nothing is being uploaded by this tool, nothing is leaving this laptop unless I approve it, and the export ZIP will be saved locally. Do not include passwords, cookies, payment details, browser secrets, Trainerize built-in exercise libraries, or Trainerize-owned template libraries in the export. Do not bypass captchas, payment screens, or security checks.
While the export is running, keep giving short friendly progress updates in Terminal. Translate what is happening into simple messages like "Exporting clients", "Exporting workout plans", "Exporting meal plans", and "Exporting check-ins" so I know work is still happening.
When the export is done, open the main exported coaching data JSON file using whatever app is already installed on this laptop. Then inspect the generated export summary and coaching data package. Tell me, in plain English, what was exported and how complete it looks: clients, form templates, submitted forms, check-ins, meal plans, workout plans, workout sessions, and prescribed exercises. Give counts when available. If some data was not included, explain that simply. Tell me where the ZIP file was saved and what to do next. Do not focus on validation reports, run logs, redacted logs, browser files, or internal folders unless something goes wrong.