Static website for reading / listening to The Noble Quran
Find a file
2023-06-26 06:18:18 -03:00
.github Try to fix GitHub build 2023-03-21 03:36:29 -03:00
bin Rename bin/ script 2023-05-27 15:41:59 -03:00
config Add localhost to local.yml.sample 2023-03-29 20:19:21 -03:00
lib Remove lib/tasks.rb 2023-03-25 08:58:31 -03:00
packages server: add "page not found" test 2023-06-26 06:18:18 -03:00
rules rubocop: fix 2023-05-28 22:28:15 -03:00
src Rename Packet to Postman (#131) 2023-06-23 22:31:25 -03:00
tasks Add packages/ruby/server/ (#132) 2023-06-25 21:03:07 -03:00
tasks.lib Add packages/ruby/server/ (#132) 2023-06-25 21:03:07 -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 new packet interface (#130) 2023-06-23 21:58:56 -03:00
.gitignore Rename Packet to Postman (#131) 2023-06-23 22:31:25 -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 Add OpenBSD to Gemfile.lock 2023-06-15 21:54:57 -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 Rename Packet to Postman (#131) 2023-06-23 22:31:25 -03:00
package.json WebPackage -> Packet 2023-06-21 19:58:31 -03:00
Rakefile.rb Add packages/ruby/server/ (#132) 2023-06-25 21:03:07 -03:00
README.md Add OpenBSD to Gemfile.lock 2023-06-15 21:54:57 -03:00
Rules rubocop'ing 2023-03-12 16:50:19 -03:00
tsconfig.json WebPackage -> Packet 2023-06-21 19:58:31 -03:00
VERSION v0.3.1 2023-03-17 00:18:21 -03:00
webpack.config.js WebPackage -> Packet 2023-06-21 19:58:31 -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

1. Clone repository

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

2. Check dependencies

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

$ ./bin/check-dependencies

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.

3. Install packages

At this step we're ready to install Ruby, and NodeJS packages:

$ npm install
$ bundle install --path=.bundle/

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