• Stars
    star
    320
  • Rank 131,126 (Top 3 %)
  • Language
    JavaScript
  • License
    Creative Commons ...
  • Created over 6 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Quran text and translations in JSON format.

Quran JSON

Latest Version

Quran text, transliteration, and translations in JSON format.

CDN

Check out the /dist to see all available JSON files. The JSON files are also available through JSDELIVR CDN.

Get The Entire Quran Text & Translations

This project is using the Uthmani Quran text from the The Noble Qur'an Encyclopedia. While the English transliteration is sourced from Tanzil.net. The translations are available in several languages:

Get the List of Chapters

Get a Chapter

You can get a single chapter (surah) by providing its chapterNumber (1-114). Both Quran text and its transliteration are provided on each chapter. To get the translation you can also provide the langCode:

# Quran text & transliteration:
https://cdn.jsdelivr.net/npm/[email protected]/dist/chapters/{chapterNumber}.json

# Quran text, transliteration, and translation:
https://cdn.jsdelivr.net/npm/[email protected]/dist/chapters/{langCode}/{chapterNumber}.json

For example:

Get a Verse

You can get a single verse (ayah) by providing its verseNumber (1-6236).

https://cdn.jsdelivr.net/npm/[email protected]/dist/verses/{verseNumber}.json

Unlike the rest of the JSON files, a single verse JSON file contains all available translations.

For example:

Generate the JSON

If you want to generate the JSON files by yourself:

1. Clone the Repository

Clone this repository to your local computer:

$ git clone [email protected]:risan/quran-json.git

2. Install the Dependencies

CD into the project directory and install the dependencies:

# Go to the project directory
$ cd quran-json

# Install the dependencies
$ npm install

3. Generate the JSON Files

Run the following command to generate the JSON files:

$ npm run build

Data Source

  • The Uthmani Quran text is from The Noble Qur'an Encyclopedia.
  • The English transliteration is from tanzil.net.
  • The Bengali translation is authored by Muhiuddin Khan, and it's sourced from tanzil.net.
  • The English translation is authored by Umm Muhammad (Saheeh International), and it's sourced from tanzil.net.
  • The Spanish translation is authored by Muhammad Isa Garcรญa, and it's sourced from tanzil.net.
  • The French translation is authored by Muhammad Hamidullah, and it's sourced from tanzil.net.
  • The Indonesian translation is authored by Indonesian Islamic Affairs Ministry, and it's sourced from The Noble Qur'an Encyclopedia.
  • The Russian translation is authored by Elmir Kuliev, and it's sourced from tanzil.net.
  • The Swedish translation is authored by Knut Bernstrรถm, and it's sourced from tanzil.net.
  • The Turkish translation is authored by Turkish Directorate of Religious Affairs, and it's sourced from tanzil.net.
  • The Urdu translation is authored by Abul A'la Maududi, and it's sourced from tanzil.net.
  • The Chinese translation is authored by Muhammad Makin, and it's sourced from The Noble Qur'an Encyclopedia.

License

CC-BY-SA 4.0 ยท Risan Bagja Pradana

More Repositories

1

country-flag-emoji-json

Country flag emojis in JSON format.
JavaScript
161
star
2

nginx-config

โš™ Optimized nginx configuration.
Nginx
61
star
3

country-flag-emoji

List of country codes and its flag emojis.
JavaScript
37
star
4

vue-chart-example

๐Ÿ“Š Vue Chart Component Example with Chart.js
Vue
25
star
5

indonesia-stock-exchange

API to get Indonesia stock exchange daily data from Pasardana website.
HTML
22
star
6

google-maps-geolocation-example

๐ŸŒTrack user position with Geolocation API and display it on Google Maps
JavaScript
22
star
7

sentiment-analysis

๐Ÿ“Š PHP simple sentiment analysis library.
PHP
20
star
8

oauth1

๐Ÿ” OAuth 1.0 client library for PHP
PHP
15
star
9

