Simple Telegram Bot that helps you generate Image Link/URL for sharing across online, embedding into markdown, and much more.
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:
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.
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