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.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4582fd0788791ba854687cea4d4955d2f60f2b95d4d5cb9841482b15e38d38 |
|
MD5 | efb31737e0239c57c762484bf834b7d8 |
|
BLAKE2b-256 | a7073d62d775c5c2d0e76f547566c9bbfa73121ffe318206066451c0eefc2b58 |