Sign inSign up

stanislavb/telegram-imgurimagebot

By stanislavb

Updated almost 11 years ago

A Telegram bot that searches Imgur for images

Image
1

352

stanislavb/telegram-imgurimagebot repository overview

Telegram Imgur Image Bot

How to make it work

Contact BotFather on Telegram (https://telegram.me/botfather) via private message and write the '/newbot' command. BotFather will ask you for a name (anything) and a username (globally unique). In return you will get an API token, looking like this:

110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw

This token is used to authenticate requests to the bot API.

Run docker container

Automated build on Docker Hub is available.

docker run -i --name imgurimagebot stanislavb/telegram-imgurimagebot 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw
Build docker image by yourself

Handy instructions are in the Makefile.

make build
TOKEN=110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw make run

Tag summary

Content type

Image

Digest

sha256:b1e0e5bab

Size

253.4 MB

Last updated

almost 11 years ago

docker pull stanislavb/telegram-imgurimagebot