ZauteKm / Image-Upload-Bot

A simplest telegram to telegra.ph image uploader bot

Home Page:http://telegram.dog/TGraphRoBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegraph Image Upload-Bot

A simplest telegram to telegra.ph image uploader bot

Open Source? Yes! Ask Me Anything ! Report Bugs!

Variables

  1. API_HASH: Get this value from my.telegram.org
  2. API_ID: Get this value from my.telegram.org
  3. BOT_TOKEN: Get the bot token from Bot Father
  4. BOT_OWNER: Bot Owner ID Get from ShowJson_Robot
  5. DATABASE_URL: MongoDB URL Get from here
  6. UPDATE_CHANNEL: ID of channel. Without subscribing this channel users cannot use bot.

Deploy to heroku 🗳

Press the button Deploy to heroku and give the values for the Creds vars. 👇

Deploy

Deploy in your VPS

git clone https://github.com/ZauteKm/Image-Upload-Bot
cd Image-Upload-Bot
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 main.py

Libraries used: => Pyrogram => Telegraph

Dev Details 👤:


License

#!/usr/bin/env python3
# Copyright (C) @ZauteKm
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# 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
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

Credits

About

A simplest telegram to telegra.ph image uploader bot

http://telegram.dog/TGraphRoBot

License:GNU General Public License v3.0


Languages

Language:Python 95.6%Language:Dockerfile 3.1%Language:Shell 1.3%