Static website for reading / listening to The Noble Quran
Find a file
2024-02-28 19:41:48 -03:00
.bundle Update .bundle/config 2024-02-01 06:41:18 -03:00
.github Add Nanoc::Filters::Tidy 2023-10-07 19:29:52 -03:00
.husky Further UI improvements 2023-10-30 02:34:35 -03:00
bin Update bin/build-favicons 2024-02-26 17:19:27 -03:00
nanoc Set surah_name within opengraph.rb 2024-02-26 18:20:38 -03:00
packages Remove .gitmodules 2024-02-24 22:03:27 -03:00
src Rewrite SurahStream.tsx with tail.css 2024-02-28 19:41:48 -03:00
tasks rm tmp/ in 'nanoc:clean' 2024-02-23 22:38:50 -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 Disable conflicting eslint rules 2023-07-13 14:11:07 -03:00
.gitignore Update gitignore 2024-02-01 07:20:52 -03:00
.prettierignore eslint & prettier setup 2022-11-11 16:09:33 -03:00
.prettierrc Abide by 80col limit 2023-10-28 12:14:40 -03:00
.projectile Ignore /.gems/ 2024-02-25 11:49:12 -03:00
.rubocop.yml rubocop: add linter.rake 2023-07-25 14:19:00 -03:00
Gemfile No longer neccessary to prefix rake with bundle exec 2024-02-23 19:01:12 -03:00
Gemfile.lock Gemfile: upgrade to nanoc-tidy.rb v0.4.0 2024-02-26 20:03:42 -03:00
LICENSE License = GPL 2023-03-11 11:42:30 -03:00
nanoc.yaml Move "lib/" to "nanoc/lib/" 2023-07-21 13:26:26 -03:00
package-lock.json Add per-env webpack configuration files 2024-02-18 09:26:04 -03:00
package.json Add per-env webpack configuration files 2024-02-18 09:26:04 -03:00
Rakefile.rb Fix "rake server" 2023-07-27 11:34:15 -03:00
README.md favicon.png has changed 2023-11-20 16:20:53 -03:00
Rules Set -upper => true (tidy-html5) 2024-02-25 13:04:45 -03:00
tsconfig.json WebPackage -> Packet 2023-06-21 19:58:31 -03:00
VERSION v0.7.11 2024-02-25 11:49:26 -03:00
webpack.common.js Add per-env webpack configuration files 2024-02-18 09:26:04 -03:00
webpack.development.js Add per-env webpack configuration files 2024-02-18 09:26:04 -03:00
webpack.production.js Add per-env webpack configuration files 2024-02-18 09:26:04 -03:00

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