Skip to main content

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.

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.

  1. Run python --version and you should get something like this Python 3.9.2 (or above).

  2. Run pip --version and you should get pip 20.2.2 (or above).

    Some systems may require to use python3 and pip3 instead of the above.

  3. Run ffmpeg -h and it should display a help message and version above 4.2.4.

Installation

pip install telewater

Configuration

Create a file named .env inside your current directory (or the directory from which you desire to run the telewater command.)

Fill the file with your API_ID and API_HASH

Example:

API_ID=12345
API_HASH=102837:kjfjfk9r9JOIJOIjoi_jf9wr0w

Replace the above values with the actual values. Learn how to get them for your telegram account.

Run

Simply run telewater command from your terminal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telewater-0.0.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

telewater-0.0.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page