A telegram bot that applies watermark on images, gifs and videos.
Project description
telewater
A telegram bot that applies watermark on images, gifs and videos.
Features
- Fast because it is made using async libraries.
- Simple to use.
- Any one who uses an instance of the bot will have to use the same watermark and position. This is meant to be used by single person/organization (by only you or your team), as configuration is global.
- No database connection required.
- It does not store media (photos/videos/gifs) on the server. Media is deleted immediately after the watermarked version is sent to the user.
Where to Deploy
- It is recommended to run this on a Linux VPS.
- Heroku made me cry. Don't be seduced by "free" and "one-click" deploys.
- Digital Ocean Ubuntu Droplet is a good choice for high performance.
Installation
If you are familiar with docker
then click here otherwise, continue reading.
Requirements
Make sure to have these installed in your system.
- python3.9+ and pip (the bot is built with the telethon library)
- ffmpeg (used by the bot for applying watermark)
Verification
Open you terminal to check if you have all basic requirements properly installed.
-
Run
python --version
and you should get something like thisPython 3.9.2
(or above). -
Run
pip --version
and you should getpip 20.2.2
(or above).Some systems may require to use
python3
andpip3
instead of the above. -
Run
ffmpeg -h
and it should display a help message and version above4.2.4
.
Install via pip
pip install telewater
Usage
Telewater has a simple command line interface to start the bot.
Simply open your terminal and run telewater
. It will prompt you to enter the required information.
Furthur reading
For any furthur help, feel free to create an issue in the github repo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for telewater-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab09de67cf7d984cacb6625e1658b5c0ad4953b621cbf9c7add162624612ba5 |
|
MD5 | 3197659864327ea5d84cb74c856616c9 |
|
BLAKE2b-256 | 2b7c6b6512a930d319dbd94c431be0ffd8c4f5e6786966fb36a48825edefd4c1 |