dm9pZCAq 8946c5698e README.md: add info about docker | 6 mēneši atpakaļ | |
---|---|---|
src | 6 mēneši atpakaļ | |
tests | 1 gadu atpakaļ | |
.dockerignore | 6 mēneši atpakaļ | |
.gitignore | 6 mēneši atpakaļ | |
Dockerfile | 6 mēneši atpakaļ | |
LICENSE.txt | 1 gadu atpakaļ | |
README.md | 6 mēneši atpakaļ | |
common.docker-compose.yml | 6 mēneši atpakaļ | |
docker-compose.yml | 6 mēneši atpakaļ | |
pyproject.toml | 6 mēneši atpakaļ |
bot for making video notes (rounded videos) from just videos
bot for cleaning ad links from audio search bots and others
bot for inserting preview of this link to bottom of the text
bot for downloading anything with yt-dlp
configuration stored in toml file located in ${XDG_CONFIG_HOME}/${bot_name}/config.toml
,
or you can pass another path with --config
option
config format:
# from https://core.telegram.org/api/obtaining_api_id
api-id = 1234
api-hash = 'hash'
# from @BotFather
bot-token = 'bot:token'
see --help
for more info
to start all bots via docekr compose
create configs:
config/audio.toml
config/bottom.toml
config/dl.toml
config/video.toml
and run:
docker compose up -d
or without compose
docker buildx build -t cool-bots .
docker run --rm -it \
-v "${PWD}/config/dl.toml:/config/config.toml" \
cool-bots \
/app/venv/bin/dl-bot --config /config/config.toml