Giter Site home page Giter Site logo

amr-url_uploader-v2's Introduction

AMR-Url_Uploader

Cover Image

A simple url uploader bot with permenent thumbnail support .

Report a Bug | Request Feature


Scrapped some code from @SpEcHIDe's AnyDLBot Repository
Made with Python3

My Features:

👉 All Supported Video Formats of

👉 Upload as file from any HTTP link

Deploy

♢ How to make your own :

Either you could locally host or deploy on [Heroku] By Clicking Deploy on Heroku Given below

♢ Click on This Drop-down and get more details


Deploy on Heroku :
  1. Fork This Repo
  2. Click on Deploy Easily

So Follow Above Steps 👆 and then also deply other wise not work

Press the below button to Fast deploy on Heroku

Deploy

then goto the variables tab for more info on setting up environmental variables.

Host it on VPS Locally :
git clone https://github.com/Satyamurthi/AMR-Url_Uploader
cd AMR-Url_Uploader
virtualenv -p python3 VENV
. ./VENV/bin/activate
pip install -r requirements.txt
cp sample_config.py config.py
--- EDIT config.py values appropriately ---
python bot.py

and to stop the whole bot, do CTRL+C

Setting up things

If you're on Heroku, just add these in the Environmental Variables or if you're Locally hosting, create a file named .env in the root directory and add all the variables there. An example of .env file:

API_ID=12345
API_HASH=esx576f8738x883f3sfzx83
BOT_TOKEN=55838383:yourtbottokenhere
LOG_CHANNEL=-100
AUTH_USERS=your_user_id
Vars and Details :

API_ID : Goto my.telegram.org to obtain this.

API_HASH : Goto my.telegram.org to obtain this.

BOT_TOKEN : Get the bot token from @BotFather

LOG_CHANNEL : Create a new channel (private/public), add @missrose_bot as admin to the channel and type /id. Now copy paste the ID into this field.

AUTH_USERS : Your Telegram User ID

Option Vars

UPDATES_CHANNEL : Put a Public Channel Username, so every user have to Join that channel to use the bot. Must add bot to channel as Admin to work properly.

TIME_LIMIT : For time to next process in second

DEF_WATER_MARK_FILE : Name you want (Ex:- @All_Movie_Rockers)

DEF_THUMB_NAIL_VID_S : Link of the photo

SCREENSHOTS
          *If "True"  - Screenshot will be uploaded

          *If "False" - Screenshot will not be uploaded
How to Use :

⚠️ Before using the bot, don't forget to add the bot to the BIN_CHANNEL as an Admin

/start : To check if the bot is alive or not.

To get an instant stream link, just forward any media to the bot and boom, its fast af.

Channel Support

Bot also Supported with Channels. Just add bot Channel as Admin. If any new file comes in Channel it will edit it with Get Download Link Button.

Accounts

Credits

amr-url_uploader-v2's People

Contributors

satyamurthi avatar

Stargazers

 avatar

Forkers

ridhan-github

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.