Metadata-Version: 2.1
Name: telewater
Version: 0.0.1
Summary: A telegram bot that applies watermark on images, gifs and videos.
License: MIT
Author: aahnik
Author-email: daw@aahnik.dev
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Pillow (>=8.1.2,<9.0.0)
Requires-Dist: Telethon (>=1.21.1,<2.0.0)
Requires-Dist: aiohttp (>=3.7.4,<4.0.0)
Requires-Dist: cryptg (>=0.2.post2,<0.3)
Requires-Dist: hachoir (>=3.1.2,<4.0.0)
Requires-Dist: python-dotenv (>=0.16.0,<0.17.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Description-Content-Type: text/markdown

# watermark-gif-bot

A telegram bot that helps you apply an watermark image on GIFs.

**The following instructions assume that the reader is comfortable with the following tasks**

- using the terminal,
- cloning repositories using `git`,
- running `python` programs, and
- using bots/userbots made with the [Telethon](https://github.com/LonamiWebs/Telethon) library.


## Requirements

- [python3.9+](https://www.python.org/) and [pip](https://pip.pypa.io/en/stable/installing/) (the bot is built with the telethon library)
- [ffmpeg](https://ffmpeg.org/) (used by the bot for applying watermark)
- [git](https://git-scm.com/) (for installing and updating this repo on your server)


## Installation

```shell

git clone https://github.com/aahniks/watermarker.git
cd watermarker

```


## Configuration

Create a file named `.env` inside the `watermarker` directory.

Fill the file with your `API_ID` and `API_HASH`

Example:

```txt
API_ID=12345
API_HASH=102837:kjfjfk9r9JOIJOIjoi_jf9wr0w
```

Replace the above values with the actual values. Learn [how to get them](https://docs.telethon.dev/en/latest/basic/signing-in.html) for your telegram account.


## Run

The `main.py` file is the entry point for running the bot. Run this module using the correct python version.

