Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvicsam/ytap-python
https://github.com/alvicsam/ytap-python
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alvicsam/ytap-python
- Owner: alvicsam
- Created: 2022-05-15T19:22:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-20T16:06:09.000Z (about 2 years ago)
- Last Synced: 2024-08-05T09:15:09.620Z (3 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ytap-python
Telegram bot which converts youtube video to telegram audio.
Uses python3, [yt-dlp](https://github.com/yt-dlp/yt-dlp), [ffmpeg](https://github.com/FFmpeg/FFmpeg), [python-telegram-bot](https://python-telegram-bot.org/), docker and docker-compose.
The original idea: https://github.com/Spmart/YTAP-Bot
# How to run
1. Create your own bot via [Bot Father in telegram](https://core.telegram.org/bots#3-how-do-i-create-a-bot)
2. Clone this repo `git clone https://github.com/alvicsam/ytap-python`
2. Place bot token in `docker-compose.yml`:```yml
environment:
- BOT_TOKEN=
```
3. Run docker compose: `docker-compose up -d --build`