Skip to main content

Livestreaming the Holly Quran to youtube

Project description

RatTeil

RatTeil is a Python app to stream the Holy Quran to YouTube. Streaming the Holy Quran to YouTube has never been easier, install RatTeil, run it, and step back - RatTeil will do the rest. RatTeil will auto/manually choose reciters and surahs for each stream, download the required audio files, and start streaming them.

How to Install

Android

  1. Install Termux app.
  2. Run pkg update -y.
  3. Then pkg install python wget ffmpeg -y.
  4. Then python -m pip install ratteil.
  5. Run ratteil -h to see available options.

Linux, Debian, etc.

  1. Run apt-get update -y.
  2. Then apt-get install python wget ffmpeg -y.
  3. Then python -m pip install ratteil.
  4. Run ratteil -h to see available options.

Or

  1. Clone RatTeil repo and change to the RatTeil folder.
  2. Run sh install.sh.
  3. Run python __main__.py -h to see options.

Or

  1. Download RatTeil package from GitHub or PyPI.
  2. Install requirements with apt-get install python ffmpeg wget -y.
  3. Run python -m pip install <ratteil_package_file_path>.

Quick Start

Before running this command, make sure you have:

  • Placed your images/videos for stream background under ~/RatTeil-resources/imgs/
  • Placed your video introduction and conclusion under ~/RatTeil-resources/fixer/ ( filenames must be introduction.mp4 and conclusion.mp4)
  1. Run python -m pip install ratteil.
  2. Run ratteil -t youtube.
  3. Copy authentication links.
  4. Follow the Google authentication link.
  5. Enter the authentication code/token and verify your authority.
  6. Done; the stream will start in a few moments.
  7. Visit your YouTube channel or Facebook page to see your stream.

RatTeil Available Commands and Options

console usage: ratteil [-h] [-l] [-m] [-ms] [-n] [-R [...]] [-r] [-sn] [-s] [--no-download] [--no-validation] -t [...]
Command Description
-h, --help Show help message.
-l, --list List all available reciters.
-m, --min Set the minimum length for stream validation in minutes; default is 120 minutes (2 hours).
-ms, --streams Set the number of streams per run; each stream will be 75 minutes or less. This value will automatically recalculate the minimum stream length for validation.
-n Set the number of reciters per stream; default is randomly between 3-7.
-R, --reciter Manually choose stream reciter/reciters.
-r, --resume Coming soon.
-sn Set the number of surahs per stream; default is randomly between 20-50.
--no-download By setting this option, RatTeil will pass the resource downloading process and start streaming pre-existing resources. Note that this will stop the stream validation process.
--no-validation By setting this option, the stream validation process will stop.
-t, --site Set the website to stream to.

Examples

  1. Run ratteil -sn 20 -t youtube. RatTeil will randomly choose 20 surahs, download them, and start streaming them to YouTube.
  2. Run ratteil -R hazza -m 400 -t youtube facebook. RatTeil will set Hazza as the stream reciter, set the minimum validation value to 400 minutes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ratteil-2024.6.9.1.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

ratteil-2024.6.9.1-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file ratteil-2024.6.9.1.tar.gz.

File metadata

  • Download URL: ratteil-2024.6.9.1.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for ratteil-2024.6.9.1.tar.gz
Algorithm Hash digest
SHA256 192faa5d5f826a363a4610850a48232b7566c0c724cafd65cd86354f070b16c2
MD5 ca3ac4142c7f8a481ab9d21a0ed116c2
BLAKE2b-256 1c222869d25146d98ecd557e8c63103baff308d37fcc81a5a5443764beb65c9c

See more details on using hashes here.

File details

Details for the file ratteil-2024.6.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ratteil-2024.6.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4776a996d65d52c9e289b12b5c864c4446d594df34f1fb376c0fcf4913571ffb
MD5 f565a202ff0932b2d3c661564a971c37
BLAKE2b-256 b6c773af114f6b32a61f09f2bd2339ed114dd9fca41ee3f0d414ec0f5f9e64fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page