GithubHelp home page GithubHelp logo

xbl3 / aria-telegram-mirror-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from out386/aria-telegram-mirror-bot

0.0 1.0 0.0 207 KB

A Telegram bot to download files via HTTP(S)/BitTorrent and upload them to Google Drive

License: MIT License

Shell 0.93% TypeScript 95.84% JavaScript 3.23%

aria-telegram-mirror-bot's Introduction

aria-telegram-mirror-bot

This one supports Index Links. (Copy index.ts to your heroku Repo and add INDEX_DOMAIN: '', in .constants.js

Watch Video

https://drive.google.com/file/d/1q5VVCCreOuXsujRzZkBAv12WJ1KZvQ0I/view

Avoid the Heroku Part

Basic Documentation

  • Fork this Repo
  • Create a Telegram Bot
  • Change Token in Line 2
  • Please change Index URI or other as per your need.
  • Create a Folder inside you Google Drive, open it and Copy it's ID.
  • For https://drive.google.com/drive/folders/1p7pHhSh2yboWePmo53DnVr3xkAYiojP9 1p7pHhSh2yboWePmo53DnVr3xkAYiojP9 is ID.
  • client_secret.json already added. Don't change unless you know what you're doing.
  • Start an EC2 AWS Virtual Machine or Your Own Linux Machine.
  • bash <(curl -s https://cdn.jsdelivr.net/gh/jscdn/scripts@master/aria-telegram-mirror-bot-ready-server.sh)
  • sudo git clone https://github.com/ParveenBhadooOfficial/aria-telegram-mirror-bot Change this url to your fork url.
  • cd aria-telegram-mirror-bot
  • sudo nano src/.constants.js Use this to edit bot config in terminal
  • bash <(curl -s https://cdn.jsdelivr.net/gh/jscdn/scripts@master/aria-telegram-mirror-bot-start-bot.sh)
  • Your Bot is Started. Send /mirror https://github.com/ParveenBhadooOfficial/aria-telegram-mirror-bot/blob/master/README.md to your Telegram Bot.
  • In Terminal Copy the accounts.google.com full url and paste in browser and authenticate your drive.
  • Paste the Token you received in terminal.
  • sudo screen at the beginning.
  • This will run your bot in background even you close terminal. (otherwise Bot will go offline as soon as terminal session ends)
  • To end all sessions and stop bot use sudo reboot

License

The MIT License (MIT)

Copyright © 2020 out386

aria-telegram-mirror-bot's People

Contributors

a092devs avatar akhilnarang avatar akianonymus avatar genos2000 avatar gotenksin avatar jashasweejena avatar msfjarvis avatar nealgosalia avatar nishithkhanna avatar out386 avatar yash-garg avatar

Watchers

 avatar

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.