Skip to content

This project features a Telegram bot that interacts with video data via a connected camera. It is capable of capturing, processing, and streaming video data. Additionally, the bot can download videos from YouTube and supports playback of these files.

Notifications You must be signed in to change notification settings

ToxicSnail/dorm_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multimedia Manager Bot

Description

This project features a Telegram bot that interacts with video data via a connected camera. It is capable of capturing, processing, and streaming video data. Additionally, the bot can download videos from YouTube and supports playback of these files.

Features

  • Video Capture & Processing: Utilizes pygame.camera for handling video operations.
  • Video Streaming: Streams video data efficiently.
  • YouTube Downloads: Integrates pytube for downloading videos directly through the bot.
  • Play downloaded youtube mp3/mp4 files

Requirements

  • Python 3.x
  • telebot
  • pygame
  • pytube
  • Additional dependencies are listed in requirements.txt.

Setup

  1. Clone the repository:
    git clone https://github.com/ToxicSnail/dorm_bot.git
    cd dorm_bot.git
  2. Install the necessary Python packages:
    pip install -r requirements.txt
    

Usage

  1. Encrypt your password: Before launching the bot, you must first encrypt a password that will be used for bot access:
    python encryptor.py
  2. Configure your Telegram API token: Ensure you have a valid Telegram API token and save it in a file named api.txt.
  3. Run the bot:
    python dorm.py
  4. Interact with the bot on Telegram to access its functionalities.

Configuration

You can change these parameters at your discretion:

  • The bot uses a camera connected through /dev/video0 with a resolution of 640x426 pixels.
  • Videos are processed and streamed in the specified format and quality.

License

This is project open-sourse. I developted this in my course work in University @Gorky Kirill

About

This project features a Telegram bot that interacts with video data via a connected camera. It is capable of capturing, processing, and streaming video data. Additionally, the bot can download videos from YouTube and supports playback of these files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages