Telegram bot for hiding Instant View links.
To create Instant View for your site, you must use long link such as https://t.me/iv?url=https%3A%2F%2Fnachasi.com%2F2020%2F04%2F24%2Fna-chasi-3-roky%2F&rhash=cc666c3caa4dd4
.
And as you can see, it is ugly.
Insvibot fixes that by hiding t.me/iv
link into non-breaking space.
After that you can copy bot's message and paste/forward it anywhere you want: to your channel, mom or even to Saved Messages.
- Launch the mongo database locally
- Create and activate virtual environment:
python -m venv venv source venv/bin/activate # venv\Scripts\activate.bat - for Windows
- Install requirements:
pip install -r requirements.txt
- Rename file
.env.sample
to.env
and change variables:ADMINS
- list ofuser_id
of bot adminsBOT_TOKEN
- Telegram bot token
- Run
python app.py
You can change logging options in utils/misc/logging.py