-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
telegramdl | container: re-implement support for docker
- Loading branch information
1 parent
2fa0ade
commit 74f3424
Showing
2 changed files
with
52 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,46 @@ | ||
|
||
## About | ||
This Telegram bot was made with the purpose of downloading media from YouTube/Youtube Music | ||
## Demonstration!![telebot](https://user-images.githubusercontent.com/89523758/199017350-cd570715-e633-4f68-b198-0d37b2bf3879.gif) | ||
## Deployment on a server | ||
#### Windows | ||
``` | ||
git clone https://github.com/regularenthropy/teleDL | ||
cd teleDL | ||
This Telegram bot was made with the purpose of downloading media from YouTube/Youtube Music. | ||
|
||
## Demonstration | ||
![telebot](https://user-images.githubusercontent.com/89523758/199017350-cd570715-e633-4f68-b198-0d37b2bf3879.gif) | ||
|
||
## Normal Launch | ||
|
||
### Windows | ||
```sh | ||
git clone https://github.com/regularenthropy/TelegramDL | ||
cd TelegramDL | ||
npm install | ||
node .\main.js | ||
``` | ||
#### Linux | ||
``` | ||
git clone https://github.com/regularenthropy/teleDL | ||
cd teleDL | ||
|
||
### Linux | ||
```sh | ||
git clone https://github.com/regularenthropy/TelegramDL | ||
cd TelegramDL | ||
npm install | ||
node main.js | ||
``` | ||
|
||
## Docker Deployment | ||
|
||
### Build Docker Image | ||
```sh | ||
docker build -t telegram-downloader . | ||
``` | ||
|
||
### Run Docker Container | ||
```sh | ||
docker run -d --name telegram-downloader -v $(pwd)/config.yml:/usr/src/app/config.yml -e BOT_TOKEN=your_telegram_bot_token telegram-downloader | ||
``` | ||
Replace `your_telegram_bot_token` with your actual bot token. | ||
|
||
## Current roadmap | ||
- [X] Make it crossplatform (Currently Windows only) | ||
- [X] Make it cross-platform (Currently Windows only) | ||
- [X] Add ability to select between video/audio | ||
- [X] Add local storage support | ||
- [ ] Optimise code | ||
- [X] Optimize code | ||
|
||
## Copyright | ||
Copyright (c) 2022-2024 - regularentropy. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters