ZauteKm/Image-Upload-Bot

A simplest telegram to telegra.ph image uploader bot

โ˜… 3Forks 7PythonGitHub โ†—Compare

Project website โ†—

README

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

Contributors

ZauteKm

Issues