Skip to content

doctorfill-dev/TCP-report-generator

Repository files navigation

DoctorFill

TCP Report Generator

Transform raw XML stress test data into professional DOCX reports — entirely in your browser.

Version License React Vite Privacy Deploy


Why TCP Report Generator?

Built for healthcare and sports science professionals, this tool converts metabolic stress test data into comprehensive Word documents. Part of the DoctorFill ecosystem — where patient data privacy is non-negotiable.

Everything runs locally. No servers. No uploads. No compromises.


Features

Privacy First All processing happens in your browser. Your data never leaves your machine.
XML → DOCX Drop your XML file, get a formatted Word document. That simple.
Smart Calculations Ventilatory thresholds (V1, V2), training zones — calculated automatically.
Visual Insights Clean VO₂ and Heart Rate charts that tell the story at a glance.
Flexible Zones 5-zone model for endurance sports, 3-zone for everything else.

How It Works

Upload your XML → Select your sport type → GenerateExport to DOCX

That's it.


Privacy

This tool follows a zero-transmission architecture. File parsing, data processing, and document generation all happen exclusively within your browser. No patient data is ever sent to any server.

The only exception is the optional feedback form, which uses Formspree to collect user suggestions.


Tech Stack

Built with modern, reliable tools:

React · Vite · Tailwind CSS · Recharts · Docxtemplater · PizZip · html2canvas


Getting Started

# Clone
git clone https://github.com/doctorfill-dev/TCP-report-generator.git
cd report-generator

# Install
npm install

# Configure (for feedback form)
echo 'VITE_FORMSPREE_ENDPOINT="<your-endpoint>"' > .env
echo 'VITE_RECAPTCHA_SITE_KEY="<your-key>"' >> .env

# Run
npm run dev

Open localhost:5173 and you're ready.


Contributing

Found a bug? Have an idea? Open an issue or submit a pull request.


License

MIT © DoctorFill

About

This project is a client-side web application built with React that automates the generation of physiological stress test reports.

Topics

Resources

License

Stars

Watchers

Forks

Contributors