Coder Social home page Coder Social logo

freely-given-org / bible_side Goto Github PK

View Code? Open in Web Editor NEW

This project forked from correct-syntax/bible_side

0.0 0.0 0.0 5.68 MB

Offline Bible app inspired by Material 3

License: GNU General Public License v3.0

Kotlin 0.02% Dart 98.35% Python 1.64%

bible_side's Introduction

Bibleside

Bibleside is a simple, offline Bible app inspired by the Material 3 design system, featuring the OET.

The OET (Open English Translation) is a new, open-licensed Bible translation (currently in draft state) featuring multiple versions intended to be used together. Please see the OET website for more info on what makes it different than other translations.

Bibleside implements the OET's "Reader's" version in the main area and a toggle to show the "Literal" and "Reader's" versions side-by-side. The two can be scrolled together for easy comparison.

Features

  • Runs fully offline
  • Two reader areas that can be scrolled together, side-by-side.
  • Light and dark modes

Bible versions

Others?

Known issues/TODO

  • Bug: Scrolling between the two versions is synced too well? Since the Literal version is lengthier, verses can be in different locations or even off screen.
  • Some sections are missing or have misplaced starting points (fix in update_OET_sections.py)

Feedback/contributing

Feedback and contributions are welcome. To help out please open an issue.

Development

Bibleside is built with Flutter using Stacked Architecture.

  • Run flutter pub get to install the dependencies.
  • Choose an emulator or a connected device.
  • Hit F5 to run the code in the emulator, or open and terminal and run with flutter run.

Note on Bible versions

Bible versions are treated as separate Bibles. e.g: The OET-RV and OET-LV are treated as a separate bible version.

OET file conversion

There is a Python script in /assets/bibles that will automatically update the json files from the GitHub sources.

The ESFM files from here (OET Reader's version) and here (OET Literal version) are run through usfm-grammar in relaxed mode for conversion to JSON.

Navigate to /assets/bibles and run the file with python update_OET_json.py.

Updating the OET sections

After converting the OET ESFM to json, navigate to the folder with cd assets/bibles and run python update_OET_sections.py. This will generate two dart files mapping the OET sections for use in Bibleside. Move back to the root folder with cd ../.. and run dart format ./lib -l 120 to format the file.

License

Bibleside is licensed under the GPL-3.0 license. See LICENSE for more information.

bible_side's People

Contributors

correct-syntax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.