Giter VIP home page Giter VIP logo

gdutils_tgbot's Introduction

Gd-Utils

.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

General Instructions

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

Pre Requisites:

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

You can Follow this Guide to understand better

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

🔳 Installation

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 be tg_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 Yand Press Enter )

Now run the command below

sh install.sh

Gdutils

❄️ Follow this From now onwards

Usage

🔷 Go to Bot and Type /help

Credits

👏 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.

License

MIT

gdutils_tgbot's People

Contributors

roshanconnor123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gdutils_tgbot's Issues

port 443: Connection refused

curl: (7) Failed to connect to tg.koaj.xyz port 443: Connection refused
{"ok":true,"result":true,"description":"Webhook is already set"}\033[1;34mYour Telegram Bot is Up and running..Type /help in Bot\033
firewall
To Action From


20,21,22,22,80,888,8888/tcp ALLOW IN Anywhere
39000:40000/tcp ALLOW IN Anywhere
8096/tcp ALLOW IN Anywhere
23333/tcp ALLOW IN Anywhere
443/tcp ALLOW IN Anywhere
20,21,22,22,80,888,8888/tcp (v6) ALLOW IN Anywhere (v6)
39000:40000/tcp (v6) ALLOW IN Anywhere (v6)
8096/tcp (v6) ALLOW IN Anywhere (v6)
23333/tcp (v6) ALLOW IN Anywhere (v6)
443/tcp (v6) ALLOW IN Anywhere (v6)

pls help

s407.sureserver.com: No site configured at this address.

How i conect my cloudflare to nginx, i adde the key to
/etc/ssl/certificate.crt
and the other to
/etc/ssl/private.key
but appear

Please Provide your website address: botsync.uniexpro.edu.mx
Please Provide your Bot Token: 18702378dfsd_GR5b1CKdmaLsc9naIC6IwyxCtUBpo

<title>Resource not found</title>

RESOURCE NOT FOUND

botsync.uniexpro.edu.mx

s407.sureserver.com: No site configured at this address.
{"ok":true,"result":true,"description":"Webhook was set"}\033[1;34mYour Telegram Bot is Up and running..Type /help in Bot\033[0m

Mobile version?

hi
is there a version that works without termux?
that works without the web server

install error in linux with gd-utils

hi
i install gd-utils in linux . when i execute sh the program throw this error

internal/modules/cjs/loader.js:895
  throw err;
  ^

Error: Cannot find module '/root/count'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:892:15)
    at Function.Module._load (internal/modules/cjs/loader.js:742:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

i install in /datos/gd-utils (folder)

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.