medref

Medical Reference Citation Docker Image

https://github.com/humbertovvaronafong/medref

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Medical Reference Citation Docker Image

Basic Info
  • Host: GitHub
  • Owner: humbertovvaronafong
  • License: cc0-1.0
  • Language: JavaScript
  • Default Branch: main
  • Size: 14.6 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation Authors

README.md

MedRef: Medical Reference Citation Docker Image

This Docker image provides a lightweight, web-based tool for generating formatted medical citations from DOIs. The interface allows users to paste or input a DOI, select a citation format, and obtain a properly styled reference in real time. It includes support for major citation styles used in medical and scientific publishing.

📦 How to Run the Container

This image can be executed in the following ways:

1. HTTP Mode

bash docker run -d --name test_medref -p 8080:80 humbertovvaronafong/medref

2. HTTPS with Automatic Certificates (Let's Encrypt)

bash docker run -d -p 8443:443 \ --name test_medref \ -e REDIRECT_TO_HTTPS=yes \ -e AUTOCERT=yes \ humbertovvaronafong/medref

3. HTTPS with Manual Certificates

bash docker run -d --name test_medref \ -e REDIRECT_TO_HTTPS=yes \ -p 8443:443 \ humbertovvaronafong/medref

4. Docker Compose Example

You can also use Docker Compose to manage the container:

yaml version: "3.8" services: medref: image: humbertovvaronafong/medref container_name: test_medref ports: - "8080:80" - "8443:443" environment: - REDIRECT_TO_HTTPS=yes - AUTOCERT=yes restart: unless-stopped

Start the service:

bash docker-compose up -d

🌐 Access in Browser

Use your browser to access the server:

HTTP Mode

http://192.168.1.4:8080/

HTTPS Mode

https://192.168.1.4:8443/

🩺 Health Check

Inspect container health:

bash docker inspect --format='{{json .State.Health}}' test_medref | jq

📃 Logs

To view logs:

bash docker logs test_medref


⚙️ Environment Variables

| Variable | Description | Default Value | | ------------------- | -------------------------------------------------------------- | ------------- | | TIMEZONE | Sets the container timezone | UTC | | REDIRECT_TO_HTTPS | Enables HTTP to HTTPS redirection (yes or no) | no | | AUTOCERT | Enables automatic HTTPS certificate generation (yes or no) | no |


🎓 Citation Features

The web app interface supports citation generation using the following formats:

  • AMA (American Medical Association)
  • APA (American Psychological Association)
  • ISO 690
  • Vancouver
  • MLA (Modern Language Association)
  • Harvard
  • ABNT (Associação Brasileira de Normas Técnicas)
  • Chicago Author-Date

These formats are selectable from a dropdown menu and automatically applied to the DOI input using citeproc-js.

Additional functionalities include:

  • DOI validation and formatting
  • Real-time citation output
  • BibTeX output block
  • Export and sort citation history
  • Clipboard integration (Paste and Copy)

🔗 Main repository


👤 Author

Humberto Vinlay Varona-Fong 📧 hvinlay.varona@gmail.com


🪪 License

This project is licensed under the Creative Commons Zero (CC0) license. You are free to use, modify, and distribute without restriction.

How to cite

Varona-Fong, H. V. (2025). MedRef: Medical Reference Citation Docker Image (1.0). Zenodo. https://doi.org/10.5281/zenodo.15399679

Owner

  • Login: humbertovvaronafong
  • Kind: user
  • Location: Santiago de Cuba
  • Company: Hospital Psiquiatrico Provincial Docente Gustavo Machin

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "MedRef: Medical Reference Citation Docker Image"
version: "1.0"
doi: "10.5281/zenodo.15399679"
date-released: 2025-04-19
authors:
  - family-names: Varona-Fong
    given-names: Humberto V.
    name: H. V. Varona-Fong
license: "CC0"
preferred-citation:
  type: software
  title: "MedRef: Medical Reference Citation Docker Image"
  version: "1.0"
  doi: "10.5281/zenodo.15399679"
  authors:
    - name: H. V. Varona-Fong
  publisher: "Zenodo"
  year: 2025

GitHub Events

Total
  • Watch event: 1
  • Push event: 3
  • Create event: 2
Last Year
  • Watch event: 1
  • Push event: 3
  • Create event: 2

Dependencies

Dockerfile docker
  • humbertovvaronafong/tiny-webserver 1.0 build