/bible-tsv-generator

A sweet generator that generate tsv formated bible for command use

Primary LanguageHTMLMIT LicenseMIT

bible-tsv-generator

(Version V2.0.0)

Intro

Mining a new Chinese Version Bible (cns/cnt/cut/cus) for readers that would like to read bible in command line. There is a very cool software kjv available to helping people access Bible in CLI. As a chinese I'd like to back the chinese verson for this software. So here it is!

DoD

This software should allow user select its wished chinese bible version, then read targeted resources from internet and format the content and write'em down into tsv format which can be used for the sweet CLI software: KJV.

Useage

  1. Get this Repo & isntall dependencies:
mkdir -p ~/workspace/
cd $_
git clone https://github.com/Gfast2/bible-tsv-generator.git
npm i
  1. Run this software to select and generate chinese bible:
npm start

Build / Develop how-to

Since there is a GUI layer in this software from Version 2.0.0, I suggest you edite index.ts before you start the actual development. Because the following dev mode leverage nodemon to dealing with ts->js transcompiling & hot reloading automatically , which make it hard to generate GUI operation manually . But a issue showing me how to is welcomed.

Start hot reload dev mode

npm run dev

Build Project

npm run build

If everything worked out well, under repo's root directory, the new created book *.tsv is the one you just created. Cheers, enjoy IT!

Warning

The link for fetch all chinese and english book names are working very unstable. And it may caused by the server side certification implementaions. Please retry if failed. I'm considering to find somewhere else to fetch these information.

License

MIT