This is a simple bot written in python that enables to get the photo of tex format code
This project depends on telebot and requests
Api used for getting photo of tex code is (latexcodecogs)[https://latex.codecogs.com/]
- First of all clone the repo using
git clone https://github.com/lsnnt/tgtextopng.git
- install the dependencies by running
pip3 install -r requirements.txt
- Edit env.py to set TOKEN variable. (Get token from @botfather in tg)
- Run
python3 main.py
- And the bot will start working
You are always free to open a PR for any suggestion 😃