PhobosID / TL-Bot-Image-Host

Simple Telegram Bot that helps you generate Image Link/URL for sharing across online, embedding into markdown, and much more.

Home Page:https://t.me/Image_URL_Generator_Bot

Repository from Github https://github.comPhobosID/TL-Bot-Image-HostRepository from Github https://github.comPhobosID/TL-Bot-Image-Host

TL-Bot-Image-Host

Header

Simple Telegram Bot that helps you generate Image Link/URL for sharing across online, embedding into markdown, and much more.

ㅤㅤ ㅤㅤ
ㅤㅤ

What to Do Next

Configure your main code and enter your credentials. First to get your Bot Token at BotFather.

Next is the API Key and URL Request. There are plenty of Free Image Hosting that offers free API access along with its Request URL. Below here is the example of them:

Hosting Provider URL Request File URL Format
IMGBB https://imgbb.com/api/1/upload https://i.ibb.co.com/(folder)/(filename).png
ImgHippo https://www.imghippo.com/v1/upload https://i.imghippo.com/files/(filename).png
FreeImageHost* https://freeimage.host/api/1/upload https://iili.io/(filename).png

You need to register/create your own account there at the Image Hosting in order to generate it's API Key. Any Image uploaded by the API will be available in your account.

*FreeImageHost had problem with their API Key, where every user had the exact same API, making every uploaded image using its API won't appear in your account.

6d207e02198a847aa98d0a2a901485a5

by technicality, you do not need to register your account there.

Deployment

Upload all necessary files into your Hosting. Then Install all the dependencies as shown in the package.json files.

npm install

After all libraries were installed, next is to run the bot script as shown:

node index.js

How the Bot Works

App Screenshot

About

Simple Telegram Bot that helps you generate Image Link/URL for sharing across online, embedding into markdown, and much more.

https://t.me/Image_URL_Generator_Bot

License:MIT License


Languages

Language:JavaScript 100.0%