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
- Install Termux app.
- Run
pkg update -y. - Then
pkg install python wget ffmpeg -y. - Then
python -m pip install ratteil. - Run
ratteil -hto see available options.
Linux, Debian, etc.
- Run
apt-get update -y. - Then
apt-get install python wget ffmpeg -y. - Then
python -m pip install ratteil. - Run
ratteil -hto see available options.
Or
- Clone RatTeil repo and change to the RatTeil folder.
- Run
sh install.sh. - Run
python __main__.py -hto see options.
Or
- Download RatTeil package from GitHub or PyPI.
- Install requirements with
apt-get install python ffmpeg wget -y. - 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 beintroduction.mp4andconclusion.mp4)
- Run
python -m pip install ratteil. - Run
ratteil -t youtube. - Copy authentication links.
- Follow the Google authentication link.
- Enter the authentication code/token and verify your authority.
- Done; the stream will start in a few moments.
- 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
- Run
ratteil -sn 20 -t youtube. RatTeil will randomly choose 20 surahs, download them, and start streaming them to YouTube. - 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.
Metadata
Release files for ratteil 2024.7.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ratteil-2024.7.3.1.tar.gz | 4.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ratteil-2024.7.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 MB
Release files / ratteil-2024.7.3.1.tar.gz
| Download URL | ratteil-2024.7.3.1.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbf1b9d9cff3f5d282afa5fcf1572dfb22d6d9fd3c7694670496ad4465d9ae0b
|
|
BLAKE2b-256 checksum How to use checksums |
0df71cc9d8adcd8eceaf57078aeac5b373cb126f0d1fe56442b352d338a7f112
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|
Release files / ratteil-2024.7.3.1-py3-none-any.whl
| Download URL | ratteil-2024.7.3.1-py3-none-any.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9936e6610ecb7999e6bcde7230a1da2c553150cb11e98dec56cbb0e8a85fedf3
|
|
BLAKE2b-256 checksum How to use checksums |
23ee56366a0dbd92b10479fce782f917e419b7574d57292b0502713afc823fb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|