Static website for reading / listening to The Noble Quran
Find a file
2023-03-29 20:10:49 -03:00
.github Try to fix GitHub build 2023-03-21 03:36:29 -03:00
bin Add local install instructions (work in progress) 2023-03-29 20:10:49 -03:00
config Replace Tasks::Deploy::Remote 2023-03-25 08:53:22 -03:00
lib Remove lib/tasks.rb 2023-03-25 08:58:31 -03:00
rules nanoc-webpack: upgrade to v0.2.0 2023-03-27 12:23:20 -03:00
src Add src/time_slots/ (replaces src/audio/*/timestamps.json) 2023-03-29 12:20:31 -03:00
tasks Replace Tasks::Deploy::Remote 2023-03-25 08:53:22 -03:00
tasks.lib Add rc.conf / pf configuration 2023-03-16 23:11:30 -03:00
.babelrc add TypeScript / React related configuration files 2022-10-31 15:35:43 -03:00
.editorconfig .editorconfig: update 2023-03-17 00:16:43 -03:00
.env.sample Fix GitHub build 2023-03-10 06:13:49 -03:00
.eslintrc.js Add a simpler, more organized i18n.ts implementation 2023-03-11 08:35:49 -03:00
.gitignore Add src/time_slots/ (replaces src/audio/*/timestamps.json) 2023-03-29 12:20:31 -03:00
.gitmodules add ruby-related files 2022-10-31 15:36:25 -03:00
.prettierignore eslint & prettier setup 2022-11-11 16:09:33 -03:00
.prettierrc eslint & prettier setup 2022-11-11 16:09:33 -03:00
.projectile Update .projectile 2023-03-10 09:21:54 -03:00
.rubocop.yml Replace Tasks::Deploy::Local 2023-03-25 08:02:55 -03:00
Gemfile nanoc-webpack: upgrade to v0.2.0 2023-03-27 12:23:20 -03:00
Gemfile.lock nanoc-webpack: upgrade to v0.2.0 2023-03-27 12:23:20 -03:00
LICENSE License = GPL 2023-03-11 11:42:30 -03:00
nanoc.yaml Create logs, and destination directories on deploy 2023-02-14 18:09:41 -03:00
package-lock.json add "WebPackage" 2022-11-18 17:09:32 -03:00
package.json Scope eslint NPM scripts to src/js/ 2023-01-05 00:15:45 -03:00
Rakefile.rb Remove dead require 2023-03-25 08:56:46 -03:00
README.md Add local install instructions (work in progress) 2023-03-29 20:10:49 -03:00
Rules rubocop'ing 2023-03-12 16:50:19 -03:00
tsconfig.json Turn on strict mode in tsconfig.json 2023-03-11 08:04:18 -03:00
VERSION v0.3.1 2023-03-17 00:18:21 -03:00
webpack.config.js deploy: minify JS assets on production 2022-11-10 19:03:51 -03:00

https://al-quran.reflectslight.io

This git repository contains the source code of a statically compiled website for reading The Quran. After the website is compiled, it consists of HTML, CSS, JavaScript and other static assets that can be hosted on a regular web server. The repository is optimized for nginx, and (Free|Open)BSD as a deployment target. The source code is a mixture of Ruby, TypeScript, and JavaScript with React being the driving force on the frontend.

Open Source

The source code is released under the terms of the GNU Public License (GPL). No restrictions are placed on the right to modify, copy, redistribute or host the website on a web server / domain of your own as long as it is done in accordance with the GPL. See LICENSE for a copy of the license, and see TLDRLegal for a short summary of the GPL.

Local install

Clone repository

git clone https://github.com/ReflectsLight/al-quran.git
cd al-quran

Run dependency check

The bin/run-dependency-check script will check that the required dependencies are available: Ruby, NodeJS, nginx, et cetera.

$ ./bin/run-dependency-check

Assuming it was a success:

found: ruby
found: bundle
found: node
found: npm
found: nginx
found: doas

Otherwise, the dependencies that are missing will be listed. All dependencies should be found before proceeding to the next step.

Credits

Credit is due to a number of graphic artists whose work is used by this project, and with thanks I credit the following graphic files to their respective authors:

Credit is due to the people who translated The Quran from Arabic to other languages, and with thanks I credit the following translations to their respective authors:

  • English (The Clear Quran) by Dr. Mustafa Khattab