5a2d637644
Add Quran::JSON namespace
2023-02-13 08:09:00 -03:00
313420b653
Dynamically map locale to libexec script
...
When given a locale, the "bin/quran-json" script will automatically
map it to the appropriate libexec script based on the contents of
"share/quran-json/data/sources.json".
2023-02-12 12:44:33 -03:00
50229ec4ca
Add French
2023-02-11 20:57:46 -03:00
3ecad95fe9
Add Dutch
2023-02-09 12:30:47 -03:00
959c7fc57c
Fix typo in bin/quran-json
2023-02-09 01:46:30 -03:00
078a0ae47f
Remove bin/json/*
...
Remove remnants leftover from the The Great Rewrite
2023-02-09 01:34:57 -03:00
e0eb0a5ac8
The Great Rename
...
Rename the project to quran-json
2023-02-09 01:34:57 -03:00
2d9a22ea8f
The great rewrite
...
The project's directory structure has been changed to be similar
to how FreeBSD organizes its filesystem. The english, portuguese,
and farsi translations are now sourced from https://quran.com . The
original Arabic is still sourced from searchtruth.com. Files
have been removed, and / or replaced. The SQL-related files have
been removed, with the intention to separate them into a new project
in the future (quran-sql). The lessons learnt from the development of
quran-audio were an inspiration for this change.
2023-02-08 16:14:48 -03:00
1dfe6ead25
Replace require_relative with require
2023-02-04 17:15:47 -03:00
ad34160215
Add io-line.rb gem
...
Replaces binlib/io/line
2023-02-04 16:13:55 -03:00
b03f2d2236
Correct typo's in the Arabic text
...
Native Arabic speakers from Saudi Arabia pointed out typo's that
existed in Al-Fatihah - where \u627 was missing in some cases. The
source has been changed to searchtruth.com, and at a glance it appears
to have corrected the typo's.
2022-12-26 02:52:16 -03:00
d5a707e8a3
binlib/sql: add SQL::Template
2022-10-06 20:07:43 -03:00
f0f0483af8
binlib/sql: namespace SQL-related classes, and modules.
2022-10-06 20:07:43 -03:00
8833e1c9a8
bin/json: call ./bin/json/insert-chapter-metadata from pull-* scripts.
2022-10-06 20:07:43 -03:00
e79b3bc3e1
bin/json: add bin/json/insert-chapter-metadata
2022-10-06 20:07:43 -03:00
827710107d
bin/json: pull-chapters-data -> pull-chapter-metadata
2022-10-06 20:07:43 -03:00
820111e249
insert-chapters-data: wip.
2022-09-30 15:44:47 -03:00
fb38880cbc
sql/: update seed.sql.erb, and create-sql-seed-file.
2022-09-02 15:45:24 -03:00
9c0aeb5ace
bin/json/pull-chapters-data: tweak.
2022-06-10 21:24:53 -03:00
5dd6efa3d6
add bin/json/pull-chapters-data
2022-06-09 02:26:26 -03:00
f211596f99
create src directory when it doesn't already exist.
2022-07-17 17:03:54 -03:00
1f4e3e71e1
switch to bundler
2022-07-17 16:58:34 -03:00
de5f05e1a4
bin/json/: use Process.setproctitle
2022-07-17 16:52:19 -03:00
6f44b12410
improve the pull-farsi, and pull-portuguese scripts
2022-07-17 16:37:36 -03:00
a077db4b7f
bin/sql/create-sql-seed-file: improve
2022-07-16 17:23:16 -03:00
2c521b6d70
rubocop-ify
2022-07-16 16:19:50 -03:00
ddac69f0a8
pull-english: small tweak.
2022-07-16 16:13:25 -03:00
d9eb895c1f
pull-english: improve
2022-07-15 18:14:34 -03:00
a81a7b0df7
pull-arabic: add parenthesis
2022-07-15 14:35:44 -03:00
b3d2ef312b
pull-arabic: improve
2022-07-15 14:25:14 -03:00
ae1647509a
pull-english: tweaks.
2022-07-14 22:31:01 -03:00
962c15f706
Line -> IO::Line
2022-07-14 22:15:38 -03:00
43939c669b
pull-english: small tweaks.
2022-07-14 22:02:29 -03:00
8c283e23ee
pull-english: rewrite with the help of bindata/chapters-length.json
2022-07-14 21:55:10 -03:00
01d50354e5
rm bin/generate-chapters-length
...
it was a one-off script.. with "bindata/chapters-length.json" in the
repository we don't need it anymore.
2022-07-13 22:15:40 -03:00
d2c1c9d7b9
organize bin/
2022-07-13 20:14:19 -03:00
67c6e111d0
bin/ - improve pull-english
2022-07-13 20:05:32 -03:00
3b77e56b84
add bin/generate-chapters-length
2022-07-13 20:05:25 -03:00
2909ac5a53
s/arab_path/src_path/g
2022-07-12 16:16:08 -03:00
d1512bfc3a
Add src/sql/
...
The src/sql/ directory contains SQL files for creating a SQL database
containing The Qur'an in four languages: Arabic, English, Portuguese,
and Farsi.
2022-07-11 16:42:55 -03:00
3b12c63be7
add bin/pull-portuguese, src/portuguese
2022-06-18 19:14:02 -03:00
0572ebddd7
add bin/pull-farsi, src/farsi/
2022-06-17 05:37:57 -03:00
24113c0659
add docs to bin/ scripts.
2022-04-26 16:09:54 -03:00
b8bebb30c6
expand paths
2022-04-26 15:32:12 -03:00
9263c5366a
standardrb: fix.
2022-04-26 15:26:17 -03:00
39a37b6887
add bin/
2022-04-26 10:55:35 -03:00