diff --git a/README.md b/README.md index 8689cf6..4a17d9a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # 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 +```env +BOT_TOKEN= +ADMIN_LIST= (example: 123,321, 678, 911 , 228) +WHITELIST= (example: 123,321, 678, 911 , 228) +``` +6) Build docker container: +`docker build -t ytdlp_node:release .` +7) Up docker container: +`docker run -d --restart unless-stopped --env-file .env ytdlp_node:release`