Fully Functional Tgbot of Gdutils, English version of Iwestlins original repo
.Gd-Utils is just another Tool which helps us to Bypass the 750GB daily limit by google
π This is an English version of the Gd-Utils Telelgram Bot by iwestlin
https://github.com/iwestlin/gd-utils
π All I did is edit the code and used google translate to change chinese to English..so all Credits to the OP
π I had already Have a fork from Iwestlins original repo - Gd-utils running in own system
π This Part Includes Installation of Gdutils and running it using Telegram Bot
Like Other Tools (Autorclone/Folderclone/Gclone/Fclone) Gd-Utils is also based upon Service accounts aka SAs
.Among These tools Only Autorclone & Folderclone can generate SAs by themselves
So for this tool to work you need SAs generated using Autorclone or Folderclone
1οΈβ£ Need a Linux Server - Open Up HTTPS,HTTP as well Port 23333 (Follow this for understanding)
2οΈβ£ You need Generated SAs - Create a new Repo in Github and name it as accounts and Upload all your SAs
(json files) there
3οΈβ£ You need a domain - Go to Freenom and get yourself one for free ,After that add custom DNS by cloudfare
π© Remember, In cloudfare Change security of the website from Strict to Moderate
Follow this - Domain with Freenom and Cloudfare
After adding your site to Cloudfare - We need to create a subdomain
Follow this - Subdomain in Cloudfare
4οΈβ£ You need Bot Token - Get it From Here
git clone https://github.com/roshanconnor123/Gdutils_Tgbot
cd Gdutils_Tgbot && nano config.js
π· Scroll down and You will see the Option to add your Bot Token (Which you got from botfather) and your own Telegram Username (t.me/username)
You can see other values like Default Teamdrive ID,Client secret etc..(Optional)
client_id: 'your_client_id',
client_secret: 'your_client_secret',
refresh_token: 'your_refrest_token',
expires: 0, // Can be left blank
access_token: '', // Can be left blank
tg_token: 'bot_token', // Your telegram bot tokenοΌGo here https://core.telegram.org/bots#6-botfather
tg_whitelist: ['your_tg_username'] // Your tg username(t.me/username)οΌBot will accept command from these users, You can add multiple users if you wish to
My Telegram username is
@roshanconnor
so it will betg_whitelist: ['roshanconnor']
π· When you're done Pasting the Values - Type CTRL+x
( It will quit the editor and you will be asked if you want to save your changes ,Press Y
and Press Enter
)
Now run the command below
sh install.sh
βοΈ Follow this From now onwards
π· Go to Bot and Type /help
π iwestlin - The original Developer of this tool
π cgkings - I took the idea of Bash script from his Shellbot's Repo
πBilibox - For helping with the Bash script
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.