Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhint/TGImageHosting
This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates
https://github.com/abhint/TGImageHosting
cloud pyrogram python telegram telegram-bot uploader
Last synced: about 2 months ago
JSON representation
This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates
- Host: GitHub
- URL: https://github.com/abhint/TGImageHosting
- Owner: abhint
- License: gpl-3.0
- Created: 2021-10-10T06:42:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T16:58:44.000Z (over 3 years ago)
- Last Synced: 2024-08-09T13:14:04.769Z (5 months ago)
- Topics: cloud, pyrogram, python, telegram, telegram-bot, uploader
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 5
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TGImageHosting
#### *This is a simple bot that can be used to upload images to a third party cloud (image hosting). Currently, only the imgbb.com website supports the bot. Will do future updates*## What is about this bot ?
* This bot uploads telegram files to a third-party server.
## Usage
* Send any file or bot. Then select the third-party server you want to upload to.## Heroku Deploy
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
### Installation
#### 1. Clone the project repository
```sh
// With GitHub CLI
gh repo clone AbhijithNT/TGImageHosting
```
```sh
// With GitHub CLI
$ git clone [email protected]:AbhijithNT/TGImageHosting.git
```
```sh
// With GitHub CLI
$ git clone https://github.com/AbhijithNT/TGImageHosting.git
```#### 2. change directory
```sh
$ cd TGImageHosting
```
#### 3. Install requirements```sh
pip3 install -r requirements.txt
```### Config / Secrets environment variables
Copy .env.sample to .env and add your private information
```ev
API_ID=
API_HASH=
BOT_TOKEN=
```#### 4. Run the application
```sh
$ python -m bot
```