UpToCure is a platform designed to provide accessible information about rare diseases and medical research. It displays interactive medical research reports in multiple languages, making complex scientific information more accessible to the general public.
UpToCure/
├── frontend/ # Web interface files (HTML, CSS, JS)
├── reports/ # Markdown reports organized by language
│ ├── en/ # English reports
│ └── fr/ # French reports
├── src/ # Backend source code
│ ├── app.py # Flask application
│ └── parser.py # Markdown parsing logic
├── requirements.txt # Python dependencies
├── pyproject.toml # PDM project configuration
└── run.py # Main entry point to run the application
reports_generator/ # Tools for generating and translating reports
- Python 3.11 or later
- PDM (Python Dependency Manager) or pip
-
Clone the repository:
git clone https://github.com/yourusername/UpToCure.git cd UpToCure -
Install dependencies with PDM:
pdm install
-
Run the application:
pdm run run
-
For production deployment with Gunicorn:
pdm run serve
-
Access the application in your browser at
http://localhost:8000
Reports are stored as Markdown files in the reports directory, organized by language:
- Create a Markdown file in the appropriate language folder (e.g.,
reports/en/for English) - Follow the template structure available in sample reports
- The application will automatically detect and display new reports
The reports_generator directory contains tools for:
- Generating new reports from research papers using
reporter.py - Translating existing reports between languages using
translator.py - See
TRANSLATION.mdfor detailed instructions on translation workflows
- Built with vanilla JavaScript, HTML, and CSS for maximum accessibility
frontend/styles.css: Main stylesheetfrontend/script.js: JavaScript functionalityfrontend/localization.js: Translation strings and localization utilities
- Flask-based backend serving Markdown reports
src/app.py: Flask application defining routes and API endpointssrc/parser.py: Logic for parsing and processing Markdown reports
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, feel free to open an issue or contact me. All my contact information is available on my website.