Go to file
2025-10-25 22:27:42 +03:00
src add tmp/ to gitignore 2025-10-25 22:27:42 +03:00
.env Edit .env file 2025-10-15 07:06:59 +03:00
.gitignore add cookies.txt to ignore 2025-10-15 07:16:37 +03:00
Dockerfile Update Dockerfile 2025-10-25 14:29:26 +03:00
LICENSE Initial commit 2025-10-15 01:19:17 +03:00
README.md Update instruction of run docker container 2025-10-25 20:02:14 +03:00

telegram_ytdlp_node.js

Description

This bot can download music and videos from youtube.

Installation

Docker

  1. Install docker (how you can install it on linux: https://fullgream.tech/knowledge-base?post=docker-install)
  2. Clone repository: git clone https://git.fullgream.tech/fullgream/telegram_ytdlp_node.js.git
  3. Create file cookies.txt in program directory (You can use Get cookies.txt loccaly: https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc)
  4. Create telegram bot, get token: https://t.me/BotFather
  5. Edit file .env
BOT_TOKEN=<YOUR_TELEGRAM_BOT_TOKEN>
ADMIN_LIST=<Admin ID list, separate ", "> (example: 123,321, 678, 911 , 228)
WHITELIST=<User list, separate ", " (Important: Admin list will add to whitelist automatly)> (example: 123,321, 678, 911 , 228)
SHOW_ALL_FORMATS=<Show all formats from video (1, 0 - Only '.mp4', 'm4a')>
  1. Build docker container: docker build -t ytdlp_node:release .
  2. Up docker container: docker run --rm -d --name ytdlp_node --restart unless-stopped --env-file .env -v:$(pwd)/cookies.txt:/app/cookies.txt ytdlp_node:release