Static website for reading / listening to The Noble Quran
Find a file
2024-09-14 06:19:41 -03:00
.bundle Update .bundle/config 2024-02-01 06:41:18 -03:00
.github Fix CI 2024-08-20 19:20:41 -03:00
bin Fix bin/setup on Linux 2024-08-27 10:15:03 -03:00
etc Fix (most) TypeScript errors 2024-08-31 00:29:19 -03:00
nanoc Replace React with preact 2024-08-30 10:16:42 -03:00
packages Inject vendor.js via loader 2024-08-30 14:07:23 -03:00
rake/tasks Replace React with preact 2024-08-30 10:16:42 -03:00
share/al-quran.reflectslight.io v0.9.1 2024-09-14 06:06:45 -03:00
src Fix render of _opengraph.html.erb 2024-09-14 05:55:14 -03:00
.editorconfig Update .editorconfig 2024-05-26 16:54:30 -03:00
.gitignore Add source/ to gitignore 2024-08-27 20:26:20 -03:00
.projectile Add Quran.locales 2024-05-15 21:51:04 -03:00
Gemfile Add "rake" to Gemfile 2024-08-16 18:04:18 -03:00
Gemfile.lock Update rexml 2024-08-23 05:48:52 -03:00
nanoc.yaml.sample audio1 => audio 2024-08-27 20:26:02 -03:00
package-lock.json Fix (most) TypeScript errors 2024-08-31 00:29:19 -03:00
package.json Fix (most) TypeScript errors 2024-08-31 00:29:19 -03:00
Rakefile.rb Fix typos 2024-06-22 00:13:26 -03:00
README.md Revert "Trigger build" 2024-08-27 20:45:54 -03:00
Rules Fix (most) TypeScript errors 2024-08-31 00:29:19 -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 web server such as nginx, apache, et cetera.

Requirements

The following languages and tools have to be installed to build the website from source:

  • Ruby 3.2 (or later)
  • NodeJS v18.15 (or later)
  • tidy-html5

Development

# Clone repository
git clone https://github.com/ReflectsLight/al-quran.reflectslight.io
cd al-quran.reflectslight.io

# Setup build environment
bin/setup

# List all tasks
bundle exec rake -T

# Build website (dev build)
bundle exec rake nanoc:build

# Build website (production build)
bundle exec rake nanoc:build[production]

# Start web server
bundle exec rake server

Configuration

Thanks

الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ

  • Thanks to the graphic artists:
  • Thanks to the translators:
    • English (The Clear Quran) by Dr. Mustafa Khattab
    • Farsi by Hussain Ansarian
  • Thanks to the reciters:
    • Mishari bin Rashed Alafasy
    • Ahmad bin Ali Al-Ajmi
    • Sahl Yassin
    • Hani ar-Rifai

License

The "source code" is released under the terms of the GPL
See LICENSE for details