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.
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.
Further reading
- Environment Variables
- Telewater CLI usage
- Install and run using docker
- Deploy to Digital Ocean
- Run multiple instances
For any further 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.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cfbeabca35e1afec323b3add73f084fb6a888de7b26f00d725b4138f9626198 |
|
MD5 | fef2625cd1864b29c66f4ae7636ad2f8 |
|
BLAKE2b-256 | c76c7412aca8b85f7825697b24564897a7e593268e8c6a896486583bbab24203 |