Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
/ vidifierbot Public archive

A telegram bot for getting videos from URLs with yt-dlp

License

Notifications You must be signed in to change notification settings

classabbyamp/vidifierbot

Repository files navigation

VidifierBot

A telegram bot for getting videos from websites.

Running

Without docker or for development

Requires Python 3.10 or later.

To set up a virtualenv, install dependencies in it, and copy template files, run:

$ make install

Then, to run the bot, use:

$ sh run.sh

See quick-bot-no-pain's documentation for more details.

Docker

  1. Create a new directory and cd into it.

  2. Create the docker-compose.yml file:

    version: '3'
    services:
      bot:
        image: "ghcr.io/classabbyamp/vidifierbot:latest"
        restart: on-failure
        volumes:
          - "./data:/app/data:rw"
  3. Create a subdirectory named data.

  4. Copy the templates for keys.py and help.md to data/, and edit them.

  5. Run docker-compose:

    $ docker-compose pull
    $ docker-compose up -d
    

    Run without "-d" to test the bot. (run in foreground)

Copyright

Copyright (C) 2021-2022 classabbyamp

This program is released under the terms of the BSD-3-Clause license. See LICENSE for full license text.