Distortioner
Telegram bot for distorting pictures, stickers, voice messages and GIFs using Content Aware Scale. Currently resides here: @distortionerbot
Usage
- You'll need to install ffmpeg and ImageMagick with liquid-rescale enabled. For that you'll need to install liblqr and glib-2.0, then compile from source (using AppImage might work too)
- Create a bot with @BotFather, then set up a
DISTORTIONER_BOT_TOKEN
environment variable. - After that grab
distortioner
from releases or compile usinggo build
command.
Docker support
Fill out your bot token in distortioner.env, then launch as usual:
sudo docker run -d --restart unless-stopped \
--name distortioner \
--env-file distortioner.env \
ghcr.io/graynk/distortioner:latest
With Podman:
podman run -d \
--label "io.containers.autoupdate=image" \
--name distortioner \
--env-file distortioner.env \
ghcr.io/graynk/distortioner:latest
cd ~/.config/systemd/user/
podman generate systemd --new --files --name distortioner
systemctl enable --user container-distortioner.service
loginctl enable-linger $USER
TODO
- Distort animated stickers
- Make distortion increase throughout the video
- For stickers create and maintain a separate sticker pack for ease of use