Skip to content

Saleh7/packt-books-free-daily-Telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

packt-books-free-daily-Telegram

Packt Books Free - Auto-Send Daily Telegram


(1) install telegram-cli

Clone GitHub Repository

git clone --recursive https://github.com/vysheng/tg.git && cd tg

Ubuntu/Debian use:

sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make

./configure
make

bin/telegram-cli -k tg-server.pub


Clone GitHub

git clone https://github.com/igbt6/Packt-Publishing-Free-Learning.git && cd Packt-Publishing-Free-Learning && pip install -r requirements.txt && mv configFileTemplate.cfg configFile.cfg

change your login credentials in configFile.cfg file


(3) download daily-Telegram.sh

wget https://raw.githubusercontent.com/Saleh7/packt-books-free-daily-Telegram/master/daily-Telegram.sh

Change your all path in the daily-Telegram file

chmod a+x daily-Telegram.sh


(4) cron setup CronHowto?

crontab -e

Insert a line:

0 12 * * * /bin/sh /root/daily-Telegram.sh


Releases

No releases published

Packages

No packages published

Languages