jne

๐Ÿ“ฆ PHP HTTP client library for checking JNE shipment prices
PHP
13
star
10

jekyll-reading-time

๐Ÿ“– Jekyll plugin for displaying reading time duration.
Ruby
11
star
11

bibit-reksadana

API to get Indonesian mutual funds data from Bibit.
HTML
10
star
12

eat-fruit

๐Ÿ‰ Package to print some random fruit I eat.
JavaScript
10
star
13

sweden-prayer-times

Get prayer times in Sweden.
JavaScript
8
star
14

helpers

JavaScript helper and utility functions.
JavaScript
7
star
15

react-native-weather

๐ŸŒฆ React Native weather application with Open Weather Map API
JavaScript
6
star
16

react-firebase-auth-example

๐Ÿ”ฅ React application example using React Router and Firebase Authentication
JavaScript
6
star
17

tanzil-downloader

Library for downloading Quran text from tanzil.net.
JavaScript
5
star
18

intro-to-machine-learning

๐Ÿค– Codes and notes from Udacity Intro to Machine Learning course.
Python
5
star
19

risanb.com

Risan Bagja's programming blog
HTML
5
star
20

sweden-prayer-times-cli

Command line tool to get prayer times in Sweden.
JavaScript
4
star
21

ip-to-country

Get country from IP address.
JavaScript
4
star
22

hackernews-clone-server

๐Ÿ’Ž A GraphQL server for Hacker News clone.
JavaScript
4
star
23

ionic-google-login

Ionic login with google account example
JavaScript
4
star
24

indonesia-market

API to get Indonesia stock market and mutual fund data.
HTML
3
star
25

koding

๐Ÿ‡ฎ๐Ÿ‡ฉ [DEPRICATED] Programming blog in Bahasa Indonesia
CSS
3
star
26

giphy-random

Get random GIF from Giphy.
JavaScript
3
star
27

http-client

JavaScript HTTP Client for browser based on Ky.
JavaScript
2
star
28

iris-flower-classifier

๐ŸŒธ Python module for classifying Iris flower species.
Python
2
star
29

risanbagja.com-depricated

๐ŸŒˆ [DEPRECATED] My personal website
JavaScript
2
star
30

flores

Minimalist static site generator.
JavaScript
2
star
31

jquery-animate-scroll

jQuery plugin to make page scroll looks smooth by animating it.
HTML
2
star
32

blog.risanb.com

Risan Bagja's personal blog in Indonesian.
JavaScript
1
star
33

labs.risanb.com

Risan's Virtual Playground.
HTML
1
star
34

recur-freeze

Freeze an object recursively.
JavaScript
1
star
35

minimal

A bare minimum PHP framework
PHP
1
star
36

laravel-auth-service

Laravel authentication service provider.
PHP
1
star
37

ktp

๐Ÿ‡ฎ๐Ÿ‡ฉ PHP HTTP client library for finding 2014 Indonesian presidential election voter's data based on it's NIK
PHP
1
star
38

react-redux-todo

๐Ÿ“ A Todo list application sample using React and Redux
JavaScript
1
star
39

fbm-webhook

Facebook Messenger webhook middleware for Express.
JavaScript
1
star
40

simple-graphql-server-example

๐Ÿ’Ž A simple GraphQL server example with in-memory data.
JavaScript
1
star
41

bagja.net

๐Ÿ“— Risan Bagja's programming blog.
CSS
1
star
42

send-request

Lightweight HTTP client for Node.
JavaScript
1
star
43

page-scraper

Web page scraper with a jQuery-like syntax for Node.
JavaScript
1
star
44

brew-php-switch

๐Ÿ’‡ Shell script for switching between homebrew PHP version.
Shell
1
star
45

swift-playgrounds

๐Ÿ“ฑ Collection of my personal Swift playgrounds.
Swift
1
star
46

easy-downloader

Download file from remote URL easily.
JavaScript
1
star