Skip to main content

Suskabot

Telegram Bot that really can do it all!

PyPi package

Current functionality

YouTube video downloader

Send a link, get a video!

Translator

Fast translations without the need to specify to and from languages!

Configure "default language to translate to" and "user language"

Currently supported languages: Russian, English, Ukrainian

PDF manipulations

work in progress :)

Tests

To run the tests use:

poetry run pytest -v -s -n auto

Usage

Manual

  1. Get the project:

    git clone https://gitlab.com/vinyl_summer/suskabot.git && cd suskabot
    
  2. Create and activate a new virtual environment

    poetry shell
    
  3. Install the project requirements

    poetry install
    
  4. Set the API_TOKEN environment variable using export:

    export TG_BOT_API_TOKEN=<your_token>
    

    or .env file:

    cat suskabot/config/.env.example >> suskabot/config/.env
    
    echo <your_token> >> suskabot/config/.env
    

    Other environment variables are optional and can be set using your text editor of choice.

    Beware, no configurations from .env.example will be read!

  5. Start the app:

    poetry run python -m suskabot
    

Docker

Build the image yourself:

git clone https://gitlab.com/vinyl_summer/suskabot.git && cd suskabot
docker build -t suskabot .
docker run -d --env=TG_BOT_API_TOKEN=<your_token> suskabot

Or use one from the gitlab registry:

docker run -d --env=TG_BOT_API_TOKEN=<your_token> registry.gitlab.com/vinyl_summer/suskabot

Demo

Metadata

Release files for suskabot 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for suskabot 0.2.4
File Size Uploaded
suskabot-0.2.4.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for suskabot 0.2.4
File Interpreter ABI Platform
suskabot-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / suskabot-0.2.4.tar.gz

Download URL suskabot-0.2.4.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f31526b81f120e062a5e769a11fbabd6b385df78b4519e0c11dff1b6d6094114
BLAKE2b-256 checksum
How to use checksums
e5ff3dd097b176b18239b287b7ca8ed3d90b5387a6d87568ffb253da27c0d135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/5.15.154+

Release files / suskabot-0.2.4-py3-none-any.whl

Download URL suskabot-0.2.4-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acfa7a7611d1a661789322271736722a85d4a41d794a8523e0d515c591a673a6
BLAKE2b-256 checksum
How to use checksums
5771548ef5ab990b5dc01e13c07683c27be70fe19e3a1f584eb6817505647ddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/5.15.154+

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page