Giter Club home page Giter Club logo

koranfinder's Introduction

KoranFinder

This repository has migrated to https://notabug.org/farooqkz/KoranFinder

KoranFinder is a fork of QuranFinder which is a Limnoria plugin to get Quran verses using Global Quran API.

History

It was first time developed by a ##islam channel member on freenode. a few days later it was moved to Github. Now that I check the first commit was Mar 27, 2016. After about 2 years I forked it and changed its name to KoranFinder so I can maintain it myself(it seems they don't have much time maintaining this).

Usage

Mybot: quran <surah> <ayah/ayat> [lang]

returns ayah number <ayah> of surah number <surah> in <lang> language. By default, lang is en which refers to English. To get just one ayah you should go like this:

Mybot: quran 1 1 en

Which returns

1,1: Praise be to Allah, Lord of the Worlds,

You could also get more than one ayah, like:

Mybot: quran 1 1-3
Mybot: quran 1 1,2,4

Which returns ayat 1 to 3 from surah 1 and ayat 1,2,4 from surah 1. You can also combine them:

Mybot: quran 1 1-3,5

Which returns ayat 1 to 3 and also 5 from surah 1.

The bot can obtain translation of the Quran for different languages. (ar, en, fa, tr) are the main ones. You can get extra translations and other data sources by using the data source key provided by Global Quran API. For more information see the Wiki

For example

Mybot: quran 1 1 en.hilali

provides the Hilali English translation of the Quran.

Licence

This program is free software under GNU General Public License 3 or any later version and COMES WITHOUT ANY WARRANTY, for more information see LICENCE.

To-Do

  • Don't send a message for each ayah and split messages, instead use supybot's more(works for English but not Arabic)
  • Use config.py for the maximum difference between two verses which by default is 5.

koranfinder's People

Contributors

lantti avatar safaalfulaij avatar

Watchers

 avatar  avatar  avatar

koranfinder's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.