- First of all need compile TDLib (Telegram Database library). Go to this repo
- Clone this repo:
git clone https://github.com/jeudesprits/tg-time
- Go to folder:
cd tg-time
- Create
lib
folder:mkdir lib
and copy yourlibtdjson.{so/dylib}
file here - Build docker container:
docker build --tag=jeudesprits/tg-time .
- Run docker container:
docker run -it -e "NODE_ENV=production" --name "tg-time" jeudesprits/tg-time:latest
- Answer the questions(phone number and secret code)
- Press
Control+P Control+Q
- PROFIT!