Read and listen to The Noble Quran from your browser
Find a file
2023-12-04 07:56:43 -03:00
.bundle
.github
.husky Further UI improvements 2023-10-30 02:34:35 -03:00
nanoc Add /durations/ 2023-11-28 15:13:32 -03:00
packages Add option to provide 'RequestInit' to items that use fetch 2023-10-08 06:31:29 -03:00
src Fix language dropdown alignment on iOS 2023-12-04 07:56:43 -03:00
tasks Fix deadlock 2023-11-28 12:46:14 -03:00
.babelrc
.editorconfig
.env.sample
.eslintrc.js
.gitignore
.gitmodules
.prettierignore
.prettierrc Abide by 80col limit 2023-10-28 12:14:40 -03:00
.projectile Add AudioControl 2023-10-13 00:37:16 -03:00
.rubocop.yml
Gemfile Add lock to avoid builds running in parallel 2023-11-27 18:16:03 -03:00
Gemfile.lock Add lock to avoid builds running in parallel 2023-11-27 18:16:03 -03:00
LICENSE
nanoc.yaml
package-lock.json Add 'url' to package.json 2023-10-13 00:37:16 -03:00
package.json Add 'url' to package.json 2023-10-13 00:37:16 -03:00
Rakefile.rb
README.md favicon.png has changed 2023-11-12 18:37:31 -03:00
Rules Replace filters/tidy.rb with nanoc-tidy.rb (rubygem) 2023-11-07 01:59:45 -03:00
tsconfig.json
VERSION v0.7.6 2023-12-04 05:28:36 -03:00
webpack.config.js

About

This repository contains the source code of al-quran.reflectslight.io, a static website for reading (and listening to) The Noble Quran. After the website is built, the build directory consists of HTML, CSS, JavaScript and other static assets that can be hosted by a regular web server (eg nginx, apache, etc).

Stack

The following languages and tools have to be installed before the website can be built:

  • Ruby 3.1, or later.
  • NodeJS v18.15, or later.
  • tidy-html5
    There is a good chance there's a package available for tidy-html5 on your operating system of choice.

Local development

1. Clone

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

2. Install Ruby, NodeJS packages

bundle install
npm i

3. Build website

# Build once
rake build

# Build whenever a change is detected
rake build:watch

4. Start server on localhost

rake server

Thanks

First and foremost, Alhamdulillah.

  • Thanks to the following graphic artists:

  • Thanks to the following translators:

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