STEPBible / BibleEngine

General purpose library for powering JavaScript Bible projects
44 stars 9 forks source link

Add mass SWORD-to-BibleEngine importer #186

Closed danbenn closed 3 years ago

danbenn commented 3 years ago

Why

The STEP Bible organization aims to empower people around the world to study the Bible and its original language content, for free, particularly in disadvantaged countries.

STEPBible.org fulfills this well, and supports about 492 different translations and over 60 languages via the SWORD library.

But the STEP Bible mobile app lags behind, currently supporting only two translations, ESV and CUV. It can't directly read SWORD modules, and instead relies on the brand new BibleEngine library (this repo!). In the past, fears of losing control over the quality of the text blocked efforts to convert STEP's SWORD modules to the mobile-friendly BibleEngine format.

Now that we have a good OSIS parser, we can do a mass migration of SWORD modules to the new BibleEngine format, to give the mobile app all the resources available on the desktop app.

What This Does

This MR is a major refactor that:

  1. creates an importer script that imports a selection of Bibles and lexicons, from Tyndale House
  2. refactors the OSIS parser into testable modules