💾 Archived View for gemini.zachdecook.com › usfm2gmi captured on 2023-11-04 at 11:25:52. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

Unified Standard Format Markers to Gemtext

This project converts usfm, used by bible translators, into gemtext, for your reading pleasure.

Usage

# Convert Romans from the Open English Bible into a local gemtext file
curl https://raw.githubusercontent.com/openenglishbible/Open-English-Bible/master/artifacts/us-release/usfm/45-Romans.usfm | ./usfm2gmi.py > romans-oeb.gmi

# View an outline to the book of Matthew
wget https://github.com/openenglishbible/Open-English-Bible/raw/master/artifacts/us-release/usfm/40-Matthew.usfm
grep '\\\\s' 40-Matthew.usfm | ./usfm2gmi.py
# View paragraphs with a footnote, highlighted
./usfm2gmi.py < 40-Matthew.usfm | grep '\[.*\]'

Links

Licensed under AGPLv3

View source code

Read the USFM documentation