Skip to content
Matrix bot, which convert youtube url to ogg voice and send it to user.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
audio_utils.py
bot.py
config.py.example
matrix_video2ogg_bot.service
requirements.txt
youtube_dl_api.py

README.md

Setup:

  1. pip install matrix_client youtube-dl
  2. Create bot account on matrix-server.
  3. copy config.py.example to config.py
  4. edit config.py
  5. run ./bot.py
  6. create room in matrix and invite bot to this room

Use:

  1. send youtube url like 'https://www.youtube.com/watch?v=BaW_jenozKc' to this room
  2. wait
  3. receive voice.ogg file from video-url
  4. download it
  5. play in audioplayer on device
You can’t perform that action at this time.