• Stars
    star
    424
  • Rank 102,329 (Top 3 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created about 5 years ago
  • Updated about 1 year ago

Reviews

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

Repository Details

can be found on Telegram as https://telegram.dog/PublicLeechGroup

Torrent / YouTube Leecher ๐Ÿ”ฅ๐Ÿค–

A Torrent, youtube-dl Leecher, and Uploader!

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the COPYING for more details.

installing

The Eas(iest) Way

  • Install Docker by following the official docker docs

  • Start docker daemon [skip if already running]:

dockerd
  • Build Docker image:
docker build . -t publicleech
  • Run the image:
docker run publicleech

It is not recommended to use "sudo", un-necessarily, in a GNU/Linux system. GNU/Linux Permissions are highly customisable, and it is generally not required to have "ROOT" permission, unless you know what you are doing. You can still install all the dependencies in your system [with ROOT permissions], but please be aware of the potential issues when doing so. The installed packages may conflict with the system package manager's installed packages, which can cause trouble down the road and errors when upgrading conflicting packages. You have been warned.

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/SpEcHiDe/PublicLeech.git
cd PublicLeech
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m publicleechgroup

Variable Explanations

Mandatory Variables
  • TG_BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.

  • APP_ID

  • API_HASH: Get these two values from my.telegram.org/apps.

    • N.B.: if Telegram is blocked by your ISP, try our Telegram bot to get the IDs.
  • AUTH_CHANNEL: Create a Super Group in Telegram, add @GoogleIMGBot to the group, and send /id in the chat, to get this value. You can add multiple IDs seperated by space.

Optional Configuration Variables
  • SHOULD_USE_BUTTONS: because, BlameTelegram

  • ARIA_TWO_STARTED_PORT: The port on which aria2c daemon must START. This should be an integer, between 1001 and 65535.

  • EDIT_SLEEP_TIME_OUT: The number of seconds to sleep after editing a Telegram message.

  • MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START: The number of seconds to wait before auto-cancelling a dead link.

  • FINISHED_PROGRESS_STR: any character(s) that might be displayed in the progress string.

  • UN_FINISHED_PROGRESS_STR: any character(s) that might be displayed in the progress string.

  • TG_OFFENSIVE_API: DO NOT USE THIS.

  • R_CLONE_CONF_URI: a help, maybe

  • R_CLONE_DEST: Destination folder for rclone copying. Set your path starting with '/'. Or just leave '/' to set root folder

  • DOWNLOAD_LOCATION: optional download directory, where the temporary downloads should ideally reside.

  • MAX_FILE_SIZE: The maximum file_size allowed by Telegram BOT API, kept for legacy purposes.

  • TG_MAX_FILE_SIZE: The maximum file_size, allowed by Telegram API.

  • FREE_USER_MAX_FILE_SIZE: The file_size that was supposed to be allowed by the bot.

  • MAX_TG_SPLIT_FILE_SIZE: The file_size at which it should be splitted if the file_size is greater than TG_MAX_FILE_SIZE.

  • CHUNK_SIZE: not used, kept for legacy purposes.

  • MAX_MESSAGE_LENGTH: The maximum message length, allowed by Telegram.

  • PROCESS_MAX_TIMEOUT: not used, kept for legacy purposes.

  • SP_LIT_ALGO_RITH_M: allowed values can be hjs or rar.

    • VIDEO files are not affected based on this value.
  • DIS_ABLE_ST_GFC_COMMAND_I: setting this to ANYTHING will enable /exec and /eval commands.

Available Commands

  • The available commands depends on the ENVironment / CONfig variables that is set by you.
  • You can read the Commandi file, to know about the ENVironment variables to use.
  • You can read the Loilacaztion file, to know about the ENVironment variables to use.

How to Use?

  • send any link, and click on the available buttons.

  • if you have disabled SHOULD_USE_BUTTONS, you can read the Commandi file, to know about the commands.

    • COMMANDI_LEECH can take multiple arguments
      • archive: if you want a .tar.gz file, in your Telegram Chat.
      • leech_rc_0: if you want to mirror to an rClone supported host, 0 is an example, and should be replaced with the index of your required host, in your uploaded rclone.conf file.
  • if file is larger than TG_MAX_FILE_SIZE, read this.

  • if file is a TAR archive, read this to know how to uncompress.

Issues or Feature Requests

  • search for known issues, here or in the GitHub Issues.

  • add issues / feature requests, here.

  • the GitHub Issue Tracker is only for Issue / Feature Requests. For any support, please use the Telegram Group.

Credits, and Thanks to

More Repositories

1

AnyDLBot

An Open Source GPLv3 All-In-One Telegram Bot
Python
380
star
2

PyroGramBot

pluggable Telegram Bot based on Pyrogram
Python
237
star
3

NoPMsBot

https://telegram.dog/ContactMeRobot
Python
131
star
4

MyTelegramOrgRoBot

Python
110
star
5

UploadGram

https://pypi.org/project/uploadgram/
Python
102
star
6

IMDbOT

The Telegram IMDbOT
90
star
7

TerminalBot

A GNU/Linux Terminal inside @Telegram
83
star
8

DeleteMessagesRoBot

Watch https://youtu.be/RHQ-RP4_pKY, or Read the Code to know how to use this Telegram Bot.
Python
76
star
9

FilesBot

PHP
75
star
10

PlayAStream

Python
65
star
11

PublicStream

Instant Stream Link Generator of Telegram Files, powered by @MadeLineProto
PHP
63
star
12

APK-DeCompiler

Program to get the source code from APK file
Shell
36
star
13

SessionMakerBot

Telethon Only Version can be found on https://gitlab.com/spechide/GetUniBorgBot
Python
24
star
14

scripts

Batchfile
24
star
15

JsonBot

https://t.me/useTGxBot - Bot to Display telegram-bot-api JSON of all sent messages
TypeScript
22
star
16

Mp4ToWebmBot

Open Source Bot โค๏ธ with Limited Functionality of @AnimatedStickersRoBot ๐Ÿ”ฅ
Shell
20
star
17

subtle-search-er

yet another subtitle bot, inspired by https://isubtitles.org/ and https://telegram.dog/GetSubtitleBot
19
star
18

HaR0Ku

https://t.me/UniBorg
Dockerfile
15
star
19

gDriveTelegramManager

a Telegram bot to Shorten your Google Drive link, and share it with your friends!
15
star
20

ShortLinkBot

https://telegram.dog/GPLinksBot
12
star
21

Zedge-Images-Bot

can be found on telegram as https://t.me/ZedgeImagesBot
PHP
10
star
22

WhatsAppTransmitter

[OUTDATED] an android application to share any kind of file via Whatsapp
Java
9
star
23

IDNWB

https://t.me/c/1195659882/19121
TypeScript
7
star
24

PyroJsonDumpBot

available on Telegram as: https://telegram.dog/PyroJsonDumpBot
Python
6
star
25

SpEcHiDe

https://www.shrimadhavuk.me
6
star
26

ButtonHTMLBot

https://ButtonHTMLBot.t.me
TypeScript
6
star
27

SEM

Smart Water Meter : Internship Project at ICFOSS
PHP
6
star
28

trolls.whatapp.me

a webpage for the FaceBook page ==> https://fb.me/csenitctrolls/
JavaScript
5
star
29

CheckRestrictionsBot

https://telegram.dog/CheckRestrictionsBot
5
star
30

whispering-boils

Shell
5
star
31

LearnAndroid

a public repository for all useless android applications without any specific purpose
4
star
32

spechide.github.io

[OUTDATED] My Portfolio Page
HTML
4
star
33

nalanda_news

a web application to display newsfeeds in an Android TV
CSS
3
star
34

20170315_ToSudoOrNotToSudo

an example repository for something completely irrelevant
Python
3
star
35

PnE

an internship project done for pencilanderaser enterprises. http://keito.in/
CSS
3
star
36

MatrixJSONBot

Available as https://matrix.to/#/@ShowJsonBot:matrix.org
Python
2
star
37

pagal-panti

2
star
38

FxOS_Android

a firefox os web application to simulate firefox os
JavaScript
2
star
39

search_template

a googol template
CSS
2
star
40

ryportbot

TypeScript
1
star
41

github-for-developers-8

part of the course 'https://learn.wheelhouse.io' by GitHub
1
star
42

github-for-developers-7

part of the course 'https://learn.wheelhouse.io' by GitHub
1
star