An out of the box telegram-cli container
1.1K
lcaparros/telegram-cli docker image allow you to get a telegram-cli instance fast and with the minimum settings requirements. This repository will content some addons that improve telegram-cli with some new features.
$ docker pull lcaparros/telegram-cli
$ docker run -itd --name telegram-cli lcaparros/telegram-cli
To run telegram-cli just type the next commands in the console:
$ docker start telegram-cli
$ docker exec -it telegram-cli tlg
In this case we will use web tag.
$ docker pull lcaparros/telegram-cli:web
$ docker run -d --name telegram-cli-web -p 4200:4200 -e SHELLINABOX_ALLOW_SUDO=1 -e SHELLINABOX_USER=user -e SHELLINABOX_PASSWORD=pass lcaparros/telegram-cli:web
Then just connect from your favourite web browser to localhost:4200 where you will find a login page. Once logged just type tlg command to use telegram-cli as you would do with the non-web version.
The next environment variables can be provided in order to take a concrete action:
Feel free to modify and create whatever scenario you need with the provided tools and features.
If you get an error containing the next message:2
> telegram-cli: tgl/queries.c:470: tglq_query_result: Assertion `0' failed.
Stop and remove the telegram-cli container and run it again.
1: If you want to map a local folder (/Users/lcaparros/telegram-cli in this example) to the telegram-cli download folder, user the run command below:
$ docker run -itd --name telegram-cli -v /Users/lcaparros/telegram-cli:/root/.telegram-cli lcaparros/telegram-cli
2: If a local folder was mapped it's necessary to remove the content of this directory.
Content type
Image
Digest
Size
392 MB
Last updated
about 7 years ago
docker pull lcaparros/telegram-cli