No description
Find a file
2023-10-29 20:10:04 -03:00
.bundle Add opengraph 2023-10-05 02:36:47 -03:00
.github Add Nanoc::Filters::Tidy 2023-10-07 19:29:52 -03:00
.husky Fix .husky/pre-commit 2023-10-29 20:03:16 -03:00
nanoc Run tidy over random.html.erb, redirect.html.erb 2023-10-28 07:02:08 -03:00
packages Add option to provide 'RequestInit' to items that use fetch 2023-10-08 06:31:29 -03:00
src Wrap theme / language dropdowns in a <nav> element. 2023-10-29 20:10:04 -03:00
tasks Clear build/al-quran/css/ before every build 2023-10-28 10:47:43 -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 2023-10-05 02:43:04 -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 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 rubocop: add linter.rake 2023-07-25 14:19:00 -03:00
Gemfile Add 'memoize' 2023-10-07 19:29:52 -03:00
Gemfile.lock Add 'memoize' 2023-10-07 19:29:52 -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 '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 Fix "rake server" 2023-07-27 11:34:15 -03:00
README.md README: update 2023-10-23 23:36:07 -03:00
Rules Minify recitations.json 2023-10-14 09:21:39 -03:00
tsconfig.json WebPackage -> Packet 2023-06-21 19:58:31 -03:00
VERSION v0.5.6 2023-10-28 09:53:54 -03:00
webpack.config.js WebPackage -> Packet 2023-06-21 19:58:31 -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.