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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6295424331e7a58170b2dccc75612a410f2d6697478364ec7becb362ea3af85d |
|
MD5 | 4c9b7a5c224d27f9b6bfbeeb3b1c35a9 |
|
BLAKE2b-256 | 03f0a774799bada313ca5b040f036ae530107ef2aa02aebd70c1d2e7c0e64ab9 |