GithubHelp home page GithubHelp logo

eliranwong / uniquebible Goto Github PK

View Code? Open in Web Editor NEW
126.0 12.0 34.0 529.6 MB

A cross-platform bible application, integrated with high-quality resources and amazing features, running offline in Windows, macOS and Linux, ChromeOS, Android, iOS. Various running modes are supported.

Home Page: https://UniqueBible.app

License: GNU General Public License v3.0

Python 81.25% CSS 1.53% JavaScript 16.80% Shell 0.01% VBScript 0.01% HTML 0.40%
unique bible marvel-bible hebrew greek septuagint lxx offline interlinear morphology

uniquebible's Introduction

New - Study the Bible with ChatGPT

Read more at https://github.com/eliranwong/UniqueBible/wiki/Bible-Chat-with-ChatGPT-API

UniqueBible

A cross-platform & offline bible application, integrated with high-quality resources and unique features.

This single project has two major interfaces:

Qt-based Multi-Window Desktop Application:

Tested in: Windows 10, Windows WSL2, macOS [Sierra+] and Linux (Arch, Debian, Ubuntu & Mint), Chrome OS (Debian 10), Webtops, Android / iOS

Unique Bible App can runs in different modes, both online and offline, for examples:

GUI mode - we use popular Qt library to run UBA on Windows, macOS, Linux, ChromeOS

Http-server - e.g. https://bible.gospelchurch.uk

Terminal mode - the quickest way to run UBA; the most comprehensive in terms of feature coverage; all platforms supported; local or via ssh

other modes ...

Development Team

