openscriptures / morphhb

Open Scriptures Hebrew Bible
https://hb.openscriptures.org
Other
178 stars 63 forks source link

Attach JSON and USFM Files to Release #60

Open jag3773 opened 5 years ago

jag3773 commented 5 years ago

Especially for the 2.1 release coming up it would be good if we could attach downloadable assets for JSON and USFM representations of the OSIS files.

john916zhang commented 4 years ago

+1

jag3773 commented 4 years ago

@anderson916 which are you looking for JSON or USFM?

john916zhang commented 4 years ago

@jag3773 JSON.

jag3773 commented 4 years ago

@anderson916 Although there is not a direct attached JSON blob there is an NPM package that provides the data as JSON here: https://www.npmjs.com/package/morphhb .

theJoshMuller commented 4 years ago

Successfully running the script to compile JSON in the NPM package requires a bunch of undocumented dependencies and an out of date version of Perl.

It would be much preferable to have it pre-compiled in the repo.

...or at the very least, if we are depending on an NPM package, to have the script able to run out-of-the-box somehow (either by updating the script so it can run with current versions of perl, or some other solution.)

john916zhang commented 3 years ago

I have ported the perl script to python3 and made a pull request. Python should be much easier to use for most of the people.

theJoshMuller commented 3 years ago

@john916zhang Amazing! thank you!