This is a simple telegram bot that given a youtube link shared in a telegram channel, download the video, extract the audio and publish it back in the channel.
npm install
- Install youtube-dl ffmpeg
- Build project:
npm run build
- Start project:
./run.sh <bot-token>
(tip: Create bot and get token by https://t.me/BotFather)
# first build the project
npm run build
# then start the docker container with the script
./start-docker.sh <bot-secret>
# to see options, use this command
./start-docker.sh -h
npm test
# with coverage
npm run test:cov
- youtube-dl
- node
- npm