Eliran Wong (https://github.com/eliranwong)

Oliver Tseng (https://github.com/otseng)

Program Interface Translators

Screenshot:

Screenshot 2022-02-18 at 19 09 09

Quick Start

('git' and 'python 3.7+' are required)

To download and set up Unique Bible app, run:

git clone https://github.com/eliranwong/UniqueBible.git

cd UniqueBible

python3 uba.py

Setup or Installation

Read our recommendations first at: https://github.com/eliranwong/UniqueBible/wiki/Recommendations-for-Different-Platforms

You can simply download & run UBA if you have python in place, read our examples at:

https://github.com/eliranwong/UniqueBible/wiki/Installation

Features, instructions and how-tos

Wiki

Help, discussion and support

Discussions

Feature requests, issues and bug reporting

Issues

Donations:

Please consider a donation via our PayPal account: https://www.paypal.me/MarvelBible

uniquebible's People

Contributors

dependabot[bot] avatar eliranwong avatar otseng avatar panquesito7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uniquebible's Issues

Error on new SBLGNTl

Select Acts 17:28 in SBLGNTl. Single-click a word and get message "Entered command is invalid!"

Hovering on bible references in bible notes does not work

An issue reported by a user and confirmed:

Hovering on bible references in bible notes does not work.

Clarification: Currently, only clicking on those links changes the main window, but hovering over them does nothing. It would be nice if hovering on those links shows bible text on instant window at the bottom.

bible_notes_display_mode_hovering_not_working

Importing bible issue

I just imported a bible with words of Jesus(<J>) and for words that are not in with (<i>).
After importing some words of Jesus won't appear in red. May be because the code generated makes <woj> inside <i>.
Like this
<i><woj>It is</i> not what enters the mouth <i>that</i> defiles the person, but what comes out of the mouth, this defiles the person.โ€</woj>
this looks like
image

Need advice on chapter title

Hi,
In the book of Psalms i want to add the title in my own language. So I created a table named title added the values just like titles in bibles.sqlite. I wanted to add because the title comes in with the verse like in the bottom image.
image
But its not showing up in the app.
image
I tried to distinguish it with Bold. It doesn't look good.
Is it overwriting by the default title? Or is it because the value title not calling from the app?
If I added the titles in bibles.sqlite that's going to come in all Bible version. Is there a way to view in only one version?
I don't want you to change anything in the app for this. I wanted to know whether I can do anything to fix this. It's ok even if there is no way. Thanks.

input method breaks on Chrome OS, Debian 10, wayland

It is found that input method fcitx breaks on Chrome OS, Debian 10, wayland. The mainwindow closes and reopen unexpectedly. This is probably due to a bug in the wayland compositor Chrome OS uses, as indicated by the error message poping up at launch:

qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "202B" This is most likely a bug in the compositor.

I will try to find a workaround for it.

Add macros

One powerful feature of UBA is it can run commands. So, it should be easy to add macro commands.

A macros directory would contain files that has commands in it. Select the file from the menu and it will run all the commands in that file.

For example, a file can contain and it would open up all the verses:
John 1:1, Acts 1:1, Rev 1:1

Can also directly run methods in MainWindow, like:
rightHalfScreenWidth

Can enhance macros functionality later such as setting configurations, macro logic (if statements), etc.

need to fix exbl database

need to fix exbl "index" database in Ruth 2:6 and other verses that has similar problems. search for '../maps/BL796.html' to locate those verses

i can use "Brown-driver-Briggs Hebrew-english Lexicon"

hi~ first all thank you for your great bible program ^^

i can use "Brown-driver-Briggs Hebrew-english Lexicon" and
i can see cmd "sqlite3.PoearationalError: no such table : BDB"

how can i do ??

thank you
God bless you

add option to use remote control for command line entry

I will add a config option to allow users to choose remote control to be opened automatically when a command line is entered programatically into main window command line field.

This may be a welcome feature to those who like remote control.

In addition, on Chrome OS Linux wayland compositor has an issue that causing UBA to close and reopen unexpectedly when users enter command in main window's command line field. We had already reported the issue at: #68 . Therefore, entering command in main window's command line field would be very annoying to users for some of Chrome OS users ("some" because UBA in older Chrome OS version does not have this issue). It would be nice if Chrome OS users has an option to use remote control to enter command instead. If the feature above is added, users simply need to complete the command line without typing the prefix.

Commentary tab names

Hi brother,
Just wanted to share a suggestion.
When opening multiple commentaries the tab won't display the name of author. Like this
image
can you add names as tab names. Like Com:Barnes or Com:Gill.
I added Com: With it to make know us it's a commentary. If you can add different color or icons to tabs that would be nice too. Like one color for book and another for commentary.
What do you think ?

Something goes wrong with new parser update

@otseng I merged your new PR #60

The new codes no longer give proper results for displaying multiple verses.
Could you help check what is the problem?
The following examples work in previous version, you may use them to check. Thanks.

Jn 3:16, Rm 5:8
BIBLE:::KJV:::Jn 3:16, Rm 5:8
randometext abc Jn 3:16, randometext abc Rm 5:8 randometext abc
BIBLE:::KJV:::randometext abc Jn 3:16, randometext abc Rm 5:8 randometext abc

All the examples above previously gives display of John 3:16 and Romans 5:8

feature enhancement: regular expression

Regular expression is now supported in mobile and hybrid version for searching bibles, but not in desktop version.

I think I will add support of regular expression to desktop version, in addition to AND combination, OR combination and custom SQL.

This may make searching words in order easier even custom SQL can do it as an alternative for now.

This issue is created to remind myself for doing that later.

Import theWord modules

Could we have feature to import modules from theWord as we do with e-Sword and MySword.

Speed improvement

Improve speed by having a faster verse reference to BCV conversion.

Compare view issue

Hey brother,
I don't know whether it's a bug. When I click on verse number in compare view it's going to normal one Bible version view. Did you mean to make it that way?
Problem is when I want a commentary on one verse, I would click the verse. That's when the compare view disappears.
image
If I click verse 12 the view will be
image

"Plain" Bibles not working after upgrade to 20.4

I just upgraded from 18.5 to 20.4 on Ubuntu Linux 18.04.

After the upgrade and on the first restart, I see duplicate links for LXX, OHGB, and OHGBi, but everything otherwise works as expected.

After the second restart, I get the "Some of your files are old. We are helping you to upgrade..." dialog.

After that and subsequent restarts, I see duplicate links, but clicking on them doesn't give me book names. Other Bibles work as expected.

The marvelData/bibles directory now has files for each of the three nonworking Bibles that weren't there before. I assume this is expected and that's what the dialog was telling me was being done. If I change the function "getPlainBibleList" at lines 46-47 of BiblesSqlite.py, I can restore functionality.

Original:
def getPlainBibleList(self): return ["OHGB", "OHGBi", "LXX"]

Update:
def getPlainBibleList(self): return [ ]

After that, I see one link for each Bible and they work as expected.

gdown function needs a fix

File an issue here as a reminder.

Thanks to John Tusciuk for reporting the following issue:

As a heads-up, as of a few days ago, the Python function gdown.download() now requires a proxy parameter. To get the current UniqueBible.app desktop version to download files correctly, I had to change gui.py so that:

gdown.download(self.cloudFile, self.localFile, quiet=True)

reads

gdown.download(self.cloudFile, self.localFile, quiet=True, proxy=None)

Feature Suggestions

Hello brother,
Do you have plan to add a feature to highlight verses with different colors and underlining?
It would be nice.

  • highlighting / underline
  • bookmark

error when searching a bible

After compared with backup codes, I think the function "textCountSearch" was accidently modified in one of recent commits. I will fix it.

error encountered is recorded below:

Original exception was:
Traceback (most recent call last):
File "/home/eliranwong/UniqueBible-master/gui/MainWindow.py", line 1951, in textCommandEntered
self.runTextCommand(newTextCommand, True, source)
File "/home/eliranwong/UniqueBible-master/gui/MainWindow.py", line 1973, in runTextCommand
view, content, dict = self.textCommandParser.parser(textCommand, source)
File "/home/eliranwong/UniqueBible-master/TextCommandParser.py", line 480, in parser
return interpreters[keyword](command, source)
File "/home/eliranwong/UniqueBible-master/TextCommandParser.py", line 1425, in textCountSearch
return self.textCount(command, config.addFavouriteToMultiRef, {})
TypeError: textCount() takes 3 positional arguments but 4 were given

Additional macro functionality

Add feature to run a macro on startup.
Add feature to save current command to a macro.
Add feature to save all highlights to a macro.

Allow users to select color for bookmark highlights 1 & 2

At the moment, we have a feature to bookmark verses with two fixed highlight colors 1 & 2.

I like @otseng 's idea that we keep the current settings of hl1 and hl2 on desktop version but also allow users to select colors for two different sets of highlights.

I implement this idea on hybrid version that I am currently working on, below is a screenshot:

combined_screenshot1_highlight_color

On desktop version, we may allow users to choose their own colors in two ways:

  1. allow users to input their favourite colors in file config.py (I think this one is easy to do)
  2. add a color picker gui

@otseng what do you think

this is nice to have, but really optional.

btw, the hybrid version will use the same highlihting database format as the desktop one, so users can sync the highlihtings across devices or versions.

Back up

Hello sir,
Thank you for the Unique bible in the name of Jesus. And Merry Christmas.
I'm new to this, and I'd love to know how to backup the files. Like notes of verses. I have no idea where are those files.
And it would be nice to see a back up option inside the app or syncing.
I would like to know if there is a bookmark option. Or did I miss it? Is there any tutorial videos of this app in YouTube ?
Thanks in advance

Allow multiple menu layouts

Add ability to select from multiple menu layouts. I want a menu layout with my own menu items and shortcuts and also change the buttons on the side bars. Should have the ability to switch between the classic and custom menu layout. Should support the ability to add more menu layouts easily.

Feature Suggestions

  • added support for important MySword book modules
  • a gui for users to add tabs

Red letters

Brother can you guide me how to add red letters to Jesus words to my language Bible version. Is it possible for me?
May be I Can add it to other versions too.
I found this app to edit wrong wordings and spaces from my Sqllite3 bible book. DB Browser for SQLlite.
I don't know how to give color.
When I edited .bible files there was no change. So I edited Sqllite3 file then will import again.

wrong verses are hightlighted in formatted style reading

Hello @otseng , I noted an issue for current highlighting feature.

In simple style mode, I highlighted John 3:16 and John 3:17, but in formatted style mode, John 3:1 and John 3:2 are highlighted instead of John 3:16 and John 3:17.

Please see the screenshot below, thanks:

bug_highlight

need to improve notes "edit" button

Currently, "edit" button on chapter / verse notes open the notes on the last opened passage. Changes should be made to allow users to open the notes of the original passages.

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.