DSpeckhals / bible.rs

A Bible server written in Rust using Actix Web and Diesel
https://bible.rs
MIT License
221 stars 24 forks source link

Other translations #66

Open dcxSt opened 1 year ago

dcxSt commented 1 year ago

Is it possible to have several other translations? For instance, the good news bible.

DSpeckhals commented 1 year ago

Yes it's possible, but it would take time to implement. I recently made changes that took out the hard-coding for Bible books based on the KJV, which should make it easier for others. The hardest part is getting a translation into the right format, populating the search index, and distributing it. Pull requests are welcome.

dcxSt commented 1 year ago

I'm taking a look at it, it might take a little while cause I'm busy and kindof a noob

dcxSt commented 1 year ago

I'm unable to run the Docker container for Bible.rs. Building with docker build -t biblers . works fine, but when I try to run it with docker run -p 8080:8080 --rm -it biblers I get this error.

Screen Shot 2023-01-27 at 10 12 05 PM

I'm using a mac. I've tried downloading sqlite and sqlite-utils but that didn't help. There's also a Stack Overflow post resembling this error, but I don't understand the solution... (I haven't used docker before)

DSpeckhals commented 1 year ago

Are you running an ARM based Mac (M1/M2)? If so, that could be an issue with the shared library. I don't have a Mac to test with.

dcxSt commented 1 year ago

Yes, I'm running on an M1 machine. I'm going to try troubleshooting, I'll let you know if I have any success

passionate2023 commented 1 year ago

I'm facing issues with both windows and mac as well. Please help me with the steps. I have my own bible to feed the data. as well as own sermons to create another one to feed the data and build it

DSpeckhals commented 1 year ago

@passionate2023 I don't have a Windows machine or ARM-based Mac to test on. If you have the specific error message, I might be able to point you in the right direction.

passionate2023 commented 1 year ago

I recommend to carry out the testing via Virtual box and it easy to get the steps

  1. https://www.youtube.com/watch?v=huIKDwdR5vw&ab_channel=Benjamin%27sTech
  2. https://www.youtube.com/watch?v=1BOcED3RFGM&ab_channel=TopNotchProgrammer
  3. https://www.youtube.com/watch?v=J-S_TvtIm5Y&ab_channel=ProgrammingKnowledge
DSpeckhals commented 1 year ago

Thanks, I'm aware of virtual machines. My development system is x86 Arch Linux, and I don't have the bandwidth to support Docker installations on non-Linux operating systems. If you give me the steps you took and the exact error message, though, I might be able to help.

passionate2023 commented 5 months ago

Can you please add one more page for tamil bible search ?

mangoose20026 commented 1 month ago

Wow...Tamil Bible search is available ? where i can find the tamil bible search link? Please share.

tallmtt commented 3 days ago

What would be needed for a different translation?

DSpeckhals commented 2 days ago

The way I did it for the existing database were JSON files mentioned in the README, which I then converted to SQLite insert statements. Those are run as part of the application runtime setup.

If you are able to generate all the inserts similar to how I did the English KJV, you can create your own database file with whatever translation you desire.